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

Commit 8d7ee9b

Browse files
committed
Exporters cofigurations added and note to SPLUNK_REALM
1 parent 697d9d6 commit 8d7ee9b

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

gdi/get-data-in/application/go/configuration/advanced-go-otel-configuration.rst

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ The following settings are specific to the Splunk Distribution of OpenTelemetry
5454
- A Splunk authentication token that lets exporters send data directly to Splunk Observability Cloud. Unset by default. Not required unless you need to send data to the Splunk Observability Cloud ingest endpoint. See :ref:`admin-tokens`.
5555
* - ``SPLUNK_REALM``
5656
- The name of your organization's realm, for example, ``us0``. When you set the realm, telemetry is sent directly to the ingest endpoint of Splunk Observability Cloud, bypassing the Splunk Distribution of OpenTelemetry Collector.
57+
.. note:: This setting applies only to metrics and traces and does not work for logs.
5758
* - ``SPLUNK_TRACE_RESPONSE_HEADER_ENABLED``
5859
- Lets you add server trace information to HTTP response headers using the ``net/http`` instrumentation package. For more information, see :ref:`server-trace-information-go`. The default value is ``true``.
5960
* - ``OTEL_LOG_LEVEL``
@@ -104,6 +105,8 @@ The following settings control trace exporters and their endpoints:
104105
- The traces exporter to use. The default value is ``otlp``. Acceptable values are ``otlp`` and ``none``. Setting ``none`` deactivates trace exports.
105106
* - ``OTEL_METRICS_EXPORTER``
106107
- The metrics exporter to use. The default value is ``otlp``. Accepted values are ``otlp`` and ``none``. Setting ``none`` deactivates metric exports.
108+
* - ``OTEL_LOGS_EXPORTER``
109+
- The logs exporter to use. The default value is ``otlp``. Accepted values are ``otlp`` and ``none``. Setting ``none`` deactivates logs exports.
107110
* - ``OTEL_METRIC_EXPORT_INTERVAL``
108111
- Interval, in milliseconds, between the start of two export attempts. The default value is ``60000``.
109112
* - ``OTEL_METRIC_EXPORT_TIMEOUT``
@@ -114,7 +117,8 @@ The following settings control trace exporters and their endpoints:
114117
- The OTLP endpoint for traces. The default value is ``http://localhost:4317``.
115118
* - ``OTEL_EXPORTER_OTLP_METRICS_ENDPOINT``
116119
- The OTLP endpoint. The default value is ``http://localhost:4317``.
117-
120+
* - ``OTEL_EXPORTER_OTLP_LOGS_ENDPOINT``
121+
- The OTLP endpoint. The default value is ``http://localhost:4317``.
118122
To send data directly to Splunk Observability Cloud, see :ref:`export-directly-to-olly-cloud-go`.
119123

120124
.. _trace-sampling-settings-go-otel:

0 commit comments

Comments
 (0)