-
Notifications
You must be signed in to change notification settings - Fork 220
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
implement "outcome" property for transactions and spans #899
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
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks good so far. One comment below.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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.