Is your feature request related to a problem? Please describe.
Currently, in our Datadog metrics, we can see trace.lumen.request.hits. We are using it on several dashboards. Because we are using a modular monolith we have a dashboard per component and we used to exclude resources based on the resource name but it became complicated with a high number of routes. We would like to add the application level tag to a metric so we can exclude routes based on that tag. Is that possible?
Describe the solution you'd like
We want to have a custom tag set from application-level added to trace.lumen.request.hits metric
Describe alternatives you've considered
Duplicating a metric and sending it on our own with a proper tag
Additional context
I've tried using \DDTrace\add_global_tag() but unfortunately it didn't work
Is your feature request related to a problem? Please describe. Currently, in our Datadog metrics, we can see
trace.lumen.request.hits
. We are using it on several dashboards. Because we are using a modular monolith we have a dashboard per component and we used to exclude resources based on the resource name but it became complicated with a high number of routes. We would like to add the application level tag to a metric so we can exclude routes based on that tag. Is that possible?Describe the solution you'd like We want to have a custom tag set from application-level added to
trace.lumen.request.hits
metricDescribe alternatives you've considered Duplicating a metric and sending it on our own with a proper tag
Additional context I've tried using
\DDTrace\add_global_tag()
but unfortunately it didn't work