open-telemetry / opentelemetry-collector-contrib

Contrib repository for the OpenTelemetry Collector
https://opentelemetry.io
Apache License 2.0
2.95k stars 2.29k forks source link

[receiver/statsdreceiver] allow changing percentiles for summary types #33674

Closed povilasv closed 2 months ago

povilasv commented 3 months ago

Description:

Allow selecting percentiles when using summary type:

receivers:
  statsd:
    endpoint: "0.0.0.0:8125"
   ...
    timer_histogram_mapping:
      - statsd_type: "timing"
        observer_type: "summary"
        summary: 
          percentiles: [0, 10, 50, 90, 95, 99, 100]

Link to tracking Issue:

https://github.com/open-telemetry/opentelemetry-collector-contrib/issues/33701

Testing:

Documentation:

povilasv commented 3 months ago

gentle ping @jmacd / @dmitryax