Skip to content

Commit 7f90aef

Browse files
Merge pull request splunk#1729 from breedx-splk/patch-11
Fix metrics endpoint path
2 parents d382115 + e91d2d8 commit 7f90aef

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

gdi/opentelemetry/components/otlphttp-exporter.rst

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ The following settings are optional and can be added to the configuration for mo
4646

4747
* ``logs_endpoint``. The target URL to send log data to. For example, ``https://example.com:4318/v1/logs``.
4848

49-
* ``metrics_endpoint``. The target URL to send metric data to. For example, ``"https://ingest.us0.signalfx.com/v2/trace/otlp"`` to send metrics to Splunk Observability Cloud.
49+
* ``metrics_endpoint``. The target URL to send metric data to. For example, ``"https://ingest.<realm>.signalfx.com/v2/datapoint/otlp"`` to send metrics to Splunk Observability Cloud.
5050

5151
* ``tls``. See :ref:`TLS Configuration Settings <otlphttp-exporter-settings>` in this document for the full set of available options. Only applicable for sending data to a custom endpoint.
5252

@@ -67,6 +67,8 @@ To send traces and metrics to Splunk Observability Cloud using OTLP over HTTP, c
6767
otlphttp:
6868
# The target URL to send trace data to. By default it's set to ``https://ingest.${SPLUNK_REALM}.signalfx.com/v2/trace/otlp``.
6969
traces_endpoint: https://ingest.<realm>.signalfx.com/v2/trace/otlp
70+
# The target URL to send metrics data to. By default it's set to ``https://ingest.${SPLUNK_REALM}.signalfx.com/v2/datapoint/otlp``.
71+
metrics_endpoint: https://ingest.<realm>.signalfx.com/v2/datapoint/otlp
7072
# Set of HTTP headers added to every request.
7173
headers:
7274
# X-SF-Token is the authentication token provided by Splunk Observability Cloud.
@@ -92,8 +94,8 @@ This is a detailed configuration example:
9294
.. code-block:: yaml
9395
9496
endpoint: "https://1.2.3.4:1234"
95-
traces_endpoint: https://ingest.us0.signalfx.com/v2/trace/otlp
96-
metrics_endpoint: https://ingest.us0.signalfx.com/v2/datapoint/otlp
97+
traces_endpoint: https://ingest.<realm>.signalfx.com/v2/trace/otlp
98+
metrics_endpoint: https://ingest.<realm>.signalfx.com/v2/datapoint/otlp
9799
headers:
98100
X-SF-Token: <access_token>
99101
timeout: 10s
@@ -160,8 +162,8 @@ For example:
160162
161163
exporters:
162164
otlphttp:
163-
metrics_endpoint: https://ingest.lab0.signalfx.com/v2/datapoint/otlp
164-
traces_endpoint: https://ingest.lab0.signalfx.com/v2/trace/otlp
165+
metrics_endpoint: https://ingest.<realm>.signalfx.com/v2/datapoint/otlp
166+
traces_endpoint: https://ingest.<realm>.signalfx.com/v2/trace/otlp
165167
headers:
166168
"X-SF-Token": "mytoken"
167169
auth:

0 commit comments

Comments
 (0)