File tree Expand file tree Collapse file tree 4 files changed +5
-5
lines changed
exporter/opentelemetry-exporter-otlp/src/opentelemetry/exporter/otlp Expand file tree Collapse file tree 4 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 27
27
# optional
28
28
# endpoint:="myCollectorURL:55678",
29
29
# credentials=ChannelCredentials(credentials),
30
- # metadata =(("metadata", "metadata")),
30
+ # headers =(("metadata", "metadata")),
31
31
)
32
32
tracer_provider = TracerProvider ()
33
33
trace .set_tracer_provider (tracer_provider )
38
38
# optional
39
39
# endpoint:="myCollectorURL:55678",
40
40
# credentials=ChannelCredentials(credentials),
41
- # metadata =(("metadata", "metadata")),
41
+ # headers =(("metadata", "metadata")),
42
42
)
43
43
44
44
# Meter is responsible for creating and recording metrics
Original file line number Diff line number Diff line change @@ -141,7 +141,7 @@ class OTLPExporterMixin(
141
141
endpoint: OpenTelemetry Collector receiver endpoint
142
142
insecure: Connection type
143
143
credentials: ChannelCredentials object for server authentication
144
- metadata: Metadata to send when exporting
144
+ headers: Headers to send when exporting
145
145
compression: Compression algorithm to be used in channel
146
146
timeout: Backend request timeout in seconds
147
147
"""
Original file line number Diff line number Diff line change @@ -121,7 +121,7 @@ class OTLPMetricsExporter(
121
121
endpoint: OpenTelemetry Collector receiver endpoint
122
122
insecure: Connection type
123
123
credentials: Credentials object for server authentication
124
- metadata: Metadata to send when exporting
124
+ headers: Headers to send when exporting
125
125
timeout: Backend request timeout in seconds
126
126
"""
127
127
Original file line number Diff line number Diff line change @@ -58,7 +58,7 @@ class OTLPSpanExporter(
58
58
endpoint: OpenTelemetry Collector receiver endpoint
59
59
insecure: Connection type
60
60
credentials: Credentials object for server authentication
61
- metadata: Metadata to send when exporting
61
+ headers: Headers to send when exporting
62
62
timeout: Backend request timeout in seconds
63
63
"""
64
64
You can’t perform that action at this time.
0 commit comments