Skip to content

Commit d280848

Browse files
update TA configs with otlphttp exporter
1 parent f0f3e3b commit d280848

File tree

5 files changed

+14
-19
lines changed

5 files changed

+14
-19
lines changed

cmd/otelcol/config/collector/gateway_config.yaml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -91,13 +91,10 @@ processors:
9191

9292
exporters:
9393
# Traces
94-
sapm:
95-
access_token: "${SPLUNK_ACCESS_TOKEN}"
96-
endpoint: "https://ingest.${SPLUNK_REALM}.signalfx.com/v2/trace"
97-
sending_queue:
98-
num_consumers: 32
9994
otlphttp:
10095
traces_endpoint: "${SPLUNK_INGEST_URL}/v2/trace/otlp"
96+
sending_queue:
97+
num_consumers: 32
10198
headers:
10299
"X-SF-Token": "${SPLUNK_ACCESS_TOKEN}"
103100
# Metrics + Events

cmd/otelcol/fips/config/gateway_config.yaml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -89,13 +89,10 @@ processors:
8989

9090
exporters:
9191
# Traces
92-
sapm:
93-
access_token: "${SPLUNK_ACCESS_TOKEN}"
94-
endpoint: "https://ingest.${SPLUNK_REALM}.signalfx.com/v2/trace"
95-
sending_queue:
96-
num_consumers: 32
9792
otlphttp:
9893
traces_endpoint: "${SPLUNK_INGEST_URL}/v2/trace/otlp"
94+
sending_queue:
95+
num_consumers: 32
9996
headers:
10097
"X-SF-Token": "${SPLUNK_ACCESS_TOKEN}"
10198
# Metrics + Events

packaging/technical-addon/Splunk_TA_otel/configs/ta-agent-config.yaml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -121,9 +121,10 @@ processors:
121121

122122
exporters:
123123
# Traces
124-
sapm:
125-
access_token: "${env:SPLUNK_ACCESS_TOKEN}"
126-
endpoint: "${env:SPLUNK_INGEST_URL}/v2/trace"
124+
otlphttp:
125+
traces_endpoint: "${SPLUNK_INGEST_URL}/v2/trace/otlp"
126+
headers:
127+
"X-SF-Token": "${SPLUNK_ACCESS_TOKEN}"
127128
# Metrics + Events
128129
signalfx:
129130
access_token: "${env:SPLUNK_ACCESS_TOKEN}"
@@ -148,7 +149,7 @@ service:
148149
- batch
149150
- resourcedetection
150151
#- resource/add_environment
151-
exporters: [sapm, signalfx]
152+
exporters: [otlphttp, signalfx]
152153
metrics:
153154
receivers: [hostmetrics, otlp, signalfx]
154155
processors: [memory_limiter, batch, resourcedetection]

packaging/technical-addon/Splunk_TA_otel/configs/ta-gateway-config.yaml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -95,11 +95,12 @@ processors:
9595

9696
exporters:
9797
# Traces
98-
sapm:
99-
access_token: "${env:SPLUNK_ACCESS_TOKEN}"
100-
endpoint: "https://ingest.${env:SPLUNK_REALM}.signalfx.com/v2/trace"
98+
otlphttp:
99+
traces_endpoint: "${SPLUNK_INGEST_URL}/v2/trace/otlp"
101100
sending_queue:
102101
num_consumers: 32
102+
headers:
103+
"X-SF-Token": "${SPLUNK_ACCESS_TOKEN}"
103104
# Metrics + Events
104105
signalfx:
105106
access_token: "${env:SPLUNK_ACCESS_TOKEN}"
@@ -130,7 +131,7 @@ service:
130131
- memory_limiter
131132
- batch
132133
#- resource/add_environment
133-
exporters: [sapm]
134+
exporters: [otlphttp]
134135
metrics:
135136
receivers: [otlp, signalfx]
136137
processors: [memory_limiter, batch]

pkg/receiver/smartagentreceiver/README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,6 @@ exporters:
7272
access_token: "${SIGNALFX_ACCESS_TOKEN}"
7373
realm: us1
7474
otlphttp:
75-
metrics_endpoint: "https://ingest.${SPLUNK_REALM}.signalfx.com/v2/datapoint/otlp"
7675
traces_endpoint: "https://ingest.${SPLUNK_REALM}.signalfx.com/v2/trace/otlp"
7776
headers:
7877
"X-SF-Token": "${SPLUNK_ACCESS_TOKEN}"

0 commit comments

Comments
 (0)