opentelemetry-operator icon indicating copy to clipboard operation
opentelemetry-operator copied to clipboard

Choose service name based on rollout name

Open chenlujjj opened this issue 8 months ago • 3 comments

Component(s)

auto-instrumentation

Is your feature request related to a problem? Please describe.

We have some service using argocd rollout, now the chooseServiceName function returns its replicaset name which has random string suffix. We'd like to set service name as the rollout name.

Image Image

Describe the solution you'd like

update chooseServiceName function, fetch rollout name and use it as service name

Describe alternatives you've considered

Users set OTEL_SERVICE_NAME on themselves for each service

Additional context

No response

chenlujjj avatar Apr 08 '25 06:04 chenlujjj

Can you add how you are creating the rollout? Just to get more info about what you'd like to have.

iblancasa avatar Apr 08 '25 10:04 iblancasa

hello @iblancasa , we declare the rollout resource in our application helm chart, to perform canary release

chenlujjj avatar Apr 09 '25 10:04 chenlujjj

I meant if you can share the resource or a reproducer

iblancasa avatar Apr 09 '25 11:04 iblancasa