generated from nginx/template-repository
-
Notifications
You must be signed in to change notification settings - Fork 31
Closed
Description
Is your feature request related to a problem? Please describe
Currently the traces that are logged via this module don't have environment metadata which means I cannot filter traces by environment in Elastic APM. e.g. development/test/staging/production
This feature and why it's useful is explained perfectly in this opentelemetry doco
Describe the solution you'd like
Just like we can set otel_service_name as per nginx-otel doco
I'd like to be able to set the environment with a directive called otel_service_environment
Bonus if you include service.node.name and service.version too.
Describe alternatives you've considered
Adding the value using a resource processor within the otel-collector, which works, but isn't right IMO.
Metadata
Metadata
Assignees
Labels
No labels