fix(http-metric-exporter): use consistent protobuf for export request#5015
Merged
xrmx merged 4 commits intoopen-telemetry:mainfrom Apr 1, 2026
Merged
fix(http-metric-exporter): use consistent protobuf for export request#5015xrmx merged 4 commits intoopen-telemetry:mainfrom
xrmx merged 4 commits intoopen-telemetry:mainfrom
Conversation
anuraaga
commented
Mar 27, 2026
11 tasks
tammy-baylis-swi
approved these changes
Mar 27, 2026
Contributor
tammy-baylis-swi
left a comment
There was a problem hiding this comment.
Thanks for some cleanup! I checked this out and it also works with my use case.
xrmx
reviewed
Apr 1, 2026
…try/exporter/otlp/proto/http/metric_exporter/__init__.py
xrmx
approved these changes
Apr 1, 2026
This was referenced Apr 1, 2026
Vitexus
pushed a commit
to Vitexus/opentelemetry-python
that referenced
this pull request
Apr 30, 2026
…open-telemetry#5015) * fix(http-metric-exporter): use consistent protobuf for export request * changelog * Update exporter/opentelemetry-exporter-otlp-proto-http/src/opentelemetry/exporter/otlp/proto/http/metric_exporter/__init__.py --------- Co-authored-by: Riccardo Magliocchetti <riccardo.magliocchetti@gmail.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Fixes #5014
Use
ExportMetricServiceRequestconsistently for exporting metrics as it is the collector's export endpoint type (MetricsDatais for saving but happens to be compatible so it seems to be working)Type of change
Please delete options that are not relevant.
How Has This Been Tested?
Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration
Does This PR Require a Contrib Repo Change?
Checklist: