Skip to content

Commit

Permalink
add new attributes for SCK
Browse files Browse the repository at this point in the history
  • Loading branch information
Vihas Makwana committed Feb 9, 2023
1 parent b7964c7 commit aeaaecf
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,9 @@ resource/logs:
- key: container_name
from_attribute: k8s.container.name
action: upsert
- key: container_image
from_attribute: container.image.name
action: upsert
- key: cluster_name
from_attribute: k8s.cluster.name
action: upsert
Expand All @@ -133,6 +136,9 @@ resource/logs:
- key: namespace
from_attribute: k8s.namespace.name
action: upsert
- key: label_app
from_attribute: k8s.pod.labels.app
action: upsert
{{- range $_, $label := .Values.extraAttributes.podLabels }}
- key: {{ printf "label_%s" $label }}
from_attribute: {{ printf "k8s.pod.labels.%s" $label }}
Expand Down

0 comments on commit aeaaecf

Please sign in to comment.