opentelemetry-rust/examples/metrics-basic
Cijo Thomas 8882c31c95
chore: Nit fixes to examples (#3002)
2025-05-23 10:56:42 -07:00
..
src chore: Nit fixes to examples (#3002) 2025-05-23 10:56:42 -07:00
Cargo.toml chore: leverage fallback resolver for MSRV check (#2993) 2025-05-22 08:39:53 -07:00
README.md chore: Nit fixes to examples (#3002) 2025-05-23 10:56:42 -07:00

README.md

Metric Instrument Usage Example

This example shows how to use the various metric instruments to report metrics. The example setups a MeterProvider with stdout exporter, so metrics can be seen on the stdout.

Usage

Run the following, and the Metrics will be written out to stdout.

$ cargo run