implement "outcome" property for transactions and spans#899
implement "outcome" property for transactions and spans#899beniwohli merged 11 commits intoelastic:masterfrom
Conversation
This implements elastic/apm#299. Additionally, the "status_code" attribute has been added to HTTP spans.
💚 Build SucceededExpand to view the summary
Build stats
Test stats 🧪
Steps errorsExpand to view the steps failures
|
basepi
left a comment
There was a problem hiding this comment.
This looks good so far. One comment below.
felixbarny
left a comment
There was a problem hiding this comment.
LGTM
The only thing I'd add is more docs around the semantics of the individual status values and how they affect error rate calculation. The spec PR has some details on that but having that on the API docs will make that more discoverable. Either add on the set_transaction_outcome docs or on the OUTCOME constants, plus on the API docs.
|
@felixbarny does 0124d6873 address your comment on documentation? |
|
It does! |
* Add instrumentation for httpx * Add instrumentation for httpx.Client and httpx.AsyncClient * Add to changelog * Add link to PR in changelog * Update link in changelog * Add 0.12 to the jenkins_framework_full * Add some initial tests (based on requests tests) * Rename session test * Add httpcore sync and async instrumentations * Test fixes for httpx * Add async httpx tests * Add httpx.sh to properly set the pytest marker * Remove some copy pasta * Add review fixes * Add outcome to httpx spans * Add changelog for #899 Co-authored-by: HenrikOssipoff <henrik.ossipoff@gmail.com>
* Add instrumentation for httpx * Add instrumentation for httpx.Client and httpx.AsyncClient * Add to changelog * Add link to PR in changelog * Update link in changelog * Add 0.12 to the jenkins_framework_full * Add some initial tests (based on requests tests) * Rename session test * Add httpcore sync and async instrumentations * Test fixes for httpx * Add async httpx tests * Add httpx.sh to properly set the pytest marker * Remove some copy pasta * Add review fixes * Add outcome to httpx spans * Add changelog for elastic#899 Co-authored-by: HenrikOssipoff <henrik.ossipoff@gmail.com>
* Add instrumentation for httpx * Add instrumentation for httpx.Client and httpx.AsyncClient * Add to changelog * Add link to PR in changelog * Update link in changelog * Add 0.12 to the jenkins_framework_full * Add some initial tests (based on requests tests) * Rename session test * Add httpcore sync and async instrumentations * Test fixes for httpx * Add async httpx tests * Add httpx.sh to properly set the pytest marker * Remove some copy pasta * Add review fixes * Add outcome to httpx spans * Add changelog for elastic#899 Co-authored-by: HenrikOssipoff <henrik.ossipoff@gmail.com>
* Add instrumentation for httpx * Add instrumentation for httpx.Client and httpx.AsyncClient * Add to changelog * Add link to PR in changelog * Update link in changelog * Add 0.12 to the jenkins_framework_full * Add some initial tests (based on requests tests) * Rename session test * Add httpcore sync and async instrumentations * Test fixes for httpx * Add async httpx tests * Add httpx.sh to properly set the pytest marker * Remove some copy pasta * Add review fixes * Add outcome to httpx spans * Add changelog for elastic#899 Co-authored-by: HenrikOssipoff <henrik.ossipoff@gmail.com>
This implements elastic/apm#299.
Additionally, the "status_code" attribute has been added to HTTP spans.