[processor/spanmetrics] Provide option to send error metrics as 0 in case of no errors #18478
Labels
closed as inactive
enhancement
New feature or request
processor/spanmetrics
Span Metrics processor
Stale
Component(s)
processor/spanmetrics
Is your feature request related to a problem? Please describe.
Currently, if there is no error (ie. no error=true tag in spans) we don't create any metric with prometheus label as
status_code = "STATUS_CODE_ERROR"
. This generates empty dashboard.Describe the solution you'd like
We would like to instead have prometheus metric with label as
status_code = "STATUS_CODE_ERROR"
and value as 0.Describe alternatives you've considered
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: