opentelemetry-exporter-otlp-proto-grpc: set grpc user agent properly by xrmx · Pull Request #4658 · open-telemetry/opentelemetry-python
xrmx
changed the title
opentelemetry-exporter-otlp-proto-grpc: set user agent properly
opentelemetry-exporter-otlp-proto-grpc: set grpc user agent properly
xrmx
marked this pull request as ready for review
It looks like metadata is ignored and instead we should set the grpc.primary_user_agent channel option instead. User-agent will change from: grpc-python/1.71.0 grpc-c/46.0.0 (linux; chttp2) to: OTel-OTLP-Exporter-Python/1.34.1 grpc-python/1.71.0 grpc-c/46.0.0 (linux; chttp2)
xrmx
mentioned this pull request
JWinermaSplunk pushed a commit to JWinermaSplunk/opentelemetry-python that referenced this pull request
Feb 17, 2026…pen-telemetry#4658) * opentelemetry-exporter-otlp-proto-grpc: set user agent properly It looks like metadata is ignored and instead we should set the grpc.primary_user_agent channel option instead. User-agent will change from: grpc-python/1.71.0 grpc-c/46.0.0 (linux; chttp2) to: OTel-OTLP-Exporter-Python/1.34.1 grpc-python/1.71.0 grpc-c/46.0.0 (linux; chttp2) * Add Changelog * Remove default metadata as user-agent there is overriden by grpc itself * Merge passed channel options with the defaults
JWinermaSplunk pushed a commit to JWinermaSplunk/opentelemetry-python that referenced this pull request
Feb 17, 2026…pen-telemetry#4658) * opentelemetry-exporter-otlp-proto-grpc: set user agent properly It looks like metadata is ignored and instead we should set the grpc.primary_user_agent channel option instead. User-agent will change from: grpc-python/1.71.0 grpc-c/46.0.0 (linux; chttp2) to: OTel-OTLP-Exporter-Python/1.34.1 grpc-python/1.71.0 grpc-c/46.0.0 (linux; chttp2) * Add Changelog * Remove default metadata as user-agent there is overriden by grpc itself * Merge passed channel options with the defaults
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