14 lines
313 B
Markdown
14 lines
313 B
Markdown
# 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.
|
|
|
|
```shell
|
|
$ cargo run
|
|
```
|