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

Adds user agent string to grpc headers #3009

Merged
merged 8 commits into from
Dec 6, 2022
Prev Previous commit
Next Next commit
Update exporter/opentelemetry-exporter-otlp-proto-grpc/src/openteleme…
…try/exporter/otlp/proto/grpc/__init__.py

Co-authored-by: Srikanth Chekuri <srikanth.chekuri92@gmail.com>
pridhi-arora and srikanthccv committed Dec 6, 2022
commit 0b1c6e188b436f12671fe5564c1876a1ddcf8d60
Original file line number Diff line number Diff line change
@@ -71,5 +71,5 @@
"""
from .version import __version__

otel_string = "OTel OTLP Exporter Python/" + __version__
_OTLP_GRPC_HEADERS = [("user-agent", otel_string)]
_user_agent_header_value = "OTel OTLP Exporter Python/" + __version__
_OTLP_GRPC_HEADERS = [("user-agent", _user_agent_header_value)]