Tracing is fun
Versions:
- Minimum supported Go version is 1.16
- Bump sentry-go to 0.11.0
- Bump zap to 1.19.1
Changes:
- Add tracing support to HTTP middleware and BreadcrumbTransport
- Enrich Sentry event info with data from HTTP request
- Remove
X-Request-Id
header from middleware- Context helpers still works to avoid code breaking
- You should use Sentry trace ID instead
- Add support for creating forked logger
- It's something like what already happening inside HTTP middleware
- It's a logger with same cores but with new sentry.Hub
- This is useful when you have request-based system built not on top of HTTP (something like gRPC or else)