Skip to content

Commit

Permalink
Remove OTEL_SEREVICE_NAME from odiglet. (#695)
Browse files Browse the repository at this point in the history
Solves #694
Remove OTEL_SEREVICE_NAME from odiglet to avoid conflicting with the
service name used by go-auto-instrumentation.

Co-authored-by: Eden Federman <eden@keyval.dev>
  • Loading branch information
RonFed and edeNFed authored Oct 24, 2023
1 parent 115651e commit 3d0074f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions cli/cmd/resources/odiglet.go
Original file line number Diff line number Diff line change
Expand Up @@ -292,10 +292,10 @@ func NewOdigletDaemonSet(version string) *appsv1.DaemonSet {
Name: odigletContainerName,
Image: containers.GetImageName(OdigletImage, version),
Env: []corev1.EnvVar{
{
Name: "OTEL_SERVICE_NAME",
Value: odigletServiceName,
},
// {
// Name: "OTEL_SERVICE_NAME",
// Value: odigletServiceName,
// },
{
Name: "NODE_NAME",
ValueFrom: &corev1.EnvVarSource{
Expand Down

0 comments on commit 3d0074f

Please sign in to comment.