Skip to content

Commit 7fce9b8

Browse files
committed
Update values as required for issue
1 parent af83ef1 commit 7fce9b8

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

Diff for: exporter/opentelemetry-exporter-otlp-proto-grpc/src/opentelemetry/exporter/otlp/proto/grpc/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -71,5 +71,5 @@
7171
"""
7272
from .version import __version__
7373

74-
_USER_AGENT_HEADER_VALUE = "OTel OTLP Exporter Python/" + __version__
74+
_USER_AGENT_HEADER_VALUE = "OTel-OTLP-Exporter-Python/" + __version__
7575
_OTLP_GRPC_HEADERS = [("user-agent", _USER_AGENT_HEADER_VALUE)]

Diff for: exporter/opentelemetry-exporter-otlp-proto-http/tests/test_proto_log_exporter.py

+1
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,7 @@ def test_constructor_default(self):
9191
exporter._session.headers.get("Content-Type"),
9292
"application/x-protobuf",
9393
)
94+
#self.assertTrue("OTel-OTLP-Exporter-Python/" in exporter._session.headers.get("User-Agent"))
9495

9596
@patch.dict(
9697
"os.environ",

0 commit comments

Comments
 (0)