Skip to content

Commit

Permalink
Removed duplicate OpenTelemetry resource attributes
Browse files Browse the repository at this point in the history
  • Loading branch information
bastianeicher committed Jan 8, 2024
1 parent 53e858f commit c5f335b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion charts/generic-service/templates/controller.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -394,7 +394,7 @@ spec:
value: {{ include "generic-service.fullname" . }}
{{- end }}
- name: OTEL_RESOURCE_ATTRIBUTES
value: 'service.namespace={{ .Release.Namespace }},service.version={{ .Values.version | default .Values.image.tag }},service.instance.id=$(POD_NAME),k8s.pod.name=$(POD_NAME),k8s.namespace.name=$(POD_NAMESPACE),k8s.node.name=$(NODE_NAME)'
value: 'service.namespace={{ .Release.Namespace }},service.version={{ .Values.version | default .Values.image.tag }},service.instance.id=$(POD_NAME),k8s.node.name=$(NODE_NAME)'
{{- if ne (float64 .Values.tracing.probability) 1.0 }}
- name: OTEL_TRACES_SAMPLER
value: parentbased_traceidratio
Expand Down

0 comments on commit c5f335b

Please sign in to comment.