Skip to content

Releases: mailgun/holster

v4.8.0

21 Sep 19:29
f847b94
Compare
Choose a tag to compare

What's Changed

  • Support tracing OTLP exporter.
    • Remove Honeycomb exporter because it can be configured via OTLP.
    • Breaking change to env var OTEL_EXPORTERS, renamed to OTEL_TRACES_EXPORTER per OTel config spec.

by @Baliedge in #127.

v4.7.1

16 Aug 14:25
e174b74
Compare
Choose a tag to compare

What's Changed

  • Simplify log level usage by converting log level parameters to constant enum type. This type mirrors logrus.Level exactly so it can be easily converted (e.g. level := tracing.Level(logrus.GetLevel())).
  • Breaking Change: This is a breaking change to the tracing.WithLevel() option.
  • Fix documentation around meaning of level numbers.
  • Tag spans with log.level=<name> and log.levelNum=<n>.
  • Using StartScopeError() will also tag span in error status.

by @Baliedge in #126.

v4.7.0

12 Aug 18:22
9faf51f
Compare
Choose a tag to compare

What's Changed

  • Breaking Change to tracing package.
    • Changed InitTracing() signature to reference optional tracing-specific options, instead of OpenTelemetry-specific options. This allows more flexibility to extend configuration within tracing.
  • Log level tracing.
    • Defaults to log level set in Logrus.
    • Use variants of StartScopeInfo(), StartScopeDebug(), etc.
    • Spans created with lesser severity will be dropped from the trace.
    • See tracing/README.md for details.
  • Add TypedError for describing an error with type classification. tracing
  • Add Prometheus metrics.

v4.6.0

05 Aug 09:06
7b1e8d9
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v4.5.1...v4.6.0

Release v4.5.1

03 Aug 15:28
85600d1
Compare
Choose a tag to compare

What's Changed

Full Changelog: v4.5.0...v4.5.1

Release v4.5.0

02 Aug 14:40
cab90fb
Compare
Choose a tag to compare

What's Changed

Full Changelog: v4.4.0...v4.5.0

v4.4.0

01 Aug 15:18
6e3ae1d
Compare
Choose a tag to compare

What's Changed

  • go test-like functional testing framework in functional package.

v4.3.3

22 Jul 14:34
b9734f5
Compare
Choose a tag to compare

What's Changed

  • Fix typo preventing proper configuration using the OTEL_EXPORTER_JAEGER_PROTOCOL environment variable setting.

v4.3.2

20 Jul 18:10
d9f0944
Compare
Choose a tag to compare

What's Changed

  • Minor mishandling when parsing OTEL_JAEGER_EXPORTER_PROTOCOL setting. Better log reflecting configured state of exporter.

v4.3.1

14 Jul 15:07
ec94423
Compare
Choose a tag to compare

What's Changed

  • Simplify most common use case of OTel initialization using tracing.NewResource().

before:

res, err := resource.Merge(
       resource.Default(),
       resource.NewWithAttributes(
               semconv.SchemaURL,
               semconv.ServiceNameKey.String("My service"),
               semconv.ServiceVersionKey.String("v1.0.0"),
       ),
)
ctx, tracer, err := tracing.InitTracing(ctx, "github.com/myrepo/myservice", sdktrace.WithResource(res))

after:

res, err := tracing.NewResource("My service", "v1.0.0")
ctx, tracer, err := tracing.InitTracing(ctx, "github.com/myrepo/myservice", sdktrace.WithResource(res))