Skip to content

Commit

Permalink
Use global service name
Browse files Browse the repository at this point in the history
  • Loading branch information
seanmcgary committed May 24, 2024
1 parent 9080037 commit 0acf1b5
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions eigenlayer-payment-updater/templates/cron.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion pkg/tracer/tracer.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ func NewTracer() opentracing.Tracer {
t = opentracing.NoopTracer{}
}
t = opentracer.New(
tracer.WithServiceName("eigenlayer-payment-updater"),
tracer.WithGlobalServiceName(true),
)
return t
}

0 comments on commit 0acf1b5

Please sign in to comment.