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

otlptext support for ExponentialHistogram #4641

Closed
jmacd opened this issue Jan 5, 2022 · 0 comments · Fixed by #4642
Closed

otlptext support for ExponentialHistogram #4641

jmacd opened this issue Jan 5, 2022 · 0 comments · Fixed by #4642
Labels
bug Something isn't working

Comments

@jmacd
Copy link
Contributor

jmacd commented Jan 5, 2022

Describe the bug
The otlptext package does not recognize ExponentialHistogram data types.

Steps to reproduce
Demonstrated in open-telemetry/opentelemetry-collector-contrib#6666 using a logging exporter and a statsd receiver configured to produce exponential histograms.

What did you expect to see?
The data type should print its buckets in a human readable way.

What did you see instead?
Nothing prints.

What version did you use?
60823e2

What config did you use?

receivers:
  statsd:
    endpoint: :8127
    aggregation_interval: 10s
    is_monotonic_counter: true
    timer_histogram_mapping:
    - statsd_type: histogram
      observer_type: histogram
      histogram:
        max_size: 16
    - statsd_type: timing
      observer_type: histogram
      histogram:
        max_size: 128

exporters:
  logging:
    loglevel: debug
   
service:
  pipelines:
    metrics:
      receivers: [statsd]
      exporters: [logging]
@jmacd jmacd added the bug Something isn't working label Jan 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant