opentelemetry-rust/examples/metrics-basic
Cijo Thomas 98741c7cc7
[Metrics] - Remove unit abstraction (#1821)
Co-authored-by: Zhongyang Wu <zhongyang.wu@outlook.com>
2024-05-24 09:35:29 -07:00
..
src [Metrics] - Remove unit abstraction (#1821) 2024-05-24 09:35:29 -07:00
Cargo.toml Workspace dependencies (#1457) 2023-12-30 15:46:34 -08:00
README.md Add basic example showing how to use various metric instruments (#1062) 2023-05-15 09:53:49 -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