Skip to content

aetelier_telemetry::exporters

Exporter configuration and construction.

Provides ExporterKind for selecting between OTLP (production) and stdout (development) metric exporters, plus builder functions for constructing the corresponding MeterProvider.

Examples

// Development: print metrics to stderr
let provider = build_meter_provider(ExporterKind::Stdout, Duration::from_secs(5))?;

// Production: push to OTLP collector
let provider = build_meter_provider(
    ExporterKind::Otlp { endpoint: "http://localhost:4317".into() },
    Duration::from_secs(2),
)?;

Skeleton API reference

This page lists the public items in aetelier_telemetry::exporters with a one-line summary each. Signatures and source live in the SDK repository.

Enums

Item Summary
ExporterKind Which metrics exporter to use.

Functions

Item Summary
build_meter_provider Build a SdkMeterProvider with the specified exporter and collection interval.