-
Notifications
You must be signed in to change notification settings - Fork 538
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(plugin-ioredis): end span on response from the server and set spa…
…n status according to response (#239) * feat(plugin-ioredis): enahnce response handling - fix: end span on response from server, so duration accurately include the server processing and networking time - fix: set span status to error if server response with error - feat: add responseHook to plugin config so user can register hook to add custom attributes to span when successful response arrive from server * fix: add forgotten changes * style: fix lint * chore: remove reponseHook from PR * fix: remove unused import for build to pass * chore: lint * style: set span error with ternary * style: fix lint * style: fix lint * chore: fix lint * revert: lint change to graphql file * test(plugin-ioredis): make new test compatible with v0.15.0 * fix(plugin-ioredis): recordException on span when server returns error * fix: correct type for events in assertSpan
- Loading branch information
Amir Blum
authored
Jan 28, 2021
1 parent
234c42f
commit 80d1049
Showing
3 changed files
with
109 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters