Open
Description
Describe the feature
Currently, queue-proxy uses the pod name as the service name in the traces it sends out. Link to line where this happens here:
Line 357 in 33dbc31
This is hard-coded and unchangeable. In a realistic APM scenario, this creates a proliferation of thousands of services in the APM UI which creates a lot of noise. It would be better to provide a more descriptive service name that reduces noise and provides a more useful list of knative services.
I see three options:
- Change the service name to be ServingRevision or ServingService, probably ServingRevision.
- Do number 1 but also make the value overrideable via label/env/config/etc so the kservice can dictate its own service name
- Use "queue-proxy" as the service name and let the user-container be the only one that outputs traces with the actual service name
Open to discussion on what people prefer.