Skip to content

Latest commit

 

History

History
16 lines (9 loc) · 316 Bytes

File metadata and controls

16 lines (9 loc) · 316 Bytes

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