Skip to content

[receiver/statsd] allow specifying summary percentiles #33701

Closed
@povilasv

Description

@povilasv

Component(s)

receiver/statsd

Is your feature request related to a problem? Please describe.

When sending summary, I would like to choose the percentiles instead of getting default hardcoded percentiles - 0, 10, 50, 90, 95, 100. See https://github.com/coralogix/opentelemetry-collector-contrib/blob/main/receiver/statsdreceiver/protocol/metric_translator.go#L17

Describe the solution you'd like

receivers:
  statsd:
    endpoint: "0.0.0.0:8125"
    enable_metric_type: true
    is_monotonic_counter: false
    aggregation_interval: 10s
    timer_histogram_mapping:
      - statsd_type: "timing"
        observer_type: "summary"
        summary: 
          percentiles: [0, 10, 50, 90, 95, 99, 100]

Describe alternatives you've considered

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions