Deprecate zpages from opentelemetry-sdk-extension-incubator (#5578)

This commit is contained in:
jack-berg 2023-06-29 10:14:00 -05:00 committed by GitHub
parent 6ab37f1a3b
commit 2a73a6f992
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 0 deletions

View File

@ -68,8 +68,13 @@ import javax.annotation.concurrent.ThreadSafe;
* } * }
* } * }
* }</pre> * }</pre>
*
* @deprecated for removal without replacement. See <a
* href="https://github.com/open-telemetry/opentelemetry-java/issues/5571">opentelemetry-java#5571</a>
* for details.
*/ */
@ThreadSafe @ThreadSafe
@Deprecated
public final class ZPageServer { public final class ZPageServer {
// The maximum number of queued incoming connections allowed on the HttpServer listening socket. // The maximum number of queued incoming connections allowed on the HttpServer listening socket.
private static final int HTTPSERVER_BACKLOG = 5; private static final int HTTPSERVER_BACKLOG = 5;

View File

@ -11,6 +11,7 @@ import io.opentelemetry.sdk.trace.SdkTracerProvider;
import io.opentelemetry.sdk.trace.SpanLimits; import io.opentelemetry.sdk.trace.SpanLimits;
import org.junit.jupiter.api.Test; import org.junit.jupiter.api.Test;
@SuppressWarnings("deprecation") // Testing deprecated code
class ZPageServerTest { class ZPageServerTest {
@Test @Test