Skip to content
This repository was archived by the owner on Sep 2, 2025. It is now read-only.

Commit 96bd78a

Browse files
Merge pull request #2572 from splunk/urbiz-DG28150-otlp-exporter-clarify
[DG28150]: Add config passthrough
2 parents 31a802d + 75d76fc commit 96bd78a

File tree

1 file changed

+42
-0
lines changed

1 file changed

+42
-0
lines changed

gdi/opentelemetry/components/otlphttp-exporter.rst

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -124,6 +124,48 @@ By default, gzip compression is turned on. To turn it off use the following conf
124124
...
125125
compression: none
126126
127+
128+
Associate passthroughs to an access token
129+
------------------------------------------
130+
131+
The setting ``access_token_passthrough`` from the :ref:`splunk-apm-exporter` in no longer available.
132+
133+
To associate datapoints with an organization access token, make sure of the following:
134+
135+
* ``include_metadata`` is set to ``true`` in your ``otlp`` configuration
136+
* ``metadata_keys`` is set to the org token in the :ref:`batch-processor`
137+
138+
For example:
139+
140+
.. code-block:: yaml
141+
142+
extensions:
143+
headers_setter:
144+
headers:
145+
- action: insert
146+
key: X-SF-TOKEN
147+
from_context: X-SF-TOKEN
148+
149+
receivers:
150+
otlp:
151+
protocols:
152+
http:
153+
include_metadata: true
154+
155+
processors:
156+
batch:
157+
metadata_keys:
158+
- X-SF-Token
159+
160+
exporters:
161+
otlphttp:
162+
metrics_endpoint: https://ingest.lab0.signalfx.com/v2/datapoint/otlp
163+
traces_endpoint: https://ingest.lab0.signalfx.com/v2/trace/otlp
164+
headers:
165+
"X-SF-Token": "mytoken"
166+
auth:
167+
authenticator: headers_setter
168+
127169
.. _otlphttp-exporter-settings:
128170

129171
Settings

0 commit comments

Comments
 (0)