elastic / elastic/apm-agent-nodejs
use `span.context.http.response.status_code` if talking to APM Server >=7.7
Open
8.4-candidate
agent-nodejs
- Dominant language
- JavaScript
- Stars
- 594
- Forks
- 244
- Avg merge
- 1d 8h
- Merged PRs (30d)
- 16
Description
`span.context.http.status_code` was deprecated in favour of `span.context.http.response.status_code` in APM Server 7.7: https://github.com/elastic/apm-server/blob/master/changelogs/7.7.asciidoc#intake-api-changes
Now that we have APM Server version sniffing (as of #2546), we should be able to know when to make this change.
Contributor guide
Assessment
This issue has not been assessed yet.