-
Notifications
You must be signed in to change notification settings - Fork 35
Expand file tree
/
Copy pathHttpIncubatingMetrics.java
More file actions
148 lines (116 loc) · 6.36 KB
/
Copy pathHttpIncubatingMetrics.java
File metadata and controls
148 lines (116 loc) · 6.36 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
/*
* Copyright The OpenTelemetry Authors
* SPDX-License-Identifier: Apache-2.0
*/
package io.opentelemetry.semconv.incubating;
// DO NOT EDIT, this is an Auto-generated file from
// buildscripts/templates/registry/incubating_java/IncubatingSemanticMetrics.java.j2
@SuppressWarnings("unused")
public final class HttpIncubatingMetrics {
/** Name of the {@code http.client.active_requests} metric. */
public static final String HTTP_CLIENT_ACTIVE_REQUESTS_NAME = "http.client.active_requests";
/** Unit of the {@code http.client.active_requests} metric. */
public static final String HTTP_CLIENT_ACTIVE_REQUESTS_UNIT = "{request}";
/** Description of the {@code http.client.active_requests} metric. */
public static final String HTTP_CLIENT_ACTIVE_REQUESTS_DESCRIPTION =
"Number of active HTTP requests.";
/** Name of the {@code http.client.connection.duration} metric. */
public static final String HTTP_CLIENT_CONNECTION_DURATION_NAME =
"http.client.connection.duration";
/** Unit of the {@code http.client.connection.duration} metric. */
public static final String HTTP_CLIENT_CONNECTION_DURATION_UNIT = "s";
/** Description of the {@code http.client.connection.duration} metric. */
public static final String HTTP_CLIENT_CONNECTION_DURATION_DESCRIPTION =
"The duration of the successfully established outbound HTTP connections.";
/** Name of the {@code http.client.open_connections} metric. */
public static final String HTTP_CLIENT_OPEN_CONNECTIONS_NAME = "http.client.open_connections";
/** Unit of the {@code http.client.open_connections} metric. */
public static final String HTTP_CLIENT_OPEN_CONNECTIONS_UNIT = "{connection}";
/** Description of the {@code http.client.open_connections} metric. */
public static final String HTTP_CLIENT_OPEN_CONNECTIONS_DESCRIPTION =
"Number of outbound HTTP connections that are currently active or idle on the client.";
/** Name of the {@code http.client.request.body.size} metric. */
public static final String HTTP_CLIENT_REQUEST_BODY_SIZE_NAME = "http.client.request.body.size";
/** Unit of the {@code http.client.request.body.size} metric. */
public static final String HTTP_CLIENT_REQUEST_BODY_SIZE_UNIT = "By";
/** Description of the {@code http.client.request.body.size} metric. */
public static final String HTTP_CLIENT_REQUEST_BODY_SIZE_DESCRIPTION =
"Size of HTTP client request bodies.";
/**
* Name of the {@code http.client.request.duration} metric.
*
* @deprecated deprecated in favor of stable {@link
* io.opentelemetry.semconv.HttpMetrics#HTTP_CLIENT_REQUEST_DURATION_NAME} constant.
*/
@Deprecated
public static final String HTTP_CLIENT_REQUEST_DURATION_NAME = "http.client.request.duration";
/**
* Unit of the {@code http.client.request.duration} metric.
*
* @deprecated deprecated in favor of stable {@link
* io.opentelemetry.semconv.HttpMetrics#HTTP_CLIENT_REQUEST_DURATION_UNIT} constant.
*/
@Deprecated public static final String HTTP_CLIENT_REQUEST_DURATION_UNIT = "s";
/**
* Description of the {@code http.client.request.duration} metric.
*
* @deprecated deprecated in favor of stable {@link
* io.opentelemetry.semconv.HttpMetrics#HTTP_CLIENT_REQUEST_DURATION_DESCRIPTION} constant.
*/
@Deprecated
public static final String HTTP_CLIENT_REQUEST_DURATION_DESCRIPTION =
"Duration of HTTP client requests.";
/** Name of the {@code http.client.response.body.size} metric. */
public static final String HTTP_CLIENT_RESPONSE_BODY_SIZE_NAME = "http.client.response.body.size";
/** Unit of the {@code http.client.response.body.size} metric. */
public static final String HTTP_CLIENT_RESPONSE_BODY_SIZE_UNIT = "By";
/** Description of the {@code http.client.response.body.size} metric. */
public static final String HTTP_CLIENT_RESPONSE_BODY_SIZE_DESCRIPTION =
"Size of HTTP client response bodies.";
/** Name of the {@code http.server.active_requests} metric. */
public static final String HTTP_SERVER_ACTIVE_REQUESTS_NAME = "http.server.active_requests";
/** Unit of the {@code http.server.active_requests} metric. */
public static final String HTTP_SERVER_ACTIVE_REQUESTS_UNIT = "{request}";
/** Description of the {@code http.server.active_requests} metric. */
public static final String HTTP_SERVER_ACTIVE_REQUESTS_DESCRIPTION =
"Number of active HTTP server requests.";
/** Name of the {@code http.server.request.body.size} metric. */
public static final String HTTP_SERVER_REQUEST_BODY_SIZE_NAME = "http.server.request.body.size";
/** Unit of the {@code http.server.request.body.size} metric. */
public static final String HTTP_SERVER_REQUEST_BODY_SIZE_UNIT = "By";
/** Description of the {@code http.server.request.body.size} metric. */
public static final String HTTP_SERVER_REQUEST_BODY_SIZE_DESCRIPTION =
"Size of HTTP server request bodies.";
/**
* Name of the {@code http.server.request.duration} metric.
*
* @deprecated deprecated in favor of stable {@link
* io.opentelemetry.semconv.HttpMetrics#HTTP_SERVER_REQUEST_DURATION_NAME} constant.
*/
@Deprecated
public static final String HTTP_SERVER_REQUEST_DURATION_NAME = "http.server.request.duration";
/**
* Unit of the {@code http.server.request.duration} metric.
*
* @deprecated deprecated in favor of stable {@link
* io.opentelemetry.semconv.HttpMetrics#HTTP_SERVER_REQUEST_DURATION_UNIT} constant.
*/
@Deprecated public static final String HTTP_SERVER_REQUEST_DURATION_UNIT = "s";
/**
* Description of the {@code http.server.request.duration} metric.
*
* @deprecated deprecated in favor of stable {@link
* io.opentelemetry.semconv.HttpMetrics#HTTP_SERVER_REQUEST_DURATION_DESCRIPTION} constant.
*/
@Deprecated
public static final String HTTP_SERVER_REQUEST_DURATION_DESCRIPTION =
"Duration of HTTP server requests.";
/** Name of the {@code http.server.response.body.size} metric. */
public static final String HTTP_SERVER_RESPONSE_BODY_SIZE_NAME = "http.server.response.body.size";
/** Unit of the {@code http.server.response.body.size} metric. */
public static final String HTTP_SERVER_RESPONSE_BODY_SIZE_UNIT = "By";
/** Description of the {@code http.server.response.body.size} metric. */
public static final String HTTP_SERVER_RESPONSE_BODY_SIZE_DESCRIPTION =
"Size of HTTP server response bodies.";
private HttpIncubatingMetrics() {}
}