We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8bda596 commit 82e11e5Copy full SHA for 82e11e5
opamp/opentelemetry-opamp-client/src/opentelemetry/_opamp/client.py
@@ -36,7 +36,7 @@
36
37
_DEFAULT_OPAMP_TIMEOUT_MS = 1_000
38
39
-_OTLP_HTTP_HEADERS = {
+_OPAMP_HTTP_HEADERS = {
40
"Content-Type": "application/x-protobuf",
41
"User-Agent": "OTel-OpAMP-Python/" + __version__,
42
}
@@ -71,7 +71,7 @@ def __init__(
71
72
self._endpoint = endpoint
73
headers = headers or {}
74
- self._headers = {**_OTLP_HTTP_HEADERS, **headers}
+ self._headers = {**_OPAMP_HTTP_HEADERS, **headers}
75
76
self._agent_description = messages.build_agent_description(
77
identifying_attributes=agent_identifying_attributes,
0 commit comments