opentelemetry-cpp icon indicating copy to clipboard operation
opentelemetry-cpp copied to clipboard

Add config options to prometheus exporter

Open psx95 opened this issue 4 months ago • 2 comments

Fixes #2453

Changes

Added the following optional configuration options (booleans) to the prometheus exporter:

  • without_units : controls whether to add unit suffixes (e.g. _seconds) to the metric names.
  • without_type_suffix: controls whether to add type suffixes (e.g. _total) to the metric names.
  • [ ] CHANGELOG.md updated for non-trivial changes
  • [X] Unit tests have been added
  • [ ] Changes in public API reviewed

psx95 avatar Oct 16 '24 21:10 psx95