-
Notifications
You must be signed in to change notification settings - Fork 144
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
Update http Response code attribute names #225
Comments
Spans When a transaction ends it processes the transaction and notifies its listeners:
From there the
Transactions For transactions it looks like the response attributes are added in Attributes Attributes constants are defined in Instrumentation I also noticed that there are some instrumentation modules that are directly adding attributes as well that we'll need to update. For example the various grpc instrumentation modules add the now deprecated
|
Comment added by Kevyn Ford in Aha! - View Engineering work in progress. Team review of design approach held and agreement on path forward reached. |
Comment added by Kevyn Ford in Aha! - View Will be included in the upcoming 7.0.0 agent release. |
Comment added by Kevyn Ford in Aha! - View Issues found during integration testing. Need to re-open for additional engineering work. Due to priority focus on Virtuoso, pushing this out to June. |
Implement the last piece of AGENTS-201: Span Event Improvements.
Add the following Span attributes on external spans, with the http response code for each external call made:
http.statusCode
http.statusText
These attributes should be added when using any supported http client. These attributes should also be applied to the root span.
The above attributes will be replacing the following deprecated attributes:
http.responseCode
response.status
response.statusMessage
http.statusCode
andhttp.statusText
attribute names should also be added to transactions, and old attribute names deprecated.Engineering notes:
Have to modify HttpParameters to accept a shim that might have status code.
Opportunistic: Redesign HttpParameters entirely; shim it in the API implementation so that the agent code only has to deal with one non-deprecated version.
Acceptance criteria
Conform to agent spec for attribute naming, specifically pay attention to http.statusCode and http.statusText, and make sure that this has been implemented on spans
Attribute name of
http.statusCode
andhttp.statusText
on spans needs to match the attribute name on transactionsNotes
Release notes examples: https://docs.newrelic.com/docs/release-notes/agent-release-notes/php-release-notes/php-agent-960255
Aha! Link: https://newrelic.aha.io/features/JAVA-260
The text was updated successfully, but these errors were encountered: