You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Sep 2, 2025. It is now read-only.
Copy file name to clipboardExpand all lines: gdi/get-data-in/application/go/configuration/advanced-go-otel-configuration.rst
+5-1Lines changed: 5 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -54,6 +54,7 @@ The following settings are specific to the Splunk Distribution of OpenTelemetry
54
54
- 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`.
55
55
* - ``SPLUNK_REALM``
56
56
- 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.
57
58
* - ``SPLUNK_TRACE_RESPONSE_HEADER_ENABLED``
58
59
- 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``.
59
60
* - ``OTEL_LOG_LEVEL``
@@ -104,6 +105,8 @@ The following settings control trace exporters and their endpoints:
104
105
- The traces exporter to use. The default value is ``otlp``. Acceptable values are ``otlp`` and ``none``. Setting ``none`` deactivates trace exports.
105
106
* - ``OTEL_METRICS_EXPORTER``
106
107
- 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.
107
110
* - ``OTEL_METRIC_EXPORT_INTERVAL``
108
111
- Interval, in milliseconds, between the start of two export attempts. The default value is ``60000``.
109
112
* - ``OTEL_METRIC_EXPORT_TIMEOUT``
@@ -114,7 +117,8 @@ The following settings control trace exporters and their endpoints:
114
117
- The OTLP endpoint for traces. The default value is ``http://localhost:4317``.
115
118
* - ``OTEL_EXPORTER_OTLP_METRICS_ENDPOINT``
116
119
- 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``.
118
122
To send data directly to Splunk Observability Cloud, see :ref:`export-directly-to-olly-cloud-go`.
0 commit comments