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

Apply `ValueMap` for `ExpoHistogram` metric

Open fraillt opened this issue 4 months ago • 0 comments

Most metrics has optimized measure phase by using ValueMap. However ExpoHistogram has it's own implementations. This implementation is not only lacking performance improvements, but also some important functionality (e.g. there's no check for is_under_cardinality_limit).

In order to proceed with this, we need:

  • update ValueMap to provide interface that will allow to implement ExpoHistogram efficiently #2117
  • introduce convenient functions for collecting data points #2145

fraillt avatar Sep 25 '24 16:09 fraillt