Module rama::telemetry::opentelemetry::semantic_conventions::metric
Expand description
§Metric Semantic Conventions
The metric semantic conventions define a set of standardized attributes to
be used in Meter
s.
§Usage
use opentelemetry::{global, KeyValue};
use opentelemetry_semantic_conventions as semconv;
// Assumes we already have an initialized `MeterProvider`
// See: https://github.com/open-telemetry/opentelemetry-rust/blob/main/examples/metrics-basic/src/main.rs
// for an example
let meter = global::meter("mylibraryname");
let histogram = meter
.u64_histogram(semconv::metric::HTTP_SERVER_REQUEST_DURATION)
.with_unit("By")
.with_description("Duration of HTTP server requests.")
.build();
Constants§
- Description
- Description
- Description
- Description
- Description
- Description
- Description
- Description
- Description
- Description
- Description
- Description
- DB_
CLIEN T_ CONNECTION S_ CREAT E_ TIME Deprecated Description - DB_
CLIEN T_ CONNECTION S_ IDLE_ MAX Deprecated Description - DB_
CLIEN T_ CONNECTION S_ IDLE_ MIN Deprecated Description - DB_
CLIEN T_ CONNECTION S_ MAX Deprecated Description - DB_
CLIEN T_ CONNECTION S_ PENDIN G_ REQUESTS Deprecated Description - DB_
CLIEN T_ CONNECTION S_ TIMEOUTS Deprecated Description - DB_
CLIEN T_ CONNECTION S_ USAGE Deprecated Description - DB_
CLIEN T_ CONNECTION S_ USE_ TIME Deprecated Description - DB_
CLIEN T_ CONNECTION S_ WAIT_ TIME Deprecated Description - Description
- Description
- Description
- Description
- Description
- Description
- Description
- Description
- Description
- Description
- Description
- Description
- Description
- Description
- Description
- Description
- Description
- Description
- Description
- Description
- Description
- Description
- Description
- Description
- Description
- Description
- Description
- Description
- Description
- Description
- Description
- Description
- Description
- Description
- Description
- Description
- Description
- Description
- Description
- Description
- Description
- Description
- Description
- Description
- Description
- Description
- Description
- Description
- Description
- Description
- Description
- Description
- Description
- Description
- Description
- Description
- Description
- Description
- Description
- Description
- Description
- Description
- Description
- Description
- Description
- Description
- Description
- Description
- Description
- JVM_
BUFFE R_ MEMOR Y_ USAGE Deprecated Description - Description
- Description
- Description
- Description
- Description
- Description
- Description
- Description
- Description
- Description
- Description
- Description
- Description
- Description
- Description
- Description
- Description
- Description
- Description
- Description
- Description
- Description
- Description
- Description
- Description
- Description
- Description
- Description
- Description
- Description
- Description
- Description
- MESSAGIN
G_ CLIEN T_ PUBLISHE D_ MESSAGES Deprecated Description - Description
- Description
- MESSAGIN
G_ PROCES S_ MESSAGES Deprecated Description - MESSAGIN
G_ PUBLIS H_ DURATION Deprecated Description - MESSAGIN
G_ PUBLIS H_ MESSAGES Deprecated Description - MESSAGIN
G_ RECEIV E_ DURATION Deprecated Description - MESSAGIN
G_ RECEIV E_ MESSAGES Deprecated Description - Description
- Description
- Description
- Description
- Description
- Description
- Description
- Description
- Description
- Description
- Description
- Description
- Description
- Description
- Description
- Description
- Description
- Description
- Description
- Description
- Description
- Description
- Description
- Description
- Description
- Description
- Description
- Description
- Description
- Description
- Description
- Description
- Description
- Description
- Description
- Description
- Description
- Description
- Description
- Description
- Description
- Description
- Description
- Description
- Description
- Description
- Description
- Description
- Description
- Description
- Description
- Description
- Description
- Description
- Description
- Description
- Description
- Description
- Description
- Description
- Description
- Description
- Description
- Description
- Description
- Description
- Description
- Description