Re-exports§
pub use metrics::dashboard::DashboardStorageBackend;pub use metrics::dashboard::DashboardStorageFailureLabel;pub use metrics::dashboard::DashboardStorageMetricsRecorder;pub use metrics::dashboard::DashboardStorageOperation;pub use metrics::dashboard::DashboardStorageOperationResult;pub use metrics::dashboard::DashboardStorageResult;pub use metrics::labels::MetricLabelPolicy;pub use metrics::labels::METRIC_LABEL_SENTINEL;
Modules§
Structs§
- Attribute
- Console
LogConfig - File
LogConfig - File
LogLayer - LogFilter
Handle - LogFilter
Inputs - LogFilter
Reload Request - LogFilter
Resolver - Logging
Config - Logging
Guard - Logging
Override Config - Logging
Overrides - Logs
Overrides - Metric
Attributes - Attributes recorded with a metric measurement.
- Metrics
Overrides - Metrics
Runtime Policy - Immutable, non-sensitive metrics settings captured from the final resolved configuration.
- NonBlocking
LogConfig - Observability
Compiled Features V1 - Observability
Config - Observability
Error - Opaque observability error backed by one canonical shared error.
- Observability
Failure Detail - A string-only diagnostic retained as a typed source.
- Observability
Overrides - Observability
Signal Status V1 - Observability
Status Handle - Observability
Status View V1 - Authenticated, sanitized status for an initialized observability runtime.
- Observability
Subscriber Status V1 - Otlp
Overrides - Prometheus
Overrides - Reload
Config - Resolved
LogFilter - Runtime
Diagnostics Endpoint Config - Fail-closed configuration for the protected runtime diagnostics listener.
- Runtime
Diagnostics Endpoint Handle - Bound address of the lifecycle-owned diagnostics listener.
- Runtime
Diagnostics Service - One owned, idempotently initialized sampler and optional HTTP listener.
- Runtime
Diagnostics Sources - Caller-owned, read-only component sources and a retained shutdown summary.
- Runtime
Diagnostics Started - Sampling
Gate - Subscriber
Install Status - Telemetry
Bootstrap Config - Telemetry
Environment Spec - Service-specific environment variable names understood by telemetry resolution.
- Telemetry
Environment Values - Raw process environment values used by the deterministic telemetry resolver.
- Telemetry
Handle - Cloneable telemetry capability injected into business components.
- Telemetry
Outage Queue - A count-and-byte bounded queue for exporter adapters.
- Telemetry
Outage Shutdown Report - Final state produced when an outage queue drains or reaches its absolute deadline.
- Telemetry
Queue Limits - Count and byte limits for an exporter outage queue.
- Telemetry
Queue Snapshot - Current queue and lifetime counters.
- Telemetry
Recorder - Lightweight recorder scoped to one business component.
- Telemetry
Resolution - Fully resolved telemetry configuration and its validated process metadata.
- Telemetry
Runtime Guard - Telemetry
Shutdown Report - Trace
Policy - Immutable per-handle tracing and message-correlation policy.
- Traces
Config - Traces
Overrides
Enums§
- LogExporter
Type - LogFilter
Source - LogFormat
- LogRotation
- Logs
Exporter - Metrics
Exporter - Metrics
Exporter Type - Observability
Operation - The closed observability operation retained outside catalog policy.
- Observability
Status Value V1 - Otlp
Protocol - Runtime
Diagnostics Mode - Explicitly selects diagnostic work, independently of compiled features.
- Standard
Otlp Environment Status - Subscriber
Install Policy - Telemetry
Drop Reason - Reason a telemetry record was dropped before export.
- Telemetry
Enqueue Outcome - Result of non-blocking telemetry admission.
- Telemetry
Queue Config Error - Invalid telemetry outage queue configuration.
- Telemetry
State - Current state of a telemetry handle’s runtime-owned lifecycle.
- Trace
Exporter - Trace
Exporter Type
Constants§
- BROKER_
METER_ SCOPE - Fixed instrumentation scope for broker metrics.
- CLIENT_
METER_ SCOPE - Fixed instrumentation scope for client metrics.
- CONTROLLER_
METER_ SCOPE - Fixed instrumentation scope for controller metrics.
- DASHBOARD_
METER_ SCOPE - Fixed instrumentation scope for dashboard operations metrics.
- DEFAULT_
EXPORT_ TIMEOUT_ MILLIS - Default maximum duration of one collector export attempt.
- DEFAULT_
LOG_ FILTER - DEFAULT_
MAX_ EXPORT_ BATCH_ ITEMS - Default maximum number of records returned in one exporter batch.
- DEFAULT_
MAX_ QUEUE_ BYTES - Default maximum estimated bytes admitted during a collector outage.
- DEFAULT_
MAX_ QUEUE_ ITEMS - Default maximum number of telemetry records admitted during a collector outage.
- DEFAULT_
MAX_ RECORD_ BYTES - Default maximum size of one admitted telemetry record.
- DEFAULT_
SCHEDULED_ DELAY_ MILLIS - Default interval before a partial exporter batch is flushed.
- DEFAULT_
SHUTDOWN_ TIMEOUT_ MILLIS - Default total deadline for telemetry provider shutdown.
- MCP_
METER_ SCOPE - Fixed instrumentation scope for MCP metrics.
- NAMESRV_
METER_ SCOPE - Fixed instrumentation scope for NameServer metrics.
- OTEL_
EXPORTER_ OTLP_ ENDPOINT - OTEL_
EXPORTER_ OTLP_ PROTOCOL - PROXY_
METER_ SCOPE - Fixed instrumentation scope for proxy metrics.
- RUNTIME_
DIAGNOSTICS_ ALLOW_ INSECURE_ HTTP_ ENV - RUNTIME_
DIAGNOSTICS_ BIND_ ADDR_ ENV - RUNTIME_
DIAGNOSTICS_ ENDPOINT_ SCHEMA - RUNTIME_
DIAGNOSTICS_ MODE_ ENV - RUNTIME_
DIAGNOSTICS_ PATH - RUNTIME_
DIAGNOSTICS_ SAMPLE_ INTERVAL_ SECONDS_ ENV - RUNTIME_
DIAGNOSTICS_ SCOPE - RUNTIME_
DIAGNOSTICS_ TOKEN_ FILE_ ENV - RUNTIME_
METADATA_ TARGETS_ PATH - Protected, process-shared metadata registry occupancy without target names.
- RUNTIME_
METER_ SCOPE - Fixed instrumentation scope for runtime lifecycle and scheduler metrics.
- SRE_
CONNECTOR_ METER_ SCOPE - Fixed instrumentation scope for AI SRE Connector metrics.
- SRE_
CONTROL_ PLANE_ METER_ SCOPE - Fixed instrumentation scope for AI SRE Control Plane metrics.
- STORE_
METER_ SCOPE - Fixed instrumentation scope for store metrics.
- TIERED_
STORE_ METER_ SCOPE - Fixed instrumentation scope for tiered-store metrics.
- TRACEPARENT
- TRACESTATE
- TRANSPORT_
METER_ SCOPE - Fixed instrumentation scope for transport metrics.
Traits§
- Runtime
Diagnostics Data Provider - Bounded, synchronous access to diagnostics owned by the business component.
Functions§
- apply_
standard_ otlp_ environment - Applies the standard process-wide OTLP endpoint and protocol variables.
- apply_
standard_ otlp_ environment_ values - Applies caller-supplied standard OTLP environment values without reading process state.
- base_
attributes - init_
observability - Initializes observability providers and keeps the legacy best-effort subscriber install behavior.
- init_
observability_ with_ service_ context - Initializes observability with a lifecycle owner for runtime-backed exporters.
- install_
global - install_
global_ with_ filter - install_
global_ with_ filter_ and_ service_ context - Installs process telemetry with a resolved filter and an explicit task owner.
- install_
global_ with_ service_ context - Installs process telemetry with an explicit owner for runtime-backed exporters.
- normalize_
and_ validate - Validates the final cross-signal observability configuration.
- read_
rust_ log - Reads the process-level
RUST_LOGoverride without silently discarding a non-Unicode value. - reserve_
telemetry_ flush_ lease - Reserves one blocking submission for a final telemetry flush owned by
service_context. - resolve_
telemetry_ from_ env - Resolves telemetry using values read from the current process environment.
- resolve_
telemetry_ values - Resolves defaults, file overrides, and caller-supplied environment values.
- start_
runtime_ diagnostics_ endpoint - Starts a protected diagnostics listener using an explicit configuration.
- start_
runtime_ diagnostics_ endpoint_ from_ env - Starts the optional protected endpoint and its owned metrics sampler.
- start_
runtime_ diagnostics_ endpoint_ from_ env_ with_ telemetry - Starts the opt-in runtime diagnostics endpoint and records snapshots into the caller-owned telemetry pipeline.
Type Aliases§
- Observability
Result - Result returned by observability operations.