Skip to content

Commit

Permalink
adjusting configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
pszkamruk-splunk committed Sep 30, 2024
1 parent 4ba7a22 commit 592730d
Showing 1 changed file with 0 additions and 70 deletions.
70 changes: 0 additions & 70 deletions helm-charts/splunk-otel-collector/templates/config/_common.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -215,71 +215,9 @@ k8sattributes/clusterReceiver:
- sources:
- from: resource_attribute
name: k8s.namespace.name
- sources:
- from: resource_attribute
name: k8s.pod.uid
- sources:
- from: resource_attribute
name: k8s.pod.ip
{{/* - sources:*/}}
{{/* - from: resource_attribute*/}}
{{/* name: ip*/}}
- sources:
- from: connection
{{/* - sources:*/}}
{{/* - from: resource_attribute*/}}
{{/* name: host.name*/}}
- sources:
- from: resource_attribute
name: k8s.pod.name
- sources:
- from: resource_attribute
name: k8s.pod.hostname
- sources:
- from: resource_attribute
name: k8s.pod.start_time
- sources:
- from: resource_attribute
name: k8s.replicaset.uid
- sources:
- from: resource_attribute
name: k8s.replicaset.name
- sources:
- from: resource_attribute
name: k8s.deployment.uid
- sources:
- from: resource_attribute
name: k8s.deployment.name
- sources:
- from: resource_attribute
name: k8s.daemonset.uid
- sources:
- from: resource_attribute
name: k8s.daemonset.name
- sources:
- from: resource_attribute
name: k8s.statefulset.uid
- sources:
- from: resource_attribute
name: k8s.statefulset.name
- sources:
- from: resource_attribute
name: k8s.cronjob.uid
- sources:
- from: resource_attribute
name: k8s.cronjob.name
- sources:
- from: resource_attribute
name: k8s.job.uid
- sources:
- from: resource_attribute
name: k8s.job.name
- sources:
- from: resource_attribute
name: k8s.node.name
- sources:
- from: resource_attribute
name: k8s.cluster.uid
extract:
metadata:
- k8s.namespace.name
Expand All @@ -298,14 +236,6 @@ k8sattributes/clusterReceiver:
- key: splunk.com/index
tag_name: com.splunk.index
from: pod
{{- include "splunk-otel-collector.addExtraAnnotations" . | nindent 6 }}
{{- if or .Values.extraAttributes.podLabels .Values.extraAttributes.fromLabels }}
labels:
{{- range .Values.extraAttributes.podLabels }}
- key: {{ . }}
{{- end }}
{{- include "splunk-otel-collector.addExtraLabels" . | nindent 6 }}
{{- end }}
{{- end }}

{{/*
Expand Down

0 comments on commit 592730d

Please sign in to comment.