| 1 |
// Copyright The OpenTelemetry Authors |
| 2 |
// SPDX-License-Identifier: Apache-2.0 |
| 3 |
|
| 4 |
// Code generated from semantic convention specification. DO NOT EDIT. |
| 5 |
|
| 6 |
package semconv // import "go.opentelemetry.io/otel/semconv/v1.25.0" |
| 7 |
|
| 8 |
const ( |
| 9 |
|
| 10 |
// ContainerCPUTime is the metric conforming to the "container.cpu.time" |
| 11 |
// semantic conventions. It represents the total CPU time consumed. |
| 12 |
// Instrument: counter |
| 13 |
// Unit: s |
| 14 |
// Stability: Experimental |
| 15 |
ContainerCPUTimeName = "container.cpu.time" |
| 16 |
ContainerCPUTimeUnit = "s" |
| 17 |
ContainerCPUTimeDescription = "Total CPU time consumed" |
| 18 |
|
| 19 |
// ContainerMemoryUsage is the metric conforming to the |
| 20 |
// "container.memory.usage" semantic conventions. It represents the memory |
| 21 |
// usage of the container. |
| 22 |
// Instrument: counter |
| 23 |
// Unit: By |
| 24 |
// Stability: Experimental |
| 25 |
ContainerMemoryUsageName = "container.memory.usage" |
| 26 |
ContainerMemoryUsageUnit = "By" |
| 27 |
ContainerMemoryUsageDescription = "Memory usage of the container." |
| 28 |
|
| 29 |
// ContainerDiskIo is the metric conforming to the "container.disk.io" semantic |
| 30 |
// conventions. It represents the disk bytes for the container. |
| 31 |
// Instrument: counter |
| 32 |
// Unit: By |
| 33 |
// Stability: Experimental |
| 34 |
ContainerDiskIoName = "container.disk.io" |
| 35 |
ContainerDiskIoUnit = "By" |
| 36 |
ContainerDiskIoDescription = "Disk bytes for the container." |
| 37 |
|
| 38 |
// ContainerNetworkIo is the metric conforming to the "container.network.io" |
| 39 |
// semantic conventions. It represents the network bytes for the container. |
| 40 |
// Instrument: counter |
| 41 |
// Unit: By |
| 42 |
// Stability: Experimental |
| 43 |
ContainerNetworkIoName = "container.network.io" |
| 44 |
ContainerNetworkIoUnit = "By" |
| 45 |
ContainerNetworkIoDescription = "Network bytes for the container." |
| 46 |
|
| 47 |
// DBClientConnectionsUsage is the metric conforming to the |
| 48 |
// "db.client.connections.usage" semantic conventions. It represents the number |
| 49 |
// of connections that are currently in state described by the `state` |
| 50 |
// attribute. |
| 51 |
// Instrument: updowncounter |
| 52 |
// Unit: {connection} |
| 53 |
// Stability: Experimental |
| 54 |
DBClientConnectionsUsageName = "db.client.connections.usage" |
| 55 |
DBClientConnectionsUsageUnit = "{connection}" |
| 56 |
DBClientConnectionsUsageDescription = "The number of connections that are currently in state described by the `state` attribute" |
| 57 |
|
| 58 |
// DBClientConnectionsIdleMax is the metric conforming to the |
| 59 |
// "db.client.connections.idle.max" semantic conventions. It represents the |
| 60 |
// maximum number of idle open connections allowed. |
| 61 |
// Instrument: updowncounter |
| 62 |
// Unit: {connection} |
| 63 |
// Stability: Experimental |
| 64 |
DBClientConnectionsIdleMaxName = "db.client.connections.idle.max" |
| 65 |
DBClientConnectionsIdleMaxUnit = "{connection}" |
| 66 |
DBClientConnectionsIdleMaxDescription = "The maximum number of idle open connections allowed" |
| 67 |
|
| 68 |
// DBClientConnectionsIdleMin is the metric conforming to the |
| 69 |
// "db.client.connections.idle.min" semantic conventions. It represents the |
| 70 |
// minimum number of idle open connections allowed. |
| 71 |
// Instrument: updowncounter |
| 72 |
// Unit: {connection} |
| 73 |
// Stability: Experimental |
| 74 |
DBClientConnectionsIdleMinName = "db.client.connections.idle.min" |
| 75 |
DBClientConnectionsIdleMinUnit = "{connection}" |
| 76 |
DBClientConnectionsIdleMinDescription = "The minimum number of idle open connections allowed" |
| 77 |
|
| 78 |
// DBClientConnectionsMax is the metric conforming to the |
| 79 |
// "db.client.connections.max" semantic conventions. It represents the maximum |
| 80 |
// number of open connections allowed. |
| 81 |
// Instrument: updowncounter |
| 82 |
// Unit: {connection} |
| 83 |
// Stability: Experimental |
| 84 |
DBClientConnectionsMaxName = "db.client.connections.max" |
| 85 |
DBClientConnectionsMaxUnit = "{connection}" |
| 86 |
DBClientConnectionsMaxDescription = "The maximum number of open connections allowed" |
| 87 |
|
| 88 |
// DBClientConnectionsPendingRequests is the metric conforming to the |
| 89 |
// "db.client.connections.pending_requests" semantic conventions. It represents |
| 90 |
// the number of pending requests for an open connection, cumulative for the |
| 91 |
// entire pool. |
| 92 |
// Instrument: updowncounter |
| 93 |
// Unit: {request} |
| 94 |
// Stability: Experimental |
| 95 |
DBClientConnectionsPendingRequestsName = "db.client.connections.pending_requests" |
| 96 |
DBClientConnectionsPendingRequestsUnit = "{request}" |
| 97 |
DBClientConnectionsPendingRequestsDescription = "The number of pending requests for an open connection, cumulative for the entire pool" |
| 98 |
|
| 99 |
// DBClientConnectionsTimeouts is the metric conforming to the |
| 100 |
// "db.client.connections.timeouts" semantic conventions. It represents the |
| 101 |
// number of connection timeouts that have occurred trying to obtain a |
| 102 |
// connection from the pool. |
| 103 |
// Instrument: counter |
| 104 |
// Unit: {timeout} |
| 105 |
// Stability: Experimental |
| 106 |
DBClientConnectionsTimeoutsName = "db.client.connections.timeouts" |
| 107 |
DBClientConnectionsTimeoutsUnit = "{timeout}" |
| 108 |
DBClientConnectionsTimeoutsDescription = "The number of connection timeouts that have occurred trying to obtain a connection from the pool" |
| 109 |
|
| 110 |
// DBClientConnectionsCreateTime is the metric conforming to the |
| 111 |
// "db.client.connections.create_time" semantic conventions. It represents the |
| 112 |
// time it took to create a new connection. |
| 113 |
// Instrument: histogram |
| 114 |
// Unit: ms |
| 115 |
// Stability: Experimental |
| 116 |
DBClientConnectionsCreateTimeName = "db.client.connections.create_time" |
| 117 |
DBClientConnectionsCreateTimeUnit = "ms" |
| 118 |
DBClientConnectionsCreateTimeDescription = "The time it took to create a new connection" |
| 119 |
|
| 120 |
// DBClientConnectionsWaitTime is the metric conforming to the |
| 121 |
// "db.client.connections.wait_time" semantic conventions. It represents the |
| 122 |
// time it took to obtain an open connection from the pool. |
| 123 |
// Instrument: histogram |
| 124 |
// Unit: ms |
| 125 |
// Stability: Experimental |
| 126 |
DBClientConnectionsWaitTimeName = "db.client.connections.wait_time" |
| 127 |
DBClientConnectionsWaitTimeUnit = "ms" |
| 128 |
DBClientConnectionsWaitTimeDescription = "The time it took to obtain an open connection from the pool" |
| 129 |
|
| 130 |
// DBClientConnectionsUseTime is the metric conforming to the |
| 131 |
// "db.client.connections.use_time" semantic conventions. It represents the |
| 132 |
// time between borrowing a connection and returning it to the pool. |
| 133 |
// Instrument: histogram |
| 134 |
// Unit: ms |
| 135 |
// Stability: Experimental |
| 136 |
DBClientConnectionsUseTimeName = "db.client.connections.use_time" |
| 137 |
DBClientConnectionsUseTimeUnit = "ms" |
| 138 |
DBClientConnectionsUseTimeDescription = "The time between borrowing a connection and returning it to the pool" |
| 139 |
|
| 140 |
// DNSLookupDuration is the metric conforming to the "dns.lookup.duration" |
| 141 |
// semantic conventions. It represents the measures the time taken to perform a |
| 142 |
// DNS lookup. |
| 143 |
// Instrument: histogram |
| 144 |
// Unit: s |
| 145 |
// Stability: Experimental |
| 146 |
DNSLookupDurationName = "dns.lookup.duration" |
| 147 |
DNSLookupDurationUnit = "s" |
| 148 |
DNSLookupDurationDescription = "Measures the time taken to perform a DNS lookup." |
| 149 |
|
| 150 |
// AspnetcoreRoutingMatchAttempts is the metric conforming to the |
| 151 |
// "aspnetcore.routing.match_attempts" semantic conventions. It represents the |
| 152 |
// number of requests that were attempted to be matched to an endpoint. |
| 153 |
// Instrument: counter |
| 154 |
// Unit: {match_attempt} |
| 155 |
// Stability: Stable |
| 156 |
AspnetcoreRoutingMatchAttemptsName = "aspnetcore.routing.match_attempts" |
| 157 |
AspnetcoreRoutingMatchAttemptsUnit = "{match_attempt}" |
| 158 |
AspnetcoreRoutingMatchAttemptsDescription = "Number of requests that were attempted to be matched to an endpoint." |
| 159 |
|
| 160 |
// AspnetcoreDiagnosticsExceptions is the metric conforming to the |
| 161 |
// "aspnetcore.diagnostics.exceptions" semantic conventions. It represents the |
| 162 |
// number of exceptions caught by exception handling middleware. |
| 163 |
// Instrument: counter |
| 164 |
// Unit: {exception} |
| 165 |
// Stability: Stable |
| 166 |
AspnetcoreDiagnosticsExceptionsName = "aspnetcore.diagnostics.exceptions" |
| 167 |
AspnetcoreDiagnosticsExceptionsUnit = "{exception}" |
| 168 |
AspnetcoreDiagnosticsExceptionsDescription = "Number of exceptions caught by exception handling middleware." |
| 169 |
|
| 170 |
// AspnetcoreRateLimitingActiveRequestLeases is the metric conforming to the |
| 171 |
// "aspnetcore.rate_limiting.active_request_leases" semantic conventions. It |
| 172 |
// represents the number of requests that are currently active on the server |
| 173 |
// that hold a rate limiting lease. |
| 174 |
// Instrument: updowncounter |
| 175 |
// Unit: {request} |
| 176 |
// Stability: Stable |
| 177 |
AspnetcoreRateLimitingActiveRequestLeasesName = "aspnetcore.rate_limiting.active_request_leases" |
| 178 |
AspnetcoreRateLimitingActiveRequestLeasesUnit = "{request}" |
| 179 |
AspnetcoreRateLimitingActiveRequestLeasesDescription = "Number of requests that are currently active on the server that hold a rate limiting lease." |
| 180 |
|
| 181 |
// AspnetcoreRateLimitingRequestLeaseDuration is the metric conforming to the |
| 182 |
// "aspnetcore.rate_limiting.request_lease.duration" semantic conventions. It |
| 183 |
// represents the duration of rate limiting lease held by requests on the |
| 184 |
// server. |
| 185 |
// Instrument: histogram |
| 186 |
// Unit: s |
| 187 |
// Stability: Stable |
| 188 |
AspnetcoreRateLimitingRequestLeaseDurationName = "aspnetcore.rate_limiting.request_lease.duration" |
| 189 |
AspnetcoreRateLimitingRequestLeaseDurationUnit = "s" |
| 190 |
AspnetcoreRateLimitingRequestLeaseDurationDescription = "The duration of rate limiting lease held by requests on the server." |
| 191 |
|
| 192 |
// AspnetcoreRateLimitingRequestTimeInQueue is the metric conforming to the |
| 193 |
// "aspnetcore.rate_limiting.request.time_in_queue" semantic conventions. It |
| 194 |
// represents the time the request spent in a queue waiting to acquire a rate |
| 195 |
// limiting lease. |
| 196 |
// Instrument: histogram |
| 197 |
// Unit: s |
| 198 |
// Stability: Stable |
| 199 |
AspnetcoreRateLimitingRequestTimeInQueueName = "aspnetcore.rate_limiting.request.time_in_queue" |
| 200 |
AspnetcoreRateLimitingRequestTimeInQueueUnit = "s" |
| 201 |
AspnetcoreRateLimitingRequestTimeInQueueDescription = "The time the request spent in a queue waiting to acquire a rate limiting lease." |
| 202 |
|
| 203 |
// AspnetcoreRateLimitingQueuedRequests is the metric conforming to the |
| 204 |
// "aspnetcore.rate_limiting.queued_requests" semantic conventions. It |
| 205 |
// represents the number of requests that are currently queued, waiting to |
| 206 |
// acquire a rate limiting lease. |
| 207 |
// Instrument: updowncounter |
| 208 |
// Unit: {request} |
| 209 |
// Stability: Stable |
| 210 |
AspnetcoreRateLimitingQueuedRequestsName = "aspnetcore.rate_limiting.queued_requests" |
| 211 |
AspnetcoreRateLimitingQueuedRequestsUnit = "{request}" |
| 212 |
AspnetcoreRateLimitingQueuedRequestsDescription = "Number of requests that are currently queued, waiting to acquire a rate limiting lease." |
| 213 |
|
| 214 |
// AspnetcoreRateLimitingRequests is the metric conforming to the |
| 215 |
// "aspnetcore.rate_limiting.requests" semantic conventions. It represents the |
| 216 |
// number of requests that tried to acquire a rate limiting lease. |
| 217 |
// Instrument: counter |
| 218 |
// Unit: {request} |
| 219 |
// Stability: Stable |
| 220 |
AspnetcoreRateLimitingRequestsName = "aspnetcore.rate_limiting.requests" |
| 221 |
AspnetcoreRateLimitingRequestsUnit = "{request}" |
| 222 |
AspnetcoreRateLimitingRequestsDescription = "Number of requests that tried to acquire a rate limiting lease." |
| 223 |
|
| 224 |
// KestrelActiveConnections is the metric conforming to the |
| 225 |
// "kestrel.active_connections" semantic conventions. It represents the number |
| 226 |
// of connections that are currently active on the server. |
| 227 |
// Instrument: updowncounter |
| 228 |
// Unit: {connection} |
| 229 |
// Stability: Stable |
| 230 |
KestrelActiveConnectionsName = "kestrel.active_connections" |
| 231 |
KestrelActiveConnectionsUnit = "{connection}" |
| 232 |
KestrelActiveConnectionsDescription = "Number of connections that are currently active on the server." |
| 233 |
|
| 234 |
// KestrelConnectionDuration is the metric conforming to the |
| 235 |
// "kestrel.connection.duration" semantic conventions. It represents the |
| 236 |
// duration of connections on the server. |
| 237 |
// Instrument: histogram |
| 238 |
// Unit: s |
| 239 |
// Stability: Stable |
| 240 |
KestrelConnectionDurationName = "kestrel.connection.duration" |
| 241 |
KestrelConnectionDurationUnit = "s" |
| 242 |
KestrelConnectionDurationDescription = "The duration of connections on the server." |
| 243 |
|
| 244 |
// KestrelRejectedConnections is the metric conforming to the |
| 245 |
// "kestrel.rejected_connections" semantic conventions. It represents the |
| 246 |
// number of connections rejected by the server. |
| 247 |
// Instrument: counter |
| 248 |
// Unit: {connection} |
| 249 |
// Stability: Stable |
| 250 |
KestrelRejectedConnectionsName = "kestrel.rejected_connections" |
| 251 |
KestrelRejectedConnectionsUnit = "{connection}" |
| 252 |
KestrelRejectedConnectionsDescription = "Number of connections rejected by the server." |
| 253 |
|
| 254 |
// KestrelQueuedConnections is the metric conforming to the |
| 255 |
// "kestrel.queued_connections" semantic conventions. It represents the number |
| 256 |
// of connections that are currently queued and are waiting to start. |
| 257 |
// Instrument: updowncounter |
| 258 |
// Unit: {connection} |
| 259 |
// Stability: Stable |
| 260 |
KestrelQueuedConnectionsName = "kestrel.queued_connections" |
| 261 |
KestrelQueuedConnectionsUnit = "{connection}" |
| 262 |
KestrelQueuedConnectionsDescription = "Number of connections that are currently queued and are waiting to start." |
| 263 |
|
| 264 |
// KestrelQueuedRequests is the metric conforming to the |
| 265 |
// "kestrel.queued_requests" semantic conventions. It represents the number of |
| 266 |
// HTTP requests on multiplexed connections (HTTP/2 and HTTP/3) that are |
| 267 |
// currently queued and are waiting to start. |
| 268 |
// Instrument: updowncounter |
| 269 |
// Unit: {request} |
| 270 |
// Stability: Stable |
| 271 |
KestrelQueuedRequestsName = "kestrel.queued_requests" |
| 272 |
KestrelQueuedRequestsUnit = "{request}" |
| 273 |
KestrelQueuedRequestsDescription = "Number of HTTP requests on multiplexed connections (HTTP/2 and HTTP/3) that are currently queued and are waiting to start." |
| 274 |
|
| 275 |
// KestrelUpgradedConnections is the metric conforming to the |
| 276 |
// "kestrel.upgraded_connections" semantic conventions. It represents the |
| 277 |
// number of connections that are currently upgraded (WebSockets). . |
| 278 |
// Instrument: updowncounter |
| 279 |
// Unit: {connection} |
| 280 |
// Stability: Stable |
| 281 |
KestrelUpgradedConnectionsName = "kestrel.upgraded_connections" |
| 282 |
KestrelUpgradedConnectionsUnit = "{connection}" |
| 283 |
KestrelUpgradedConnectionsDescription = "Number of connections that are currently upgraded (WebSockets). ." |
| 284 |
|
| 285 |
// KestrelTLSHandshakeDuration is the metric conforming to the |
| 286 |
// "kestrel.tls_handshake.duration" semantic conventions. It represents the |
| 287 |
// duration of TLS handshakes on the server. |
| 288 |
// Instrument: histogram |
| 289 |
// Unit: s |
| 290 |
// Stability: Stable |
| 291 |
KestrelTLSHandshakeDurationName = "kestrel.tls_handshake.duration" |
| 292 |
KestrelTLSHandshakeDurationUnit = "s" |
| 293 |
KestrelTLSHandshakeDurationDescription = "The duration of TLS handshakes on the server." |
| 294 |
|
| 295 |
// KestrelActiveTLSHandshakes is the metric conforming to the |
| 296 |
// "kestrel.active_tls_handshakes" semantic conventions. It represents the |
| 297 |
// number of TLS handshakes that are currently in progress on the server. |
| 298 |
// Instrument: updowncounter |
| 299 |
// Unit: {handshake} |
| 300 |
// Stability: Stable |
| 301 |
KestrelActiveTLSHandshakesName = "kestrel.active_tls_handshakes" |
| 302 |
KestrelActiveTLSHandshakesUnit = "{handshake}" |
| 303 |
KestrelActiveTLSHandshakesDescription = "Number of TLS handshakes that are currently in progress on the server." |
| 304 |
|
| 305 |
// SignalrServerConnectionDuration is the metric conforming to the |
| 306 |
// "signalr.server.connection.duration" semantic conventions. It represents the |
| 307 |
// duration of connections on the server. |
| 308 |
// Instrument: histogram |
| 309 |
// Unit: s |
| 310 |
// Stability: Stable |
| 311 |
SignalrServerConnectionDurationName = "signalr.server.connection.duration" |
| 312 |
SignalrServerConnectionDurationUnit = "s" |
| 313 |
SignalrServerConnectionDurationDescription = "The duration of connections on the server." |
| 314 |
|
| 315 |
// SignalrServerActiveConnections is the metric conforming to the |
| 316 |
// "signalr.server.active_connections" semantic conventions. It represents the |
| 317 |
// number of connections that are currently active on the server. |
| 318 |
// Instrument: updowncounter |
| 319 |
// Unit: {connection} |
| 320 |
// Stability: Stable |
| 321 |
SignalrServerActiveConnectionsName = "signalr.server.active_connections" |
| 322 |
SignalrServerActiveConnectionsUnit = "{connection}" |
| 323 |
SignalrServerActiveConnectionsDescription = "Number of connections that are currently active on the server." |
| 324 |
|
| 325 |
// FaaSInvokeDuration is the metric conforming to the "faas.invoke_duration" |
| 326 |
// semantic conventions. It represents the measures the duration of the |
| 327 |
// function's logic execution. |
| 328 |
// Instrument: histogram |
| 329 |
// Unit: s |
| 330 |
// Stability: Experimental |
| 331 |
FaaSInvokeDurationName = "faas.invoke_duration" |
| 332 |
FaaSInvokeDurationUnit = "s" |
| 333 |
FaaSInvokeDurationDescription = "Measures the duration of the function's logic execution" |
| 334 |
|
| 335 |
// FaaSInitDuration is the metric conforming to the "faas.init_duration" |
| 336 |
// semantic conventions. It represents the measures the duration of the |
| 337 |
// function's initialization, such as a cold start. |
| 338 |
// Instrument: histogram |
| 339 |
// Unit: s |
| 340 |
// Stability: Experimental |
| 341 |
FaaSInitDurationName = "faas.init_duration" |
| 342 |
FaaSInitDurationUnit = "s" |
| 343 |
FaaSInitDurationDescription = "Measures the duration of the function's initialization, such as a cold start" |
| 344 |
|
| 345 |
// FaaSColdstarts is the metric conforming to the "faas.coldstarts" semantic |
| 346 |
// conventions. It represents the number of invocation cold starts. |
| 347 |
// Instrument: counter |
| 348 |
// Unit: {coldstart} |
| 349 |
// Stability: Experimental |
| 350 |
FaaSColdstartsName = "faas.coldstarts" |
| 351 |
FaaSColdstartsUnit = "{coldstart}" |
| 352 |
FaaSColdstartsDescription = "Number of invocation cold starts" |
| 353 |
|
| 354 |
// FaaSErrors is the metric conforming to the "faas.errors" semantic |
| 355 |
// conventions. It represents the number of invocation errors. |
| 356 |
// Instrument: counter |
| 357 |
// Unit: {error} |
| 358 |
// Stability: Experimental |
| 359 |
FaaSErrorsName = "faas.errors" |
| 360 |
FaaSErrorsUnit = "{error}" |
| 361 |
FaaSErrorsDescription = "Number of invocation errors" |
| 362 |
|
| 363 |
// FaaSInvocations is the metric conforming to the "faas.invocations" semantic |
| 364 |
// conventions. It represents the number of successful invocations. |
| 365 |
// Instrument: counter |
| 366 |
// Unit: {invocation} |
| 367 |
// Stability: Experimental |
| 368 |
FaaSInvocationsName = "faas.invocations" |
| 369 |
FaaSInvocationsUnit = "{invocation}" |
| 370 |
FaaSInvocationsDescription = "Number of successful invocations" |
| 371 |
|
| 372 |
// FaaSTimeouts is the metric conforming to the "faas.timeouts" semantic |
| 373 |
// conventions. It represents the number of invocation timeouts. |
| 374 |
// Instrument: counter |
| 375 |
// Unit: {timeout} |
| 376 |
// Stability: Experimental |
| 377 |
FaaSTimeoutsName = "faas.timeouts" |
| 378 |
FaaSTimeoutsUnit = "{timeout}" |
| 379 |
FaaSTimeoutsDescription = "Number of invocation timeouts" |
| 380 |
|
| 381 |
// FaaSMemUsage is the metric conforming to the "faas.mem_usage" semantic |
| 382 |
// conventions. It represents the distribution of max memory usage per |
| 383 |
// invocation. |
| 384 |
// Instrument: histogram |
| 385 |
// Unit: By |
| 386 |
// Stability: Experimental |
| 387 |
FaaSMemUsageName = "faas.mem_usage" |
| 388 |
FaaSMemUsageUnit = "By" |
| 389 |
FaaSMemUsageDescription = "Distribution of max memory usage per invocation" |
| 390 |
|
| 391 |
// FaaSCPUUsage is the metric conforming to the "faas.cpu_usage" semantic |
| 392 |
// conventions. It represents the distribution of CPU usage per invocation. |
| 393 |
// Instrument: histogram |
| 394 |
// Unit: s |
| 395 |
// Stability: Experimental |
| 396 |
FaaSCPUUsageName = "faas.cpu_usage" |
| 397 |
FaaSCPUUsageUnit = "s" |
| 398 |
FaaSCPUUsageDescription = "Distribution of CPU usage per invocation" |
| 399 |
|
| 400 |
// FaaSNetIo is the metric conforming to the "faas.net_io" semantic |
| 401 |
// conventions. It represents the distribution of net I/O usage per invocation. |
| 402 |
// Instrument: histogram |
| 403 |
// Unit: By |
| 404 |
// Stability: Experimental |
| 405 |
FaaSNetIoName = "faas.net_io" |
| 406 |
FaaSNetIoUnit = "By" |
| 407 |
FaaSNetIoDescription = "Distribution of net I/O usage per invocation" |
| 408 |
|
| 409 |
// HTTPServerRequestDuration is the metric conforming to the |
| 410 |
// "http.server.request.duration" semantic conventions. It represents the |
| 411 |
// duration of HTTP server requests. |
| 412 |
// Instrument: histogram |
| 413 |
// Unit: s |
| 414 |
// Stability: Stable |
| 415 |
HTTPServerRequestDurationName = "http.server.request.duration" |
| 416 |
HTTPServerRequestDurationUnit = "s" |
| 417 |
HTTPServerRequestDurationDescription = "Duration of HTTP server requests." |
| 418 |
|
| 419 |
// HTTPServerActiveRequests is the metric conforming to the |
| 420 |
// "http.server.active_requests" semantic conventions. It represents the number |
| 421 |
// of active HTTP server requests. |
| 422 |
// Instrument: updowncounter |
| 423 |
// Unit: {request} |
| 424 |
// Stability: Experimental |
| 425 |
HTTPServerActiveRequestsName = "http.server.active_requests" |
| 426 |
HTTPServerActiveRequestsUnit = "{request}" |
| 427 |
HTTPServerActiveRequestsDescription = "Number of active HTTP server requests." |
| 428 |
|
| 429 |
// HTTPServerRequestBodySize is the metric conforming to the |
| 430 |
// "http.server.request.body.size" semantic conventions. It represents the size |
| 431 |
// of HTTP server request bodies. |
| 432 |
// Instrument: histogram |
| 433 |
// Unit: By |
| 434 |
// Stability: Experimental |
| 435 |
HTTPServerRequestBodySizeName = "http.server.request.body.size" |
| 436 |
HTTPServerRequestBodySizeUnit = "By" |
| 437 |
HTTPServerRequestBodySizeDescription = "Size of HTTP server request bodies." |
| 438 |
|
| 439 |
// HTTPServerResponseBodySize is the metric conforming to the |
| 440 |
// "http.server.response.body.size" semantic conventions. It represents the |
| 441 |
// size of HTTP server response bodies. |
| 442 |
// Instrument: histogram |
| 443 |
// Unit: By |
| 444 |
// Stability: Experimental |
| 445 |
HTTPServerResponseBodySizeName = "http.server.response.body.size" |
| 446 |
HTTPServerResponseBodySizeUnit = "By" |
| 447 |
HTTPServerResponseBodySizeDescription = "Size of HTTP server response bodies." |
| 448 |
|
| 449 |
// HTTPClientRequestDuration is the metric conforming to the |
| 450 |
// "http.client.request.duration" semantic conventions. It represents the |
| 451 |
// duration of HTTP client requests. |
| 452 |
// Instrument: histogram |
| 453 |
// Unit: s |
| 454 |
// Stability: Stable |
| 455 |
HTTPClientRequestDurationName = "http.client.request.duration" |
| 456 |
HTTPClientRequestDurationUnit = "s" |
| 457 |
HTTPClientRequestDurationDescription = "Duration of HTTP client requests." |
| 458 |
|
| 459 |
// HTTPClientRequestBodySize is the metric conforming to the |
| 460 |
// "http.client.request.body.size" semantic conventions. It represents the size |
| 461 |
// of HTTP client request bodies. |
| 462 |
// Instrument: histogram |
| 463 |
// Unit: By |
| 464 |
// Stability: Experimental |
| 465 |
HTTPClientRequestBodySizeName = "http.client.request.body.size" |
| 466 |
HTTPClientRequestBodySizeUnit = "By" |
| 467 |
HTTPClientRequestBodySizeDescription = "Size of HTTP client request bodies." |
| 468 |
|
| 469 |
// HTTPClientResponseBodySize is the metric conforming to the |
| 470 |
// "http.client.response.body.size" semantic conventions. It represents the |
| 471 |
// size of HTTP client response bodies. |
| 472 |
// Instrument: histogram |
| 473 |
// Unit: By |
| 474 |
// Stability: Experimental |
| 475 |
HTTPClientResponseBodySizeName = "http.client.response.body.size" |
| 476 |
HTTPClientResponseBodySizeUnit = "By" |
| 477 |
HTTPClientResponseBodySizeDescription = "Size of HTTP client response bodies." |
| 478 |
|
| 479 |
// HTTPClientOpenConnections is the metric conforming to the |
| 480 |
// "http.client.open_connections" semantic conventions. It represents the |
| 481 |
// number of outbound HTTP connections that are currently active or idle on the |
| 482 |
// client. |
| 483 |
// Instrument: updowncounter |
| 484 |
// Unit: {connection} |
| 485 |
// Stability: Experimental |
| 486 |
HTTPClientOpenConnectionsName = "http.client.open_connections" |
| 487 |
HTTPClientOpenConnectionsUnit = "{connection}" |
| 488 |
HTTPClientOpenConnectionsDescription = "Number of outbound HTTP connections that are currently active or idle on the client." |
| 489 |
|
| 490 |
// HTTPClientConnectionDuration is the metric conforming to the |
| 491 |
// "http.client.connection.duration" semantic conventions. It represents the |
| 492 |
// duration of the successfully established outbound HTTP connections. |
| 493 |
// Instrument: histogram |
| 494 |
// Unit: s |
| 495 |
// Stability: Experimental |
| 496 |
HTTPClientConnectionDurationName = "http.client.connection.duration" |
| 497 |
HTTPClientConnectionDurationUnit = "s" |
| 498 |
HTTPClientConnectionDurationDescription = "The duration of the successfully established outbound HTTP connections." |
| 499 |
|
| 500 |
// HTTPClientActiveRequests is the metric conforming to the |
| 501 |
// "http.client.active_requests" semantic conventions. It represents the number |
| 502 |
// of active HTTP requests. |
| 503 |
// Instrument: updowncounter |
| 504 |
// Unit: {request} |
| 505 |
// Stability: Experimental |
| 506 |
HTTPClientActiveRequestsName = "http.client.active_requests" |
| 507 |
HTTPClientActiveRequestsUnit = "{request}" |
| 508 |
HTTPClientActiveRequestsDescription = "Number of active HTTP requests." |
| 509 |
|
| 510 |
// JvmMemoryInit is the metric conforming to the "jvm.memory.init" semantic |
| 511 |
// conventions. It represents the measure of initial memory requested. |
| 512 |
// Instrument: updowncounter |
| 513 |
// Unit: By |
| 514 |
// Stability: Experimental |
| 515 |
JvmMemoryInitName = "jvm.memory.init" |
| 516 |
JvmMemoryInitUnit = "By" |
| 517 |
JvmMemoryInitDescription = "Measure of initial memory requested." |
| 518 |
|
| 519 |
// JvmSystemCPUUtilization is the metric conforming to the |
| 520 |
// "jvm.system.cpu.utilization" semantic conventions. It represents the recent |
| 521 |
// CPU utilization for the whole system as reported by the JVM. |
| 522 |
// Instrument: gauge |
| 523 |
// Unit: 1 |
| 524 |
// Stability: Experimental |
| 525 |
JvmSystemCPUUtilizationName = "jvm.system.cpu.utilization" |
| 526 |
JvmSystemCPUUtilizationUnit = "1" |
| 527 |
JvmSystemCPUUtilizationDescription = "Recent CPU utilization for the whole system as reported by the JVM." |
| 528 |
|
| 529 |
// JvmSystemCPULoad1m is the metric conforming to the "jvm.system.cpu.load_1m" |
| 530 |
// semantic conventions. It represents the average CPU load of the whole system |
| 531 |
// for the last minute as reported by the JVM. |
| 532 |
// Instrument: gauge |
| 533 |
// Unit: {run_queue_item} |
| 534 |
// Stability: Experimental |
| 535 |
JvmSystemCPULoad1mName = "jvm.system.cpu.load_1m" |
| 536 |
JvmSystemCPULoad1mUnit = "{run_queue_item}" |
| 537 |
JvmSystemCPULoad1mDescription = "Average CPU load of the whole system for the last minute as reported by the JVM." |
| 538 |
|
| 539 |
// JvmBufferMemoryUsage is the metric conforming to the |
| 540 |
// "jvm.buffer.memory.usage" semantic conventions. It represents the measure of |
| 541 |
// memory used by buffers. |
| 542 |
// Instrument: updowncounter |
| 543 |
// Unit: By |
| 544 |
// Stability: Experimental |
| 545 |
JvmBufferMemoryUsageName = "jvm.buffer.memory.usage" |
| 546 |
JvmBufferMemoryUsageUnit = "By" |
| 547 |
JvmBufferMemoryUsageDescription = "Measure of memory used by buffers." |
| 548 |
|
| 549 |
// JvmBufferMemoryLimit is the metric conforming to the |
| 550 |
// "jvm.buffer.memory.limit" semantic conventions. It represents the measure of |
| 551 |
// total memory capacity of buffers. |
| 552 |
// Instrument: updowncounter |
| 553 |
// Unit: By |
| 554 |
// Stability: Experimental |
| 555 |
JvmBufferMemoryLimitName = "jvm.buffer.memory.limit" |
| 556 |
JvmBufferMemoryLimitUnit = "By" |
| 557 |
JvmBufferMemoryLimitDescription = "Measure of total memory capacity of buffers." |
| 558 |
|
| 559 |
// JvmBufferCount is the metric conforming to the "jvm.buffer.count" semantic |
| 560 |
// conventions. It represents the number of buffers in the pool. |
| 561 |
// Instrument: updowncounter |
| 562 |
// Unit: {buffer} |
| 563 |
// Stability: Experimental |
| 564 |
JvmBufferCountName = "jvm.buffer.count" |
| 565 |
JvmBufferCountUnit = "{buffer}" |
| 566 |
JvmBufferCountDescription = "Number of buffers in the pool." |
| 567 |
|
| 568 |
// JvmMemoryUsed is the metric conforming to the "jvm.memory.used" semantic |
| 569 |
// conventions. It represents the measure of memory used. |
| 570 |
// Instrument: updowncounter |
| 571 |
// Unit: By |
| 572 |
// Stability: Stable |
| 573 |
JvmMemoryUsedName = "jvm.memory.used" |
| 574 |
JvmMemoryUsedUnit = "By" |
| 575 |
JvmMemoryUsedDescription = "Measure of memory used." |
| 576 |
|
| 577 |
// JvmMemoryCommitted is the metric conforming to the "jvm.memory.committed" |
| 578 |
// semantic conventions. It represents the measure of memory committed. |
| 579 |
// Instrument: updowncounter |
| 580 |
// Unit: By |
| 581 |
// Stability: Stable |
| 582 |
JvmMemoryCommittedName = "jvm.memory.committed" |
| 583 |
JvmMemoryCommittedUnit = "By" |
| 584 |
JvmMemoryCommittedDescription = "Measure of memory committed." |
| 585 |
|
| 586 |
// JvmMemoryLimit is the metric conforming to the "jvm.memory.limit" semantic |
| 587 |
// conventions. It represents the measure of max obtainable memory. |
| 588 |
// Instrument: updowncounter |
| 589 |
// Unit: By |
| 590 |
// Stability: Stable |
| 591 |
JvmMemoryLimitName = "jvm.memory.limit" |
| 592 |
JvmMemoryLimitUnit = "By" |
| 593 |
JvmMemoryLimitDescription = "Measure of max obtainable memory." |
| 594 |
|
| 595 |
// JvmMemoryUsedAfterLastGc is the metric conforming to the |
| 596 |
// "jvm.memory.used_after_last_gc" semantic conventions. It represents the |
| 597 |
// measure of memory used, as measured after the most recent garbage collection |
| 598 |
// event on this pool. |
| 599 |
// Instrument: updowncounter |
| 600 |
// Unit: By |
| 601 |
// Stability: Stable |
| 602 |
JvmMemoryUsedAfterLastGcName = "jvm.memory.used_after_last_gc" |
| 603 |
JvmMemoryUsedAfterLastGcUnit = "By" |
| 604 |
JvmMemoryUsedAfterLastGcDescription = "Measure of memory used, as measured after the most recent garbage collection event on this pool." |
| 605 |
|
| 606 |
// JvmGcDuration is the metric conforming to the "jvm.gc.duration" semantic |
| 607 |
// conventions. It represents the duration of JVM garbage collection actions. |
| 608 |
// Instrument: histogram |
| 609 |
// Unit: s |
| 610 |
// Stability: Stable |
| 611 |
JvmGcDurationName = "jvm.gc.duration" |
| 612 |
JvmGcDurationUnit = "s" |
| 613 |
JvmGcDurationDescription = "Duration of JVM garbage collection actions." |
| 614 |
|
| 615 |
// JvmThreadCount is the metric conforming to the "jvm.thread.count" semantic |
| 616 |
// conventions. It represents the number of executing platform threads. |
| 617 |
// Instrument: updowncounter |
| 618 |
// Unit: {thread} |
| 619 |
// Stability: Stable |
| 620 |
JvmThreadCountName = "jvm.thread.count" |
| 621 |
JvmThreadCountUnit = "{thread}" |
| 622 |
JvmThreadCountDescription = "Number of executing platform threads." |
| 623 |
|
| 624 |
// JvmClassLoaded is the metric conforming to the "jvm.class.loaded" semantic |
| 625 |
// conventions. It represents the number of classes loaded since JVM start. |
| 626 |
// Instrument: counter |
| 627 |
// Unit: {class} |
| 628 |
// Stability: Stable |
| 629 |
JvmClassLoadedName = "jvm.class.loaded" |
| 630 |
JvmClassLoadedUnit = "{class}" |
| 631 |
JvmClassLoadedDescription = "Number of classes loaded since JVM start." |
| 632 |
|
| 633 |
// JvmClassUnloaded is the metric conforming to the "jvm.class.unloaded" |
| 634 |
// semantic conventions. It represents the number of classes unloaded since JVM |
| 635 |
// start. |
| 636 |
// Instrument: counter |
| 637 |
// Unit: {class} |
| 638 |
// Stability: Stable |
| 639 |
JvmClassUnloadedName = "jvm.class.unloaded" |
| 640 |
JvmClassUnloadedUnit = "{class}" |
| 641 |
JvmClassUnloadedDescription = "Number of classes unloaded since JVM start." |
| 642 |
|
| 643 |
// JvmClassCount is the metric conforming to the "jvm.class.count" semantic |
| 644 |
// conventions. It represents the number of classes currently loaded. |
| 645 |
// Instrument: updowncounter |
| 646 |
// Unit: {class} |
| 647 |
// Stability: Stable |
| 648 |
JvmClassCountName = "jvm.class.count" |
| 649 |
JvmClassCountUnit = "{class}" |
| 650 |
JvmClassCountDescription = "Number of classes currently loaded." |
| 651 |
|
| 652 |
// JvmCPUCount is the metric conforming to the "jvm.cpu.count" semantic |
| 653 |
// conventions. It represents the number of processors available to the Java |
| 654 |
// virtual machine. |
| 655 |
// Instrument: updowncounter |
| 656 |
// Unit: {cpu} |
| 657 |
// Stability: Stable |
| 658 |
JvmCPUCountName = "jvm.cpu.count" |
| 659 |
JvmCPUCountUnit = "{cpu}" |
| 660 |
JvmCPUCountDescription = "Number of processors available to the Java virtual machine." |
| 661 |
|
| 662 |
// JvmCPUTime is the metric conforming to the "jvm.cpu.time" semantic |
| 663 |
// conventions. It represents the cPU time used by the process as reported by |
| 664 |
// the JVM. |
| 665 |
// Instrument: counter |
| 666 |
// Unit: s |
| 667 |
// Stability: Stable |
| 668 |
JvmCPUTimeName = "jvm.cpu.time" |
| 669 |
JvmCPUTimeUnit = "s" |
| 670 |
JvmCPUTimeDescription = "CPU time used by the process as reported by the JVM." |
| 671 |
|
| 672 |
// JvmCPURecentUtilization is the metric conforming to the |
| 673 |
// "jvm.cpu.recent_utilization" semantic conventions. It represents the recent |
| 674 |
// CPU utilization for the process as reported by the JVM. |
| 675 |
// Instrument: gauge |
| 676 |
// Unit: 1 |
| 677 |
// Stability: Stable |
| 678 |
JvmCPURecentUtilizationName = "jvm.cpu.recent_utilization" |
| 679 |
JvmCPURecentUtilizationUnit = "1" |
| 680 |
JvmCPURecentUtilizationDescription = "Recent CPU utilization for the process as reported by the JVM." |
| 681 |
|
| 682 |
// MessagingPublishDuration is the metric conforming to the |
| 683 |
// "messaging.publish.duration" semantic conventions. It represents the |
| 684 |
// measures the duration of publish operation. |
| 685 |
// Instrument: histogram |
| 686 |
// Unit: s |
| 687 |
// Stability: Experimental |
| 688 |
MessagingPublishDurationName = "messaging.publish.duration" |
| 689 |
MessagingPublishDurationUnit = "s" |
| 690 |
MessagingPublishDurationDescription = "Measures the duration of publish operation." |
| 691 |
|
| 692 |
// MessagingReceiveDuration is the metric conforming to the |
| 693 |
// "messaging.receive.duration" semantic conventions. It represents the |
| 694 |
// measures the duration of receive operation. |
| 695 |
// Instrument: histogram |
| 696 |
// Unit: s |
| 697 |
// Stability: Experimental |
| 698 |
MessagingReceiveDurationName = "messaging.receive.duration" |
| 699 |
MessagingReceiveDurationUnit = "s" |
| 700 |
MessagingReceiveDurationDescription = "Measures the duration of receive operation." |
| 701 |
|
| 702 |
// MessagingProcessDuration is the metric conforming to the |
| 703 |
// "messaging.process.duration" semantic conventions. It represents the |
| 704 |
// measures the duration of process operation. |
| 705 |
// Instrument: histogram |
| 706 |
// Unit: s |
| 707 |
// Stability: Experimental |
| 708 |
MessagingProcessDurationName = "messaging.process.duration" |
| 709 |
MessagingProcessDurationUnit = "s" |
| 710 |
MessagingProcessDurationDescription = "Measures the duration of process operation." |
| 711 |
|
| 712 |
// MessagingPublishMessages is the metric conforming to the |
| 713 |
// "messaging.publish.messages" semantic conventions. It represents the |
| 714 |
// measures the number of published messages. |
| 715 |
// Instrument: counter |
| 716 |
// Unit: {message} |
| 717 |
// Stability: Experimental |
| 718 |
MessagingPublishMessagesName = "messaging.publish.messages" |
| 719 |
MessagingPublishMessagesUnit = "{message}" |
| 720 |
MessagingPublishMessagesDescription = "Measures the number of published messages." |
| 721 |
|
| 722 |
// MessagingReceiveMessages is the metric conforming to the |
| 723 |
// "messaging.receive.messages" semantic conventions. It represents the |
| 724 |
// measures the number of received messages. |
| 725 |
// Instrument: counter |
| 726 |
// Unit: {message} |
| 727 |
// Stability: Experimental |
| 728 |
MessagingReceiveMessagesName = "messaging.receive.messages" |
| 729 |
MessagingReceiveMessagesUnit = "{message}" |
| 730 |
MessagingReceiveMessagesDescription = "Measures the number of received messages." |
| 731 |
|
| 732 |
// MessagingProcessMessages is the metric conforming to the |
| 733 |
// "messaging.process.messages" semantic conventions. It represents the |
| 734 |
// measures the number of processed messages. |
| 735 |
// Instrument: counter |
| 736 |
// Unit: {message} |
| 737 |
// Stability: Experimental |
| 738 |
MessagingProcessMessagesName = "messaging.process.messages" |
| 739 |
MessagingProcessMessagesUnit = "{message}" |
| 740 |
MessagingProcessMessagesDescription = "Measures the number of processed messages." |
| 741 |
|
| 742 |
// ProcessCPUTime is the metric conforming to the "process.cpu.time" semantic |
| 743 |
// conventions. It represents the total CPU seconds broken down by different |
| 744 |
// states. |
| 745 |
// Instrument: counter |
| 746 |
// Unit: s |
| 747 |
// Stability: Experimental |
| 748 |
ProcessCPUTimeName = "process.cpu.time" |
| 749 |
ProcessCPUTimeUnit = "s" |
| 750 |
ProcessCPUTimeDescription = "Total CPU seconds broken down by different states." |
| 751 |
|
| 752 |
// ProcessCPUUtilization is the metric conforming to the |
| 753 |
// "process.cpu.utilization" semantic conventions. It represents the difference |
| 754 |
// in process.cpu.time since the last measurement, divided by the elapsed time |
| 755 |
// and number of CPUs available to the process. |
| 756 |
// Instrument: gauge |
| 757 |
// Unit: 1 |
| 758 |
// Stability: Experimental |
| 759 |
ProcessCPUUtilizationName = "process.cpu.utilization" |
| 760 |
ProcessCPUUtilizationUnit = "1" |
| 761 |
ProcessCPUUtilizationDescription = "Difference in process.cpu.time since the last measurement, divided by the elapsed time and number of CPUs available to the process." |
| 762 |
|
| 763 |
// ProcessMemoryUsage is the metric conforming to the "process.memory.usage" |
| 764 |
// semantic conventions. It represents the amount of physical memory in use. |
| 765 |
// Instrument: updowncounter |
| 766 |
// Unit: By |
| 767 |
// Stability: Experimental |
| 768 |
ProcessMemoryUsageName = "process.memory.usage" |
| 769 |
ProcessMemoryUsageUnit = "By" |
| 770 |
ProcessMemoryUsageDescription = "The amount of physical memory in use." |
| 771 |
|
| 772 |
// ProcessMemoryVirtual is the metric conforming to the |
| 773 |
// "process.memory.virtual" semantic conventions. It represents the amount of |
| 774 |
// committed virtual memory. |
| 775 |
// Instrument: updowncounter |
| 776 |
// Unit: By |
| 777 |
// Stability: Experimental |
| 778 |
ProcessMemoryVirtualName = "process.memory.virtual" |
| 779 |
ProcessMemoryVirtualUnit = "By" |
| 780 |
ProcessMemoryVirtualDescription = "The amount of committed virtual memory." |
| 781 |
|
| 782 |
// ProcessDiskIo is the metric conforming to the "process.disk.io" semantic |
| 783 |
// conventions. It represents the disk bytes transferred. |
| 784 |
// Instrument: counter |
| 785 |
// Unit: By |
| 786 |
// Stability: Experimental |
| 787 |
ProcessDiskIoName = "process.disk.io" |
| 788 |
ProcessDiskIoUnit = "By" |
| 789 |
ProcessDiskIoDescription = "Disk bytes transferred." |
| 790 |
|
| 791 |
// ProcessNetworkIo is the metric conforming to the "process.network.io" |
| 792 |
// semantic conventions. It represents the network bytes transferred. |
| 793 |
// Instrument: counter |
| 794 |
// Unit: By |
| 795 |
// Stability: Experimental |
| 796 |
ProcessNetworkIoName = "process.network.io" |
| 797 |
ProcessNetworkIoUnit = "By" |
| 798 |
ProcessNetworkIoDescription = "Network bytes transferred." |
| 799 |
|
| 800 |
// ProcessThreadCount is the metric conforming to the "process.thread.count" |
| 801 |
// semantic conventions. It represents the process threads count. |
| 802 |
// Instrument: updowncounter |
| 803 |
// Unit: {thread} |
| 804 |
// Stability: Experimental |
| 805 |
ProcessThreadCountName = "process.thread.count" |
| 806 |
ProcessThreadCountUnit = "{thread}" |
| 807 |
ProcessThreadCountDescription = "Process threads count." |
| 808 |
|
| 809 |
// ProcessOpenFileDescriptorCount is the metric conforming to the |
| 810 |
// "process.open_file_descriptor.count" semantic conventions. It represents the |
| 811 |
// number of file descriptors in use by the process. |
| 812 |
// Instrument: updowncounter |
| 813 |
// Unit: {count} |
| 814 |
// Stability: Experimental |
| 815 |
ProcessOpenFileDescriptorCountName = "process.open_file_descriptor.count" |
| 816 |
ProcessOpenFileDescriptorCountUnit = "{count}" |
| 817 |
ProcessOpenFileDescriptorCountDescription = "Number of file descriptors in use by the process." |
| 818 |
|
| 819 |
// ProcessContextSwitches is the metric conforming to the |
| 820 |
// "process.context_switches" semantic conventions. It represents the number of |
| 821 |
// times the process has been context switched. |
| 822 |
// Instrument: counter |
| 823 |
// Unit: {count} |
| 824 |
// Stability: Experimental |
| 825 |
ProcessContextSwitchesName = "process.context_switches" |
| 826 |
ProcessContextSwitchesUnit = "{count}" |
| 827 |
ProcessContextSwitchesDescription = "Number of times the process has been context switched." |
| 828 |
|
| 829 |
// ProcessPagingFaults is the metric conforming to the "process.paging.faults" |
| 830 |
// semantic conventions. It represents the number of page faults the process |
| 831 |
// has made. |
| 832 |
// Instrument: counter |
| 833 |
// Unit: {fault} |
| 834 |
// Stability: Experimental |
| 835 |
ProcessPagingFaultsName = "process.paging.faults" |
| 836 |
ProcessPagingFaultsUnit = "{fault}" |
| 837 |
ProcessPagingFaultsDescription = "Number of page faults the process has made." |
| 838 |
|
| 839 |
// RPCServerDuration is the metric conforming to the "rpc.server.duration" |
| 840 |
// semantic conventions. It represents the measures the duration of inbound |
| 841 |
// RPC. |
| 842 |
// Instrument: histogram |
| 843 |
// Unit: ms |
| 844 |
// Stability: Experimental |
| 845 |
RPCServerDurationName = "rpc.server.duration" |
| 846 |
RPCServerDurationUnit = "ms" |
| 847 |
RPCServerDurationDescription = "Measures the duration of inbound RPC." |
| 848 |
|
| 849 |
// RPCServerRequestSize is the metric conforming to the |
| 850 |
// "rpc.server.request.size" semantic conventions. It represents the measures |
| 851 |
// the size of RPC request messages (uncompressed). |
| 852 |
// Instrument: histogram |
| 853 |
// Unit: By |
| 854 |
// Stability: Experimental |
| 855 |
RPCServerRequestSizeName = "rpc.server.request.size" |
| 856 |
RPCServerRequestSizeUnit = "By" |
| 857 |
RPCServerRequestSizeDescription = "Measures the size of RPC request messages (uncompressed)." |
| 858 |
|
| 859 |
// RPCServerResponseSize is the metric conforming to the |
| 860 |
// "rpc.server.response.size" semantic conventions. It represents the measures |
| 861 |
// the size of RPC response messages (uncompressed). |
| 862 |
// Instrument: histogram |
| 863 |
// Unit: By |
| 864 |
// Stability: Experimental |
| 865 |
RPCServerResponseSizeName = "rpc.server.response.size" |
| 866 |
RPCServerResponseSizeUnit = "By" |
| 867 |
RPCServerResponseSizeDescription = "Measures the size of RPC response messages (uncompressed)." |
| 868 |
|
| 869 |
// RPCServerRequestsPerRPC is the metric conforming to the |
| 870 |
// "rpc.server.requests_per_rpc" semantic conventions. It represents the |
| 871 |
// measures the number of messages received per RPC. |
| 872 |
// Instrument: histogram |
| 873 |
// Unit: {count} |
| 874 |
// Stability: Experimental |
| 875 |
RPCServerRequestsPerRPCName = "rpc.server.requests_per_rpc" |
| 876 |
RPCServerRequestsPerRPCUnit = "{count}" |
| 877 |
RPCServerRequestsPerRPCDescription = "Measures the number of messages received per RPC." |
| 878 |
|
| 879 |
// RPCServerResponsesPerRPC is the metric conforming to the |
| 880 |
// "rpc.server.responses_per_rpc" semantic conventions. It represents the |
| 881 |
// measures the number of messages sent per RPC. |
| 882 |
// Instrument: histogram |
| 883 |
// Unit: {count} |
| 884 |
// Stability: Experimental |
| 885 |
RPCServerResponsesPerRPCName = "rpc.server.responses_per_rpc" |
| 886 |
RPCServerResponsesPerRPCUnit = "{count}" |
| 887 |
RPCServerResponsesPerRPCDescription = "Measures the number of messages sent per RPC." |
| 888 |
|
| 889 |
// RPCClientDuration is the metric conforming to the "rpc.client.duration" |
| 890 |
// semantic conventions. It represents the measures the duration of outbound |
| 891 |
// RPC. |
| 892 |
// Instrument: histogram |
| 893 |
// Unit: ms |
| 894 |
// Stability: Experimental |
| 895 |
RPCClientDurationName = "rpc.client.duration" |
| 896 |
RPCClientDurationUnit = "ms" |
| 897 |
RPCClientDurationDescription = "Measures the duration of outbound RPC." |
| 898 |
|
| 899 |
// RPCClientRequestSize is the metric conforming to the |
| 900 |
// "rpc.client.request.size" semantic conventions. It represents the measures |
| 901 |
// the size of RPC request messages (uncompressed). |
| 902 |
// Instrument: histogram |
| 903 |
// Unit: By |
| 904 |
// Stability: Experimental |
| 905 |
RPCClientRequestSizeName = "rpc.client.request.size" |
| 906 |
RPCClientRequestSizeUnit = "By" |
| 907 |
RPCClientRequestSizeDescription = "Measures the size of RPC request messages (uncompressed)." |
| 908 |
|
| 909 |
// RPCClientResponseSize is the metric conforming to the |
| 910 |
// "rpc.client.response.size" semantic conventions. It represents the measures |
| 911 |
// the size of RPC response messages (uncompressed). |
| 912 |
// Instrument: histogram |
| 913 |
// Unit: By |
| 914 |
// Stability: Experimental |
| 915 |
RPCClientResponseSizeName = "rpc.client.response.size" |
| 916 |
RPCClientResponseSizeUnit = "By" |
| 917 |
RPCClientResponseSizeDescription = "Measures the size of RPC response messages (uncompressed)." |
| 918 |
|
| 919 |
// RPCClientRequestsPerRPC is the metric conforming to the |
| 920 |
// "rpc.client.requests_per_rpc" semantic conventions. It represents the |
| 921 |
// measures the number of messages received per RPC. |
| 922 |
// Instrument: histogram |
| 923 |
// Unit: {count} |
| 924 |
// Stability: Experimental |
| 925 |
RPCClientRequestsPerRPCName = "rpc.client.requests_per_rpc" |
| 926 |
RPCClientRequestsPerRPCUnit = "{count}" |
| 927 |
RPCClientRequestsPerRPCDescription = "Measures the number of messages received per RPC." |
| 928 |
|
| 929 |
// RPCClientResponsesPerRPC is the metric conforming to the |
| 930 |
// "rpc.client.responses_per_rpc" semantic conventions. It represents the |
| 931 |
// measures the number of messages sent per RPC. |
| 932 |
// Instrument: histogram |
| 933 |
// Unit: {count} |
| 934 |
// Stability: Experimental |
| 935 |
RPCClientResponsesPerRPCName = "rpc.client.responses_per_rpc" |
| 936 |
RPCClientResponsesPerRPCUnit = "{count}" |
| 937 |
RPCClientResponsesPerRPCDescription = "Measures the number of messages sent per RPC." |
| 938 |
|
| 939 |
// SystemCPUTime is the metric conforming to the "system.cpu.time" semantic |
| 940 |
// conventions. It represents the seconds each logical CPU spent on each mode. |
| 941 |
// Instrument: counter |
| 942 |
// Unit: s |
| 943 |
// Stability: Experimental |
| 944 |
SystemCPUTimeName = "system.cpu.time" |
| 945 |
SystemCPUTimeUnit = "s" |
| 946 |
SystemCPUTimeDescription = "Seconds each logical CPU spent on each mode" |
| 947 |
|
| 948 |
// SystemCPUUtilization is the metric conforming to the |
| 949 |
// "system.cpu.utilization" semantic conventions. It represents the difference |
| 950 |
// in system.cpu.time since the last measurement, divided by the elapsed time |
| 951 |
// and number of logical CPUs. |
| 952 |
// Instrument: gauge |
| 953 |
// Unit: 1 |
| 954 |
// Stability: Experimental |
| 955 |
SystemCPUUtilizationName = "system.cpu.utilization" |
| 956 |
SystemCPUUtilizationUnit = "1" |
| 957 |
SystemCPUUtilizationDescription = "Difference in system.cpu.time since the last measurement, divided by the elapsed time and number of logical CPUs" |
| 958 |
|
| 959 |
// SystemCPUFrequency is the metric conforming to the "system.cpu.frequency" |
| 960 |
// semantic conventions. It represents the reports the current frequency of the |
| 961 |
// CPU in Hz. |
| 962 |
// Instrument: gauge |
| 963 |
// Unit: {Hz} |
| 964 |
// Stability: Experimental |
| 965 |
SystemCPUFrequencyName = "system.cpu.frequency" |
| 966 |
SystemCPUFrequencyUnit = "{Hz}" |
| 967 |
SystemCPUFrequencyDescription = "Reports the current frequency of the CPU in Hz" |
| 968 |
|
| 969 |
// SystemCPUPhysicalCount is the metric conforming to the |
| 970 |
// "system.cpu.physical.count" semantic conventions. It represents the reports |
| 971 |
// the number of actual physical processor cores on the hardware. |
| 972 |
// Instrument: updowncounter |
| 973 |
// Unit: {cpu} |
| 974 |
// Stability: Experimental |
| 975 |
SystemCPUPhysicalCountName = "system.cpu.physical.count" |
| 976 |
SystemCPUPhysicalCountUnit = "{cpu}" |
| 977 |
SystemCPUPhysicalCountDescription = "Reports the number of actual physical processor cores on the hardware" |
| 978 |
|
| 979 |
// SystemCPULogicalCount is the metric conforming to the |
| 980 |
// "system.cpu.logical.count" semantic conventions. It represents the reports |
| 981 |
// the number of logical (virtual) processor cores created by the operating |
| 982 |
// system to manage multitasking. |
| 983 |
// Instrument: updowncounter |
| 984 |
// Unit: {cpu} |
| 985 |
// Stability: Experimental |
| 986 |
SystemCPULogicalCountName = "system.cpu.logical.count" |
| 987 |
SystemCPULogicalCountUnit = "{cpu}" |
| 988 |
SystemCPULogicalCountDescription = "Reports the number of logical (virtual) processor cores created by the operating system to manage multitasking" |
| 989 |
|
| 990 |
// SystemMemoryUsage is the metric conforming to the "system.memory.usage" |
| 991 |
// semantic conventions. It represents the reports memory in use by state. |
| 992 |
// Instrument: updowncounter |
| 993 |
// Unit: By |
| 994 |
// Stability: Experimental |
| 995 |
SystemMemoryUsageName = "system.memory.usage" |
| 996 |
SystemMemoryUsageUnit = "By" |
| 997 |
SystemMemoryUsageDescription = "Reports memory in use by state." |
| 998 |
|
| 999 |
// SystemMemoryLimit is the metric conforming to the "system.memory.limit" |
| 1000 |
// semantic conventions. It represents the total memory available in the |
| 1001 |
// system. |
| 1002 |
// Instrument: updowncounter |
| 1003 |
// Unit: By |
| 1004 |
// Stability: Experimental |
| 1005 |
SystemMemoryLimitName = "system.memory.limit" |
| 1006 |
SystemMemoryLimitUnit = "By" |
| 1007 |
SystemMemoryLimitDescription = "Total memory available in the system." |
| 1008 |
|
| 1009 |
// SystemMemoryUtilization is the metric conforming to the |
| 1010 |
// "system.memory.utilization" semantic conventions. |
| 1011 |
// Instrument: gauge |
| 1012 |
// Unit: 1 |
| 1013 |
// Stability: Experimental |
| 1014 |
// NOTE: The description (brief) for this metric is not defined in the semantic-conventions repository. |
| 1015 |
SystemMemoryUtilizationName = "system.memory.utilization" |
| 1016 |
SystemMemoryUtilizationUnit = "1" |
| 1017 |
|
| 1018 |
// SystemPagingUsage is the metric conforming to the "system.paging.usage" |
| 1019 |
// semantic conventions. It represents the unix swap or windows pagefile usage. |
| 1020 |
// Instrument: updowncounter |
| 1021 |
// Unit: By |
| 1022 |
// Stability: Experimental |
| 1023 |
SystemPagingUsageName = "system.paging.usage" |
| 1024 |
SystemPagingUsageUnit = "By" |
| 1025 |
SystemPagingUsageDescription = "Unix swap or windows pagefile usage" |
| 1026 |
|
| 1027 |
// SystemPagingUtilization is the metric conforming to the |
| 1028 |
// "system.paging.utilization" semantic conventions. |
| 1029 |
// Instrument: gauge |
| 1030 |
// Unit: 1 |
| 1031 |
// Stability: Experimental |
| 1032 |
// NOTE: The description (brief) for this metric is not defined in the semantic-conventions repository. |
| 1033 |
SystemPagingUtilizationName = "system.paging.utilization" |
| 1034 |
SystemPagingUtilizationUnit = "1" |
| 1035 |
|
| 1036 |
// SystemPagingFaults is the metric conforming to the "system.paging.faults" |
| 1037 |
// semantic conventions. |
| 1038 |
// Instrument: counter |
| 1039 |
// Unit: {fault} |
| 1040 |
// Stability: Experimental |
| 1041 |
// NOTE: The description (brief) for this metric is not defined in the semantic-conventions repository. |
| 1042 |
SystemPagingFaultsName = "system.paging.faults" |
| 1043 |
SystemPagingFaultsUnit = "{fault}" |
| 1044 |
|
| 1045 |
// SystemPagingOperations is the metric conforming to the |
| 1046 |
// "system.paging.operations" semantic conventions. |
| 1047 |
// Instrument: counter |
| 1048 |
// Unit: {operation} |
| 1049 |
// Stability: Experimental |
| 1050 |
// NOTE: The description (brief) for this metric is not defined in the semantic-conventions repository. |
| 1051 |
SystemPagingOperationsName = "system.paging.operations" |
| 1052 |
SystemPagingOperationsUnit = "{operation}" |
| 1053 |
|
| 1054 |
// SystemDiskIo is the metric conforming to the "system.disk.io" semantic |
| 1055 |
// conventions. |
| 1056 |
// Instrument: counter |
| 1057 |
// Unit: By |
| 1058 |
// Stability: Experimental |
| 1059 |
// NOTE: The description (brief) for this metric is not defined in the semantic-conventions repository. |
| 1060 |
SystemDiskIoName = "system.disk.io" |
| 1061 |
SystemDiskIoUnit = "By" |
| 1062 |
|
| 1063 |
// SystemDiskOperations is the metric conforming to the |
| 1064 |
// "system.disk.operations" semantic conventions. |
| 1065 |
// Instrument: counter |
| 1066 |
// Unit: {operation} |
| 1067 |
// Stability: Experimental |
| 1068 |
// NOTE: The description (brief) for this metric is not defined in the semantic-conventions repository. |
| 1069 |
SystemDiskOperationsName = "system.disk.operations" |
| 1070 |
SystemDiskOperationsUnit = "{operation}" |
| 1071 |
|
| 1072 |
// SystemDiskIoTime is the metric conforming to the "system.disk.io_time" |
| 1073 |
// semantic conventions. It represents the time disk spent activated. |
| 1074 |
// Instrument: counter |
| 1075 |
// Unit: s |
| 1076 |
// Stability: Experimental |
| 1077 |
SystemDiskIoTimeName = "system.disk.io_time" |
| 1078 |
SystemDiskIoTimeUnit = "s" |
| 1079 |
SystemDiskIoTimeDescription = "Time disk spent activated" |
| 1080 |
|
| 1081 |
// SystemDiskOperationTime is the metric conforming to the |
| 1082 |
// "system.disk.operation_time" semantic conventions. It represents the sum of |
| 1083 |
// the time each operation took to complete. |
| 1084 |
// Instrument: counter |
| 1085 |
// Unit: s |
| 1086 |
// Stability: Experimental |
| 1087 |
SystemDiskOperationTimeName = "system.disk.operation_time" |
| 1088 |
SystemDiskOperationTimeUnit = "s" |
| 1089 |
SystemDiskOperationTimeDescription = "Sum of the time each operation took to complete" |
| 1090 |
|
| 1091 |
// SystemDiskMerged is the metric conforming to the "system.disk.merged" |
| 1092 |
// semantic conventions. |
| 1093 |
// Instrument: counter |
| 1094 |
// Unit: {operation} |
| 1095 |
// Stability: Experimental |
| 1096 |
// NOTE: The description (brief) for this metric is not defined in the semantic-conventions repository. |
| 1097 |
SystemDiskMergedName = "system.disk.merged" |
| 1098 |
SystemDiskMergedUnit = "{operation}" |
| 1099 |
|
| 1100 |
// SystemFilesystemUsage is the metric conforming to the |
| 1101 |
// "system.filesystem.usage" semantic conventions. |
| 1102 |
// Instrument: updowncounter |
| 1103 |
// Unit: By |
| 1104 |
// Stability: Experimental |
| 1105 |
// NOTE: The description (brief) for this metric is not defined in the semantic-conventions repository. |
| 1106 |
SystemFilesystemUsageName = "system.filesystem.usage" |
| 1107 |
SystemFilesystemUsageUnit = "By" |
| 1108 |
|
| 1109 |
// SystemFilesystemUtilization is the metric conforming to the |
| 1110 |
// "system.filesystem.utilization" semantic conventions. |
| 1111 |
// Instrument: gauge |
| 1112 |
// Unit: 1 |
| 1113 |
// Stability: Experimental |
| 1114 |
// NOTE: The description (brief) for this metric is not defined in the semantic-conventions repository. |
| 1115 |
SystemFilesystemUtilizationName = "system.filesystem.utilization" |
| 1116 |
SystemFilesystemUtilizationUnit = "1" |
| 1117 |
|
| 1118 |
// SystemNetworkDropped is the metric conforming to the |
| 1119 |
// "system.network.dropped" semantic conventions. It represents the count of |
| 1120 |
// packets that are dropped or discarded even though there was no error. |
| 1121 |
// Instrument: counter |
| 1122 |
// Unit: {packet} |
| 1123 |
// Stability: Experimental |
| 1124 |
SystemNetworkDroppedName = "system.network.dropped" |
| 1125 |
SystemNetworkDroppedUnit = "{packet}" |
| 1126 |
SystemNetworkDroppedDescription = "Count of packets that are dropped or discarded even though there was no error" |
| 1127 |
|
| 1128 |
// SystemNetworkPackets is the metric conforming to the |
| 1129 |
// "system.network.packets" semantic conventions. |
| 1130 |
// Instrument: counter |
| 1131 |
// Unit: {packet} |
| 1132 |
// Stability: Experimental |
| 1133 |
// NOTE: The description (brief) for this metric is not defined in the semantic-conventions repository. |
| 1134 |
SystemNetworkPacketsName = "system.network.packets" |
| 1135 |
SystemNetworkPacketsUnit = "{packet}" |
| 1136 |
|
| 1137 |
// SystemNetworkErrors is the metric conforming to the "system.network.errors" |
| 1138 |
// semantic conventions. It represents the count of network errors detected. |
| 1139 |
// Instrument: counter |
| 1140 |
// Unit: {error} |
| 1141 |
// Stability: Experimental |
| 1142 |
SystemNetworkErrorsName = "system.network.errors" |
| 1143 |
SystemNetworkErrorsUnit = "{error}" |
| 1144 |
SystemNetworkErrorsDescription = "Count of network errors detected" |
| 1145 |
|
| 1146 |
// SystemNetworkIo is the metric conforming to the "system.network.io" semantic |
| 1147 |
// conventions. |
| 1148 |
// Instrument: counter |
| 1149 |
// Unit: By |
| 1150 |
// Stability: Experimental |
| 1151 |
// NOTE: The description (brief) for this metric is not defined in the semantic-conventions repository. |
| 1152 |
SystemNetworkIoName = "system.network.io" |
| 1153 |
SystemNetworkIoUnit = "By" |
| 1154 |
|
| 1155 |
// SystemNetworkConnections is the metric conforming to the |
| 1156 |
// "system.network.connections" semantic conventions. |
| 1157 |
// Instrument: updowncounter |
| 1158 |
// Unit: {connection} |
| 1159 |
// Stability: Experimental |
| 1160 |
// NOTE: The description (brief) for this metric is not defined in the semantic-conventions repository. |
| 1161 |
SystemNetworkConnectionsName = "system.network.connections" |
| 1162 |
SystemNetworkConnectionsUnit = "{connection}" |
| 1163 |
|
| 1164 |
// SystemProcessCount is the metric conforming to the "system.process.count" |
| 1165 |
// semantic conventions. It represents the total number of processes in each |
| 1166 |
// state. |
| 1167 |
// Instrument: updowncounter |
| 1168 |
// Unit: {process} |
| 1169 |
// Stability: Experimental |
| 1170 |
SystemProcessCountName = "system.process.count" |
| 1171 |
SystemProcessCountUnit = "{process}" |
| 1172 |
SystemProcessCountDescription = "Total number of processes in each state" |
| 1173 |
|
| 1174 |
// SystemProcessCreated is the metric conforming to the |
| 1175 |
// "system.process.created" semantic conventions. It represents the total |
| 1176 |
// number of processes created over uptime of the host. |
| 1177 |
// Instrument: counter |
| 1178 |
// Unit: {process} |
| 1179 |
// Stability: Experimental |
| 1180 |
SystemProcessCreatedName = "system.process.created" |
| 1181 |
SystemProcessCreatedUnit = "{process}" |
| 1182 |
SystemProcessCreatedDescription = "Total number of processes created over uptime of the host" |
| 1183 |
|
| 1184 |
// SystemLinuxMemoryAvailable is the metric conforming to the |
| 1185 |
// "system.linux.memory.available" semantic conventions. It represents an |
| 1186 |
// estimate of how much memory is available for starting new applications, |
| 1187 |
// without causing swapping. |
| 1188 |
// Instrument: updowncounter |
| 1189 |
// Unit: By |
| 1190 |
// Stability: Experimental |
| 1191 |
SystemLinuxMemoryAvailableName = "system.linux.memory.available" |
| 1192 |
SystemLinuxMemoryAvailableUnit = "By" |
| 1193 |
SystemLinuxMemoryAvailableDescription = "An estimate of how much memory is available for starting new applications, without causing swapping" |
| 1194 |
) |