Skip to content

Commit 57b26f5

Browse files
authored
Enable host metadata updates (#22)
1 parent ebd5b34 commit 57b26f5

File tree

4 files changed

+4
-3
lines changed

4 files changed

+4
-3
lines changed

helm-charts/o11y-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: o11y-collector
3-
version: 0.1.0
3+
version: 0.2.0
44
description: Splunk Observability Collector for Kubernetes Helm Chart
55
type: application
66
keywords:

helm-charts/o11y-collector/config/otel-agent-config.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -142,6 +142,7 @@ exporters:
142142
# Will be set to {{ .Values.splunkAccessToken }}
143143
access_token:
144144
send_compatible_metrics: true
145+
sync_host_metadata: true
145146
timeout: 5s
146147

147148
service:

helm-charts/o11y-collector/templates/daemonset.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ spec:
134134

135135
# Host specific resource attributes
136136
- name: OTEL_RESOURCE
137-
value: host=$(K8S_NODE_NAME),k8s.node.name=$(K8S_NODE_NAME)
137+
value: host.name=$(K8S_NODE_NAME),k8s.node.name=$(K8S_NODE_NAME)
138138
{{- end }}
139139

140140
readinessProbe:

helm-charts/o11y-collector/values.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -521,7 +521,7 @@ image:
521521
# The name of the opentelemetry collector image to pull
522522
name: otel/opentelemetry-collector-contrib-dev
523523
# The tag of the opentelemetry collector image to pull
524-
tag: 01929002a8cb5029a338bda86d06778e3017c672
524+
tag: e3493cedf4b6f7419be7e4e61b4186e51073f411
525525
# The policy that specifies when the user wants the opentelemetry collector images to be pulled
526526
pullPolicy: IfNotPresent
527527

0 commit comments

Comments
 (0)