Skip to content

Releases: riandyrn/otelchi

Release v0.3.0

18 Jan 14:32
cc3271d
Compare
Choose a tag to compare

What's Changed

  • Add WithChiRoutes() option to make the middleware able to determine full route pattern on span creation
  • Set all known span attributes on span creation rather than set them after request is being executed
  • Fix both docker-compose.yml & Dockerfile in example

Full Changelog: v0.2.1...v0.3.0

Release v0.2.1

08 Jan 04:53
5f4714f
Compare
Choose a tag to compare

What's Changed

  • Use ctx.RoutePattern() to get span name, this is to strip out noisy wildcard pattern, contributed by @tjefferson08

Full Changelog: v0.2.0...v0.2.1

Release v0.2.0

18 Oct 06:54
Compare
Choose a tag to compare

Update in this release:

  • follow latest test format from otelmux
  • show how to set service name on tracer provider from example
  • remove set HTTPResponseContentLengthKey since it is better to be set by end user themselves
  • remove set HTTPTargetKey since it has been set automatically in HTTPServerAttributesFromHTTPRequest
  • simplify dependencies in go.mod

Updated dependencies:

  • otel => v1.0.1
  • go-chi/chi => v5.0.4

Release v0.1.0

11 Aug 07:39
Compare
Choose a tag to compare

First release of otelchi.

It contains instrumentation for trace and depends on:

  • otel => v1.0.0-RC2
  • go-chi/chi => v5.0.3

Added:

  • Instrumentation for trace
  • CI files
  • Example code for a basic usage
  • Apache-2.0 license