Skip to main content

Module traits

Module traits 

Source
Expand description

Core traits for the observability plugin system

Structs§

SpanGuard
Span guard that automatically ends spans when dropped

Enums§

LogLevel
Log levels for structured logging
SpanStatus
Status of a span

Constants§

METRIC_LABEL_ALLOWLIST
Metric label allowlist for cardinality reduction.

Traits§

BatchingSupport
Trait for plugins that support batching
MetricsCollector
Trait for collecting and managing metrics
ObservabilityBuilder
Builder trait for creating observability plugins
ObservabilityPlugin
Core observability plugin trait
StructuredLogger
Trait for structured logging

Functions§

create_labels
Create a label map from key-value pairs
validate_metric_label_allowlist
Validate that label keys are within the allowlist.