Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update default exporter for traces to otlphttp #1518

Merged
Merged
Show file tree
Hide file tree
Changes from 6 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions .chloggen/update-default-traces-exporter-to-otlphttp.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# One of 'breaking', 'deprecation', 'new_component', 'enhancement', 'bug_fix'
change_type: breaking
# The name of the component, or a single word describing the area of concern, (e.g. agent, clusterReceiver, gateway, operator, chart, other)
component: operator
asreehari-splunk marked this conversation as resolved.
Show resolved Hide resolved
# A brief description of the change. Surround your text with quotes ("") if it needs to start with a backtick (`).
note: update default traces exporter to otlphttp
# One or more tracking issues related to the change
issues: [1518]
# (Optional) One or more lines of additional information to render under the primary note.
# These lines will be padded with 2 spaces and then inserted directly into the document.
# Use pipe (|) for multiline entries.
subtext: |
If you use the sapm exporter with custom settings, you have two options:
- Migrate your sapm settings to the new otlphttp exporter.
- Retain SAPM settings by moving them to your agent.config or gateway.config overrides to ensure they remain effective.
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,17 @@ metadata:
data:
relay: |
exporters:
otlphttp:
headers:
X-SF-Token: ${SPLUNK_OBSERVABILITY_ACCESS_TOKEN}
metrics_endpoint: https://ingest.CHANGEME.signalfx.com/v2/datapoint/otlp
sending_queue:
queue_size: 512
traces_endpoint: https://ingest.CHANGEME.signalfx.com/v2/trace/otlp
otlphttp/entities:
headers:
X-SF-Token: ${SPLUNK_OBSERVABILITY_ACCESS_TOKEN}
logs_endpoint: https://ingest.CHANGEME.signalfx.com/v3/event
sapm:
access_token: ${SPLUNK_OBSERVABILITY_ACCESS_TOKEN}
endpoint: https://ingest.CHANGEME.signalfx.com/v2/trace
signalfx:
access_token: ${SPLUNK_OBSERVABILITY_ACCESS_TOKEN}
api_url: https://api.CHANGEME.signalfx.com
Expand Down Expand Up @@ -472,7 +476,7 @@ data:
- prometheus/agent
traces:
exporters:
- sapm
- otlphttp
- signalfx
processors:
- memory_limiter
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ spec:
component: otel-collector-agent
release: default
annotations:
checksum/config: 4862f26e2f083ffb617ecd3f842356701bc183aa76a228b57bd6add5e7f6635e
checksum/config: c9fc5041cfa7025fc2ea26f376a7ab1278fd48e0fed42bffcb5241d059cd42b3
kubectl.kubernetes.io/default-container: otel-collector
spec:
hostNetwork: true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,17 @@ metadata:
data:
relay: |
exporters:
otlphttp:
headers:
X-SF-Token: ${SPLUNK_OBSERVABILITY_ACCESS_TOKEN}
metrics_endpoint: https://ingest.CHANGEME.signalfx.com/v2/datapoint/otlp
sending_queue:
queue_size: 512
traces_endpoint: https://ingest.CHANGEME.signalfx.com/v2/trace/otlp
otlphttp/entities:
headers:
X-SF-Token: ${SPLUNK_OBSERVABILITY_ACCESS_TOKEN}
logs_endpoint: https://ingest.CHANGEME.signalfx.com/v3/event
sapm:
access_token: ${SPLUNK_OBSERVABILITY_ACCESS_TOKEN}
endpoint: https://ingest.CHANGEME.signalfx.com/v2/trace
signalfx:
access_token: ${SPLUNK_OBSERVABILITY_ACCESS_TOKEN}
api_url: https://api.CHANGEME.signalfx.com
Expand Down Expand Up @@ -422,7 +426,7 @@ data:
- prometheus/agent
traces:
exporters:
- sapm
- otlphttp
- signalfx
processors:
- memory_limiter
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ spec:
component: otel-collector-agent
release: default
annotations:
checksum/config: ad596a61d53914bd4ef7cde042d55266ea096e8c8a5637cecaef2ecf5ce00c6f
checksum/config: ca6134da5f0207f904218bcbd6b718cb6fd705da6d5b4d6e3620f4c3d745c222
kubectl.kubernetes.io/default-container: otel-collector
spec:
hostNetwork: true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,17 @@ metadata:
data:
relay: |
exporters:
otlphttp:
headers:
X-SF-Token: ${SPLUNK_OBSERVABILITY_ACCESS_TOKEN}
metrics_endpoint: https://ingest.CHANGEME.signalfx.com/v2/datapoint/otlp
sending_queue:
queue_size: 512
traces_endpoint: https://ingest.CHANGEME.signalfx.com/v2/trace/otlp
otlphttp/entities:
headers:
X-SF-Token: ${SPLUNK_OBSERVABILITY_ACCESS_TOKEN}
logs_endpoint: https://ingest.CHANGEME.signalfx.com/v3/event
sapm:
access_token: ${SPLUNK_OBSERVABILITY_ACCESS_TOKEN}
endpoint: https://ingest.CHANGEME.signalfx.com/v2/trace
signalfx:
access_token: ${SPLUNK_OBSERVABILITY_ACCESS_TOKEN}
api_url: https://api.CHANGEME.signalfx.com
Expand Down Expand Up @@ -300,7 +304,7 @@ data:
- prometheus/agent
traces:
exporters:
- sapm
- otlphttp
- signalfx
processors:
- memory_limiter
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ spec:
component: otel-collector-agent
release: default
annotations:
checksum/config: a08848ea1a480939f703fa88ccd6a6922b64fc532baee310c10f47d3c08158f6
checksum/config: 9e816906feac830a7daaea231cd98babfb5d545f7db3c3244899990c9967e6a6
kubectl.kubernetes.io/default-container: otel-collector
spec:
hostNetwork: true
Expand Down
12 changes: 8 additions & 4 deletions examples/add-sampler/rendered_manifests/configmap-agent.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,17 @@ metadata:
data:
relay: |
exporters:
otlphttp:
headers:
X-SF-Token: ${SPLUNK_OBSERVABILITY_ACCESS_TOKEN}
metrics_endpoint: https://ingest.CHANGEME.signalfx.com/v2/datapoint/otlp
sending_queue:
queue_size: 512
traces_endpoint: https://ingest.CHANGEME.signalfx.com/v2/trace/otlp
otlphttp/entities:
headers:
X-SF-Token: ${SPLUNK_OBSERVABILITY_ACCESS_TOKEN}
logs_endpoint: https://ingest.CHANGEME.signalfx.com/v3/event
sapm:
access_token: ${SPLUNK_OBSERVABILITY_ACCESS_TOKEN}
endpoint: https://ingest.CHANGEME.signalfx.com/v2/trace
signalfx:
access_token: ${SPLUNK_OBSERVABILITY_ACCESS_TOKEN}
api_url: https://api.CHANGEME.signalfx.com
Expand Down Expand Up @@ -288,7 +292,7 @@ data:
- prometheus/agent
traces:
exporters:
- sapm
- otlphttp
- signalfx
processors:
- memory_limiter
Expand Down
2 changes: 1 addition & 1 deletion examples/add-sampler/rendered_manifests/daemonset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ spec:
component: otel-collector-agent
release: default
annotations:
checksum/config: 5b9bcb88a530865d90b45564e31f60aa07f4aca3a15e683899eec312b1580c3f
checksum/config: 5e9aba6fd857390ffac9f4924c165f3306f5358a3f265ac5844f8bd6d5dc8b8d
kubectl.kubernetes.io/default-container: otel-collector
spec:
hostNetwork: true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,17 @@ metadata:
data:
relay: |
exporters:
otlphttp:
headers:
X-SF-Token: ${SPLUNK_OBSERVABILITY_ACCESS_TOKEN}
metrics_endpoint: https://ingest.CHANGEME.signalfx.com/v2/datapoint/otlp
sending_queue:
queue_size: 512
traces_endpoint: https://ingest.CHANGEME.signalfx.com/v2/trace/otlp
otlphttp/entities:
headers:
X-SF-Token: ${SPLUNK_OBSERVABILITY_ACCESS_TOKEN}
logs_endpoint: https://ingest.CHANGEME.signalfx.com/v3/event
sapm:
access_token: ${SPLUNK_OBSERVABILITY_ACCESS_TOKEN}
endpoint: https://ingest.CHANGEME.signalfx.com/v2/trace
signalfx:
access_token: ${SPLUNK_OBSERVABILITY_ACCESS_TOKEN}
api_url: https://api.CHANGEME.signalfx.com
Expand Down Expand Up @@ -464,7 +468,7 @@ data:
- prometheus/agent
traces:
exporters:
- sapm
- otlphttp
- signalfx
processors:
- memory_limiter
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ spec:
component: otel-collector-agent
release: default
annotations:
checksum/config: f35725fe89125f3d9f76abb9d5e6f9a5a31d1581aa829886ffcfd0516eafaa79
checksum/config: 57e31c797a02a7baa8f86c69ee78ca282aeb6630fe8444a9714bf57e9878c9bc
kubectl.kubernetes.io/default-container: otel-collector
sidecar.istio.io/inject: "false"
spec:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,17 @@ metadata:
data:
relay: |
exporters:
otlphttp:
headers:
X-SF-Token: ${SPLUNK_OBSERVABILITY_ACCESS_TOKEN}
metrics_endpoint: https://ingest.CHANGEME.signalfx.com/v2/datapoint/otlp
sending_queue:
queue_size: 512
traces_endpoint: https://ingest.CHANGEME.signalfx.com/v2/trace/otlp
otlphttp/entities:
headers:
X-SF-Token: ${SPLUNK_OBSERVABILITY_ACCESS_TOKEN}
logs_endpoint: https://ingest.CHANGEME.signalfx.com/v3/event
sapm:
access_token: ${SPLUNK_OBSERVABILITY_ACCESS_TOKEN}
endpoint: https://ingest.CHANGEME.signalfx.com/v2/trace
signalfx:
access_token: ${SPLUNK_OBSERVABILITY_ACCESS_TOKEN}
api_url: https://api.CHANGEME.signalfx.com
Expand Down Expand Up @@ -285,7 +289,7 @@ data:
- prometheus/agent
traces:
exporters:
- sapm
- otlphttp
- signalfx
processors:
- memory_limiter
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ spec:
component: otel-collector-agent
release: default
annotations:
checksum/config: 71289ab7fac49bdf026a3731813f2fbc4aae35aa80f89f5650f8d64c837ff81c
checksum/config: 884cb44c26014e321c62bc1db928bc9f3c5282f1a5afe5ba28be9eddd355a5f5
kubectl.kubernetes.io/default-container: otel-collector
spec:
hostNetwork: true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,13 @@ metadata:
data:
relay: |
exporters:
sapm:
access_token: ${SPLUNK_OBSERVABILITY_ACCESS_TOKEN}
endpoint: https://ingest.CHANGEME.signalfx.com/v2/trace
otlphttp:
headers:
X-SF-Token: ${SPLUNK_OBSERVABILITY_ACCESS_TOKEN}
metrics_endpoint: https://ingest.CHANGEME.signalfx.com/v2/datapoint/otlp
sending_queue:
num_consumers: 32
queue_size: 512
traces_endpoint: https://ingest.CHANGEME.signalfx.com/v2/trace/otlp
signalfx:
access_token: ${SPLUNK_OBSERVABILITY_ACCESS_TOKEN}
api_url: https://api.CHANGEME.signalfx.com
Expand Down Expand Up @@ -202,7 +204,7 @@ data:
- prometheus/collector
traces:
exporters:
- sapm
- otlphttp
processors:
- memory_limiter
- k8sattributes
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ spec:
component: otel-collector
release: default
annotations:
checksum/config: a75cfb40a3322e3aa581e71872aaa2d7555dba7f996b4144b1e637fb4af106e8
checksum/config: 05b2843fe603b52a5ebcd322ca80596572276a84ae4521122a42cc1456e945b4
spec:
serviceAccountName: default-splunk-otel-collector
nodeSelector:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,13 @@ metadata:
data:
relay: |
exporters:
sapm:
access_token: ${SPLUNK_OBSERVABILITY_ACCESS_TOKEN}
endpoint: https://ingest.CHANGEME.signalfx.com/v2/trace
otlphttp:
headers:
X-SF-Token: ${SPLUNK_OBSERVABILITY_ACCESS_TOKEN}
metrics_endpoint: https://ingest.CHANGEME.signalfx.com/v2/datapoint/otlp
sending_queue:
num_consumers: 32
queue_size: 512
traces_endpoint: https://ingest.CHANGEME.signalfx.com/v2/trace/otlp
signalfx:
access_token: ${SPLUNK_OBSERVABILITY_ACCESS_TOKEN}
api_url: https://api.CHANGEME.signalfx.com
Expand Down Expand Up @@ -202,7 +204,7 @@ data:
- prometheus/collector
traces:
exporters:
- sapm
- otlphttp
processors:
- memory_limiter
- k8sattributes
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ spec:
component: otel-collector
release: default
annotations:
checksum/config: a75cfb40a3322e3aa581e71872aaa2d7555dba7f996b4144b1e637fb4af106e8
checksum/config: 05b2843fe603b52a5ebcd322ca80596572276a84ae4521122a42cc1456e945b4
spec:
serviceAccountName: default-splunk-otel-collector
nodeSelector:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,17 @@ metadata:
data:
relay: |
exporters:
otlphttp:
headers:
X-SF-Token: ${SPLUNK_OBSERVABILITY_ACCESS_TOKEN}
metrics_endpoint: https://ingest.CHANGEME.signalfx.com/v2/datapoint/otlp
sending_queue:
queue_size: 512
traces_endpoint: https://ingest.CHANGEME.signalfx.com/v2/trace/otlp
otlphttp/entities:
headers:
X-SF-Token: ${SPLUNK_OBSERVABILITY_ACCESS_TOKEN}
logs_endpoint: https://ingest.CHANGEME.signalfx.com/v3/event
sapm:
access_token: ${SPLUNK_OBSERVABILITY_ACCESS_TOKEN}
endpoint: https://ingest.CHANGEME.signalfx.com/v2/trace
signalfx:
access_token: ${SPLUNK_OBSERVABILITY_ACCESS_TOKEN}
api_url: https://api.CHANGEME.signalfx.com
Expand Down Expand Up @@ -325,7 +329,7 @@ data:
- receiver_creator
traces:
exporters:
- sapm
- otlphttp
- signalfx
processors:
- memory_limiter
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ spec:
component: otel-collector-agent
release: default
annotations:
checksum/config: b247aa05c77c61ca433e70fc8a4f4785dce779de9ccaf88aa92afefe9d514f4a
checksum/config: 3d9b91e0c1acdff209ed2c72b767a0d1df472755de59d011609f13ab0bb6b4a2
kubectl.kubernetes.io/default-container: otel-collector
spec:
hostNetwork: true
Expand Down
12 changes: 8 additions & 4 deletions examples/crio-logging/rendered_manifests/configmap-agent.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,17 @@ metadata:
data:
relay: |
exporters:
otlphttp:
headers:
X-SF-Token: ${SPLUNK_OBSERVABILITY_ACCESS_TOKEN}
metrics_endpoint: https://ingest.CHANGEME.signalfx.com/v2/datapoint/otlp
sending_queue:
queue_size: 512
traces_endpoint: https://ingest.CHANGEME.signalfx.com/v2/trace/otlp
otlphttp/entities:
headers:
X-SF-Token: ${SPLUNK_OBSERVABILITY_ACCESS_TOKEN}
logs_endpoint: https://ingest.CHANGEME.signalfx.com/v3/event
sapm:
access_token: ${SPLUNK_OBSERVABILITY_ACCESS_TOKEN}
endpoint: https://ingest.CHANGEME.signalfx.com/v2/trace
signalfx:
access_token: ${SPLUNK_OBSERVABILITY_ACCESS_TOKEN}
api_url: https://api.CHANGEME.signalfx.com
Expand Down Expand Up @@ -285,7 +289,7 @@ data:
- prometheus/agent
traces:
exporters:
- sapm
- otlphttp
- signalfx
processors:
- memory_limiter
Expand Down
2 changes: 1 addition & 1 deletion examples/crio-logging/rendered_manifests/daemonset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ spec:
component: otel-collector-agent
release: default
annotations:
checksum/config: 71289ab7fac49bdf026a3731813f2fbc4aae35aa80f89f5650f8d64c837ff81c
checksum/config: 884cb44c26014e321c62bc1db928bc9f3c5282f1a5afe5ba28be9eddd355a5f5
kubectl.kubernetes.io/default-container: otel-collector
spec:
hostNetwork: true
Expand Down
Loading
Loading