Skip to content

Tracing is fun

Compare
Choose a tag to compare
@Pr0Ger Pr0Ger released this 31 Oct 23:55
· 44 commits to master since this release

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)