@@ -51,30 +51,13 @@ public final class HttpIncubatingMetrics {
5151 public static final String HTTP_CLIENT_REQUEST_BODY_SIZE_DESCRIPTION =
5252 "Size of HTTP client request bodies." ;
5353
54- /**
55- * Name of the {@code http.client.request.duration} metric.
56- *
57- * @deprecated deprecated in favor of stable {@link
58- * io.opentelemetry.semconv.HttpMetrics#HTTP_CLIENT_REQUEST_DURATION_NAME} constant.
59- */
60- @ Deprecated
54+ /** Name of the {@code http.client.request.duration} metric. */
6155 public static final String HTTP_CLIENT_REQUEST_DURATION_NAME = "http.client.request.duration" ;
6256
63- /**
64- * Unit of the {@code http.client.request.duration} metric.
65- *
66- * @deprecated deprecated in favor of stable {@link
67- * io.opentelemetry.semconv.HttpMetrics#HTTP_CLIENT_REQUEST_DURATION_UNIT} constant.
68- */
69- @ Deprecated public static final String HTTP_CLIENT_REQUEST_DURATION_UNIT = "s" ;
70-
71- /**
72- * Description of the {@code http.client.request.duration} metric.
73- *
74- * @deprecated deprecated in favor of stable {@link
75- * io.opentelemetry.semconv.HttpMetrics#HTTP_CLIENT_REQUEST_DURATION_DESCRIPTION} constant.
76- */
77- @ Deprecated
57+ /** Unit of the {@code http.client.request.duration} metric. */
58+ public static final String HTTP_CLIENT_REQUEST_DURATION_UNIT = "s" ;
59+
60+ /** Description of the {@code http.client.request.duration} metric. */
7861 public static final String HTTP_CLIENT_REQUEST_DURATION_DESCRIPTION =
7962 "Duration of HTTP client requests." ;
8063
@@ -108,30 +91,13 @@ public final class HttpIncubatingMetrics {
10891 public static final String HTTP_SERVER_REQUEST_BODY_SIZE_DESCRIPTION =
10992 "Size of HTTP server request bodies." ;
11093
111- /**
112- * Name of the {@code http.server.request.duration} metric.
113- *
114- * @deprecated deprecated in favor of stable {@link
115- * io.opentelemetry.semconv.HttpMetrics#HTTP_SERVER_REQUEST_DURATION_NAME} constant.
116- */
117- @ Deprecated
94+ /** Name of the {@code http.server.request.duration} metric. */
11895 public static final String HTTP_SERVER_REQUEST_DURATION_NAME = "http.server.request.duration" ;
11996
120- /**
121- * Unit of the {@code http.server.request.duration} metric.
122- *
123- * @deprecated deprecated in favor of stable {@link
124- * io.opentelemetry.semconv.HttpMetrics#HTTP_SERVER_REQUEST_DURATION_UNIT} constant.
125- */
126- @ Deprecated public static final String HTTP_SERVER_REQUEST_DURATION_UNIT = "s" ;
127-
128- /**
129- * Description of the {@code http.server.request.duration} metric.
130- *
131- * @deprecated deprecated in favor of stable {@link
132- * io.opentelemetry.semconv.HttpMetrics#HTTP_SERVER_REQUEST_DURATION_DESCRIPTION} constant.
133- */
134- @ Deprecated
97+ /** Unit of the {@code http.server.request.duration} metric. */
98+ public static final String HTTP_SERVER_REQUEST_DURATION_UNIT = "s" ;
99+
100+ /** Description of the {@code http.server.request.duration} metric. */
135101 public static final String HTTP_SERVER_REQUEST_DURATION_DESCRIPTION =
136102 "Duration of HTTP server requests." ;
137103
0 commit comments