Deprecate zpages from opentelemetry-sdk-extension-incubator (#5578)
This commit is contained in:
parent
6ab37f1a3b
commit
2a73a6f992
|
|
@ -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;
|
||||||
|
|
|
||||||
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue