Skip to content

Commit

Permalink
Merge pull request #1596 from dmitchsplunk/patch-1
Browse files Browse the repository at this point in the history
Update instrument-java-application.rst
  • Loading branch information
bhillmer authored Nov 14, 2024
2 parents 09fd3af + 32e4583 commit c2ee752
Showing 1 changed file with 6 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -260,12 +260,16 @@ If you need to send data directly to Splunk Observability Cloud, set the followi
.. code-tab:: bash Linux

export SPLUNK_ACCESS_TOKEN=<access_token>
export SPLUNK_REALM=<realm>
export OTEL_EXPORTER_OTLP_TRACES_PROTOCOL=http/protobuf
export OTEL_EXPORTER_OTLP_TRACES_ENDPOINT=https://ingest.<realm>.signalfx.com/v2/trace/otlp
export OTEL_LOGS_EXPORTER=none

.. code-tab:: shell Windows PowerShell

$env:SPLUNK_ACCESS_TOKEN=<access_token>
$env:SPLUNK_REALM=<realm>
$env:OTEL_EXPORTER_OTLP_TRACES_PROTOCOL=http/protobuf
$env:OTEL_EXPORTER_OTLP_TRACES_ENDPOINT=https://ingest.<realm>.signalfx.com/v2/trace/otlp
$env:OTEL_LOGS_EXPORTER=none

To obtain an access token, see :ref:`admin-api-access-tokens`.

Expand Down

0 comments on commit c2ee752

Please sign in to comment.