opentelemetry-rust/examples/metrics-advanced
Dimitris Apostolou 81fea0747c
Avoid duplicate crates (#2703)
Co-authored-by: Cijo Thomas <cijo.thomas@gmail.com>
2025-02-25 08:07:55 -08:00
..
src use workspace lint configuration (#2674) 2025-02-17 18:18:13 -08:00
Cargo.toml Avoid duplicate crates (#2703) 2025-02-25 08:07:55 -08:00
README.md Start adding metrics advanced (view) examples (#1170) 2023-07-28 21:55:11 -07:00

README.md

Metric SDK Advanced Configuration Example

This example shows how to customize the OpenTelemetry Rust Metric SDK. This shows how to change temporality, how to customize the aggregation using the concept of "Views" etc. The examples write output to stdout, but could be replaced with other exporters.

Usage

Run the following, and the Metrics will be written out to stdout.

$ cargo run