Skip to content

Commit 44f7e67

Browse files
authored
Remove v2/datapoint from end of ingest_url (#57)
With `v2/datapoint` set on the end it results in trying to send events to `/v2/datapoint/v2/event` which is not correct. Removing the path will result in the right suffix being used for metrics and events.
1 parent 7688254 commit 44f7e67

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

helm-charts/splunk-otel-collector/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
apiVersion: v2
22
name: splunk-otel-collector
3-
version: 0.20.3
3+
version: 0.20.4
44
description: Splunk OpenTelemetry Connector for Kubernetes
55
type: application
66
keywords:

helm-charts/splunk-otel-collector/templates/config/_otel-agent.tpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ exporters:
130130
# TODO: Change to otel conventions when mappings are changed.
131131
k8s.pod.uid: kubernetes_pod_uid
132132
container.id: container_id
133-
ingest_url: {{ include "splunk-otel-collector.ingestUrl" . }}/v2/datapoint
133+
ingest_url: {{ include "splunk-otel-collector.ingestUrl" . }}
134134
api_url: {{ include "splunk-otel-collector.apiUrl" . }}
135135
access_token: ${SPLUNK_ACCESS_TOKEN}
136136
send_compatible_metrics: true

helm-charts/splunk-otel-collector/templates/config/_otel-collector.tpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ processors:
6262
exporters:
6363
{{- include "splunk-otel-collector.otelSapmExporter" . | nindent 2 }}
6464
signalfx:
65-
ingest_url: {{ include "splunk-otel-collector.ingestUrl" . }}/v2/datapoint
65+
ingest_url: {{ include "splunk-otel-collector.ingestUrl" . }}
6666
api_url: {{ include "splunk-otel-collector.apiUrl" . }}
6767
access_token: ${SPLUNK_ACCESS_TOKEN}
6868
send_compatible_metrics: true

helm-charts/splunk-otel-collector/templates/config/_otel-k8s-cluster-receiver-config.tpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ processors:
4444

4545
exporters:
4646
signalfx:
47-
ingest_url: {{ include "splunk-otel-collector.ingestUrl" . }}/v2/datapoint
47+
ingest_url: {{ include "splunk-otel-collector.ingestUrl" . }}
4848
api_url: {{ include "splunk-otel-collector.apiUrl" . }}
4949
access_token: ${SPLUNK_ACCESS_TOKEN}
5050
send_compatible_metrics: true

0 commit comments

Comments
 (0)