-
Notifications
You must be signed in to change notification settings - Fork 2.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SpanMetrics converter: include http.request.status_code as metric attribute #22011
Comments
Pinging code owners:
See Adding Labels via Comments if you do not have permissions to add labels yourself. |
On the other hand, Have you tried adding |
No I didn't try, as I was working on a managed instance. But thank you for the explanation and the exposition of the solution! |
Pinging code owners for connector/spanmetrics: @albertteoh @kovrus. See Adding Labels via Comments if you do not have permissions to add labels yourself. |
This issue has been inactive for 60 days. It will be closed in 60 days if there is no activity. To ping code owners by adding a component label, see Adding Labels via Comments, or if you are unsure of which component this issue relates to, please ping Pinging code owners:
See Adding Labels via Comments if you do not have permissions to add labels yourself. |
This issue has been closed as inactive because it has been stale for 120 days with no activity. |
Component(s)
processor/spanmetrics
Is your feature request related to a problem? Please describe.
After converting my HTTP request traces to metrics, we expected that the
status_code
field contained the HTTP response status (e.g. 200, 404, etc...). After digging into it, we realized that it actually contains theUnset
,Ok
andError
values about the Span status.Describe the solution you'd like
I'd suggest that
status_code
metrics attribute value is set fromhttp.request.status_code
(or e.g.rpc.grpc.status_code
for GRPC services).Describe alternatives you've considered
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: