Skip to content

Latest commit

 

History

History

metrics-basic

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

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