Module rama::telemetry::opentelemetry
Expand description
openelemetry module re-exports
This module re-exports the crates supported and used by rama for (open) telemetry, such that you can make use of it for custom metrics, registries and more.
Modules§
- Primitives for sending name/value data across system boundaries.
- Utilities for working with global telemetry primitives
- OpenTelemetry Logs Bridge API
- OpenTelemetry Metrics API
- OpenTelemetry Propagator interface
- Implements the
SDK
component of OpenTelemetry. - OpenTelemetry semantic conventions are agreed standardized naming patterns for OpenTelemetry things. This crate aims to be the centralized place to interact with these conventions.
- API for tracing applications and libraries.
Macros§
- Macro for logging debug messages in OpenTelemetry.
- Macro for logging error messages in OpenTelemetry.
- Note: These macros (
otel_info!
,otel_warn!
,otel_debug!
, andotel_error!
) are intended to be used internally within OpenTelemetry code or for custom exporters and processors. They are not designed for general application logging and should not be used for that purpose. - Macro for logging warning messages in OpenTelemetry.
Structs§
- An execution-scoped collection of values.
- A guard that resets the current context to the prior context when dropped.
- Information about a library or crate providing instrumentation.
- Configuration options for InstrumentationScope.
- The key part of attribute KeyValue pairs.
- A key-value pair describing an attribute.
- Options that can be used to customize a meter (middleware) provided by
rama
. - Information about the service producing the metrics.
- Wrapper for string-like values
Enums§
- A Value::Array containing homogeneous values.
- The value part of attribute KeyValue pairs.
Traits§
- Trait that can be used to implement your own attributes creator. It is used by layers as a starting point for attributes, and they will add their own attributes on top.