Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[receiver/statsd] allow specifying summary percentiles #33701

Closed
povilasv opened this issue Jun 21, 2024 · 1 comment
Closed

[receiver/statsd] allow specifying summary percentiles #33701

povilasv opened this issue Jun 21, 2024 · 1 comment
Labels
enhancement New feature or request needs triage New item requiring triage receiver/statsd statsd related issues

Comments

@povilasv
Copy link
Contributor

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

@povilasv povilasv added enhancement New feature or request needs triage New item requiring triage labels Jun 21, 2024
@github-actions github-actions bot added the receiver/statsd statsd related issues label Jun 21, 2024
Copy link
Contributor

Pinging code owners:

See Adding Labels via Comments if you do not have permissions to add labels yourself.

@povilasv povilasv changed the title [receiver/statsd] [receiver/statsd] allow specifying summary percentiles Jun 21, 2024
dmitryax pushed a commit that referenced this issue Jul 14, 2024
#33674)

**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:** #33701
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request needs triage New item requiring triage receiver/statsd statsd related issues
Projects
None yet
Development

No branches or pull requests

1 participant