Skip to main content

Crate telemetry_subscribers

Crate telemetry_subscribers 

Source

Modules§

span_latency_prom
This is a module that records Tokio-tracing span latencies into Prometheus histograms directly. The name of the Prometheus histogram is “tracing_span_latencies[_sum/count/bucket]”

Structs§

FilterHandle
LogTail
A per-target output route: additionally write target’s logs to file. Configured via the RUST_LOG_TAILS env var, e.g. graphql_request=/var/log/sui/graphql_request.jsonl.
TelemetryConfig
Configuration for different logging/tracing options
TelemetryGuards
TracingHandle

Enums§

LogFormat
Output format for a per-target log route (see TelemetryConfig::log_tails). Inferred from the route’s file extension.

Functions§

get_global_telemetry_config
init_for_testing
Globally set a tracing subscriber suitable for testing environments

Type Aliases§

BoxError
Alias for a type-erased error type.