opentelemetry-rust/examples/metrics-basic/README.md

313 B

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