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
+6-2Lines changed: 6 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -53,7 +53,7 @@ The following settings are specific to the Splunk Distribution of OpenTelemetry
53
53
* - ``SPLUNK_ACCESS_TOKEN``
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
-
- 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.
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. This setting applies only to metrics and traces and does not work for logs.
57
57
* - ``SPLUNK_TRACE_RESPONSE_HEADER_ENABLED``
58
58
- 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
59
* - ``OTEL_LOG_LEVEL``
@@ -104,6 +104,8 @@ The following settings control trace exporters and their endpoints:
104
104
- The traces exporter to use. The default value is ``otlp``. Acceptable values are ``otlp`` and ``none``. Setting ``none`` deactivates trace exports.
105
105
* - ``OTEL_METRICS_EXPORTER``
106
106
- The metrics exporter to use. The default value is ``otlp``. Accepted values are ``otlp`` and ``none``. Setting ``none`` deactivates metric exports.
107
+
* - ``OTEL_LOGS_EXPORTER``
108
+
- The logs exporter to use. The default value is ``none``. Accepted values are ``otlp`` and ``none``. Setting ``none`` deactivates logs exports.
107
109
* - ``OTEL_METRIC_EXPORT_INTERVAL``
108
110
- Interval, in milliseconds, between the start of two export attempts. The default value is ``60000``.
109
111
* - ``OTEL_METRIC_EXPORT_TIMEOUT``
@@ -114,7 +116,9 @@ The following settings control trace exporters and their endpoints:
114
116
- The OTLP endpoint for traces. The default value is ``http://localhost:4317``.
115
117
* - ``OTEL_EXPORTER_OTLP_METRICS_ENDPOINT``
116
118
- The OTLP endpoint. The default value is ``http://localhost:4317``.
117
-
119
+
* - ``OTEL_EXPORTER_OTLP_LOGS_ENDPOINT``
120
+
- The OTLP endpoint. The default value is ``http://localhost:4317``.
121
+
118
122
To send data directly to Splunk Observability Cloud, see :ref:`export-directly-to-olly-cloud-go`.
0 commit comments