We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent af83ef1 commit 7fce9b8Copy full SHA for 7fce9b8
exporter/opentelemetry-exporter-otlp-proto-grpc/src/opentelemetry/exporter/otlp/proto/grpc/__init__.py
@@ -71,5 +71,5 @@
71
"""
72
from .version import __version__
73
74
-_USER_AGENT_HEADER_VALUE = "OTel OTLP Exporter Python/" + __version__
+_USER_AGENT_HEADER_VALUE = "OTel-OTLP-Exporter-Python/" + __version__
75
_OTLP_GRPC_HEADERS = [("user-agent", _USER_AGENT_HEADER_VALUE)]
exporter/opentelemetry-exporter-otlp-proto-http/tests/test_proto_log_exporter.py
@@ -91,6 +91,7 @@ def test_constructor_default(self):
91
exporter._session.headers.get("Content-Type"),
92
"application/x-protobuf",
93
)
94
+ #self.assertTrue("OTel-OTLP-Exporter-Python/" in exporter._session.headers.get("User-Agent"))
95
96
@patch.dict(
97
"os.environ",
0 commit comments