From 0acf1b564048439fa145e389211fd0fdd4399ad0 Mon Sep 17 00:00:00 2001 From: Sean McGary Date: Fri, 24 May 2024 13:01:12 -0500 Subject: [PATCH] Use global service name --- eigenlayer-payment-updater/templates/cron.yaml | 4 ++++ pkg/tracer/tracer.go | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/eigenlayer-payment-updater/templates/cron.yaml b/eigenlayer-payment-updater/templates/cron.yaml index 83ec604..19ec0d9 100644 --- a/eigenlayer-payment-updater/templates/cron.yaml +++ b/eigenlayer-payment-updater/templates/cron.yaml @@ -5,6 +5,8 @@ metadata: name: {{ .Values.cronJob.name }} namespace: {{ .Values.cronJob.namespace }} labels: + tags.datadoghq.com/env: development + tags.datadoghq.com/version: "0.0.1" tags.datadoghq.com/service: "{{ .Values.cronJob.name }}" app: {{ .Values.cronJob.name }} spec: @@ -14,6 +16,8 @@ spec: template: metadata: labels: + tags.datadoghq.com/env: development + tags.datadoghq.com/version: "0.0.1" tags.datadoghq.com/service: "{{ .Values.cronJob.name }}" admission.datadoghq.com/enabled: "true" spec: diff --git a/pkg/tracer/tracer.go b/pkg/tracer/tracer.go index 0e0d6e9..1a2a7ad 100644 --- a/pkg/tracer/tracer.go +++ b/pkg/tracer/tracer.go @@ -21,7 +21,7 @@ func NewTracer() opentracing.Tracer { t = opentracing.NoopTracer{} } t = opentracer.New( - tracer.WithServiceName("eigenlayer-payment-updater"), + tracer.WithGlobalServiceName(true), ) return t }