Skip to content

Commit 720b7f6

Browse files
update trace endpoint for sapm
1 parent 1df9f57 commit 720b7f6

File tree

3 files changed

+3
-6
lines changed

3 files changed

+3
-6
lines changed

cmd/otelcol/config/collector/agent_config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ exporters:
129129
# Traces
130130
sapm:
131131
access_token: "${SPLUNK_ACCESS_TOKEN}"
132-
endpoint: "${SPLUNK_TRACE_URL}"
132+
endpoint: "${SPLUNK_INGEST_URL}/v2/trace"
133133
# Metrics + Events
134134
signalfx:
135135
access_token: "${SPLUNK_ACCESS_TOKEN}"

cmd/otelcol/fips/config/agent_config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ exporters:
119119
# Traces
120120
sapm:
121121
access_token: "${SPLUNK_ACCESS_TOKEN}"
122-
endpoint: "${SPLUNK_TRACE_URL}"
122+
endpoint: "${SPLUNK_INGEST_URL}/v2/trace"
123123
# Metrics + Events
124124
signalfx:
125125
access_token: "${SPLUNK_ACCESS_TOKEN}"

tests/general/default_config_test.go

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -65,15 +65,12 @@ func TestDefaultGatewayConfig(t *testing.T) {
6565
"num_consumers": 32,
6666
},
6767
},
68-
"otlp": map[string]any{
68+
"otlphttp": map[string]any{
6969
"headers": map[string]any{
7070
"X-SF-Token": "<redacted>",
7171
},
7272
"metrics_endpoint": "https://ingest.not.real.signalfx.com/v2/datapoint/otlp",
7373
"traces_endpoint": "https://ingest.not.real.signalfx.com/v2/trace/otlp",
74-
"sending_queue": map[string]any{
75-
"num_consumers": 32,
76-
},
7774
},
7875
"signalfx": map[string]any{
7976
"access_token": "<redacted>",

0 commit comments

Comments
 (0)