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

Support Exemplars in OTLP metric exporters #4899

Closed
dashpole opened this issue Feb 9, 2024 · 0 comments · Fixed by #4900
Closed

Support Exemplars in OTLP metric exporters #4899

dashpole opened this issue Feb 9, 2024 · 0 comments · Fixed by #4900
Assignees
Labels
area:metrics Part of OpenTelemetry Metrics enhancement New feature or request pkg:exporter:otlp Related to the OTLP exporter package

Comments

@dashpole
Copy link
Contributor

dashpole commented Feb 9, 2024

Problem Statement

When using exemplars, I should be able to send them over OTLP. I tried sending them to a collector using OTLP http and gRPC, and was unable to do so. It looks like this isn't implemented yet in the OTLP metric exporters:

For example, it doesn't look like its set in the grpc exporter for histograms:

hdp := &mpb.HistogramDataPoint{
Attributes: AttrIter(dPt.Attributes.Iter()),
StartTimeUnixNano: timeUnixNano(dPt.StartTime),
TimeUnixNano: timeUnixNano(dPt.Time),
Count: dPt.Count,
Sum: &sum,
BucketCounts: dPt.BucketCounts,
ExplicitBounds: dPt.Bounds,
}

Proposed Solution

Implement exemplars in OTLP exporters.

@dashpole dashpole added enhancement New feature or request area:metrics Part of OpenTelemetry Metrics pkg:exporter:otlp Related to the OTLP exporter package labels Feb 9, 2024
@dashpole dashpole self-assigned this Feb 10, 2024
@MrAlias MrAlias added this to the v1.24.0 milestone Feb 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:metrics Part of OpenTelemetry Metrics enhancement New feature or request pkg:exporter:otlp Related to the OTLP exporter package
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants