-
Notifications
You must be signed in to change notification settings - Fork 8
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
feat: add global tracing for express + graphql, include trace and spa… #5120
Conversation
…n ids in winston logs
// attributes are helpful if we want to inspect and omit requests such as health checks or timesync | ||
// eslint-disable-next-line no-unused-vars | ||
function ignoreTheseSpans(spanName, spanKind, attributes) { | ||
return spanKind !== opentelemetry.SpanKind.SERVER; |
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.
Are we sure SERVER
spans should be excluded?
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 is right from there example for express so maybe... Ultimately, I had problems getting the filter function to work on broader excludes so I trimmed it back down to what they had in their examples.
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.
looks good, thanks!
🎉 This PR is included in version 2.734.0-rc.1 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
🎉 This PR is included in version 2.734.0 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
…n ids in winston logs
Couples with: https://github.com/kiva/flux/pull/607