opentelemetry-operator
opentelemetry-operator copied to clipboard
Choose service name based on rollout name
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.
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
Can you add how you are creating the rollout? Just to get more info about what you'd like to have.
hello @iblancasa , we declare the rollout resource in our application helm chart, to perform canary release
I meant if you can share the resource or a reproducer