PackageTrack

Go modules

go.opentelemetry.io/contrib/bridges/otelzap

v0.20.1open-telemetry/opentelemetry-go-contrib

Release timeline

698 releases since 2024
20242026

One column per month.

Releases

  1. v0.7.1-0.20241201160637-c26cdbe5cba01 Dec 2024pre-release

    Nothing published for this version

  2. v0.7.1-0.20241130161019-9768f8195b6230 Nov 2024pre-release

    Nothing published for this version

  3. v0.7.1-0.20241129063056-6c050a57de9729 Nov 2024pre-release

    Nothing published for this version

  4. v0.7.1-0.20241128082834-57ec64d615d328 Nov 2024pre-release

    Nothing published for this version

  5. v0.7.1-0.20241127161557-ba2df8cbe0fe27 Nov 2024pre-release

    Nothing published for this version

  6. v0.7.1-0.20241127113008-251d2d45071227 Nov 2024pre-release

    Nothing published for this version

  7. v0.7.1-0.20241127065011-9bbebd9fa3c827 Nov 2024pre-release

    Nothing published for this version

  8. v0.7.1-0.20241126093938-91a1588d44a626 Nov 2024pre-release

    Nothing published for this version

  9. v0.7.1-0.20241125214737-0da64d12ef9d25 Nov 2024pre-release

    Nothing published for this version

  10. v0.7.1-0.20241123162336-73c41655248a23 Nov 2024pre-release

    Nothing published for this version

  11. v0.7.1-0.20241122140929-34774d49453922 Nov 2024pre-release

    Nothing published for this version

  12. v0.7.1-0.20241122083225-c873ddc5311d22 Nov 2024pre-release

    Nothing published for this version

  13. v0.7.1-0.20241121083035-7a12292a9f4b21 Nov 2024pre-release

    Nothing published for this version

  14. v0.7.1-0.20241121000319-d5297ac9e01d21 Nov 2024pre-release

    Nothing published for this version

  15. v0.7.1-0.20241119231635-c9f0c84c236b19 Nov 2024pre-release

    Nothing published for this version

  16. v0.7.1-0.20241119085455-5adedc5f796a19 Nov 2024pre-release

    Nothing published for this version

  17. v0.7.1-0.20241119004440-0eca2f6bab8719 Nov 2024pre-release

    Nothing published for this version

  18. v0.7.1-0.20241117170612-1fdd2f63550d17 Nov 2024pre-release

    Nothing published for this version

  19. v0.7.1-0.20241115170233-666dc04b14ed15 Nov 2024pre-release

    Nothing published for this version

  20. v0.7.1-0.20241115085858-c18691fd631415 Nov 2024pre-release

    Nothing published for this version

  21. v0.7.1-0.20241114202239-a7ba1f9d7b4e14 Nov 2024pre-release

    Nothing published for this version

  22. v0.7.1-0.20241109070411-717e1db7d5ef9 Nov 2024pre-release

    Nothing published for this version

  23. v0.7.1-0.20241108212138-0aa24286ea568 Nov 2024pre-release

    Nothing published for this version

  24. v0.7.08 Nov 2024
    Release notes

    This release is the last to support [Go 1.22]. The next release will require at least [Go 1.23].

    [!WARNING] This is the last version to use Semantic Conventions v1.20.0 for HTTP libraries by default. The next version (0.61.0) will default to v1.26.0, and the following one (0.62.0) will drop support for Semantic Conventions v1.20.0

    You can switch to the new Semantic Conventions right now by setting the OTEL_SEMCONV_STABILITY_OPT_IN=http/dup environment variable in your application.

    See also the HTTP semantic conventions stability migration

    Added

    • Add support for configuring ClientCertificate and ClientKey field for OTLP exporters in go.opentelemetry.io/contrib/config. (#6378)
    • Add WithAttributeBuilder, AttributeBuilder, DefaultAttributeBuilder, DynamoDBAttributeBuilder, SNSAttributeBuilder to support adding attributes based on SDK input and output in go.opentelemetry.io/contrib/instrumentation/github.com/aws/aws-sdk-go-v2/otelaws. (#6543)
    • Support for the OTEL_SEMCONV_STABILITY_OPT_IN=http/dup environment variable in go.opentelemetry.io/contrib/instrumentation/github.com/gorilla/mux/otelmux to emit attributes for both the v1.20.0 and v1.26.0 semantic conventions. (#6652)
    • Added the WithMeterProvider option to allow passing a custom meter provider to go.opentelemetry.io/contrib/instrumentation/github.com/gorilla/mux/otelmux. (#6648)
    • Added the WithMetricAttributesFn option to allow setting dynamic, per-request metric attributes in go.opentelemetry.io/contrib/instrumentation/github.com/gorilla/mux/otelmux. (#6648)
    • Added metrics support, and emit all stable metrics from the Semantic Conventions in go.opentelemetry.io/contrib/instrumentation/github.com/gorilla/mux/otelmux. (#6648)
    • Add support for configuring Insecure field for OTLP exporters in go.opentelemetry.io/contrib/config. (#6658)
    • Support for the OTEL_SEMCONV_STABILITY_OPT_IN=http/dup environment variable in instrumentation/net/http/httptrace/otelhttptrace to emit attributes for both the v1.20.0 and v1.26.0 semantic conventions. (#6720)
    • Support for the OTEL_SEMCONV_STABILITY_OPT_IN=http/dup environment variable in instrumentation/github.com/emicklei/go-restful/otelrestful to emit attributes for both the v1.20.0 and v1.26.0 semantic conventions. (#6710)
    • Added metrics support, and emit all stable metrics from the Semantic Conventions in go.opentelemetry.io/contrib/instrumentation/github.com/gin-gonic/gin/otelgin. (#6747)
    • Support for the OTEL_SEMCONV_STABILITY_OPT_IN=http/dup environment variable in go.opentelemetry.io/contrib/instrumentation/github.com/gin-gonic/gin/otelgin to emit attributes for both the v1.20.0 and v1.26.0 semantic conventions. (#6778)
    • Support OTEL_SEMCONV_STABILITY_OPT_IN to emit telemetry following both go.opentelemetry.io/otel/semconv/v1.21.0 (default) and go.opentelemetry.io/otel/semconv/v1.26.0 (opt-in) in go.opentelemetry.io/contrib/instrumentation/go.mongodb.org/mongo-driver/mongo/otelmongo per the Database semantic convention stability migration guide. (#6172)
    • Support [Go 1.24]. (#6765)
    • Add support for configuring HeadersList field for OTLP exporters in go.opentelemetry.io/contrib/config. (#6657)
    • Add go.opentelemetry.io/contrib/otelconf module which is a replacement for go.opentelemetry.io/contrib/config. (#6796)
    • Added WithFallbackLogExporter to allow setting a fallback log exporter when OTEL_LOGS_EXPORTER is unset in go.opentelemetry.io/contrib/exporters/autoexport. (#6844)

    Changed

    • Add custom attribute to the span after execution of the SDK rather than before in go.opentelemetry.io/contrib/instrumentation/github.com/aws/aws-sdk-go-v2/otelaws. (#6543)
    • The code.function attribute emitted by go.opentelemetry.io/contrib/bridges/otelslog now stores the package path-qualified function name instead of just the function name. The code.namespace attribute is no longer added. (#6870)
    • The code.function attribute emitted by go.opentelemetry.io/contrib/bridges/otelzap now stores the package path-qualified function name instead of just the function name. The code.namespace attribute is no longer added. (#6870)
    • Improve performance by reducing allocations for common request protocols in the modules below. (#6845)
      • go.opentelemetry.io/contrib/instrumentation/github.com/emicklei/go-restful/otelrestful
      • go.opentelemetry.io/contrib/instrumentation/github.com/gin-gonic/gin/otelgin
      • go.opentelemetry.io/contrib/instrumentation/github.com/gorilla/mux/otelmux
      • go.opentelemetry.io/contrib/instrumentation/github.com/labstack/echo/otelecho
      • go.opentelemetry.io/contrib/instrumentation/net/http/httptrace/otelhttptrace
      • go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp

    Deprecated

    • Deprecate WithAttributeSetter, AttributeSetter, DefaultAttributeSetter, DynamoDBAttributeSetter, SNSAttributeSetter in favor of WithAttributeBuilder, AttributeBuilder, DefaultAttributeBuilder, DynamoDBAttributeBuilder, SNSAttributeBuilder in go.opentelemetry.io/contrib/instrumentation/github.com/aws/aws-sdk-go-v2/otelaws. (#6543)
    • Deprecate go.opentelemetry.io/contrib/config module in favor of go.opentelemetry.io/contrib/otelconf. This is the last release of this module. (#6796)

    Fixed

    • Use context.Background() as default context instead of nil in go.opentelemetry.io/contrib/bridges/otellogr. (#6527)
    • Convert Prometheus histogram buckets to non-cumulative otel histogram buckets in go.opentelemetry.io/contrib/bridges/prometheus. (#6685)
    • Don't start spans that never end for filtered out gRPC stats handler in go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc. (#6695)
    • Fix a possible nil dereference panic in NewSDK of go.opentelemetry.io/contrib/config/v0.3.0. (#6752)
    • Fix prometheus endpoint with an IPv6 address in go.opentelemetry.io/contrib/config. (#6815)
    Open source →
  25. v0.6.1-0.20241108190900-519f10d5d0e78 Nov 2024pre-release

    Nothing published for this version

  26. v0.6.1-0.20241102144553-e5fef4adfda62 Nov 2024pre-release

    Nothing published for this version

  27. v0.6.1-0.20241031083644-c0cc77f10a2d31 Oct 2024pre-release

    Nothing published for this version

  28. v0.6.1-0.20241029055542-c1cdce774e7829 Oct 2024pre-release

    Nothing published for this version

  29. v0.6.1-0.20241027154051-f3c51a19bfde27 Oct 2024pre-release

    Nothing published for this version

  30. v0.6.1-0.20241025211616-6ed446fdfe8925 Oct 2024pre-release

    Nothing published for this version

  31. v0.6.1-0.20241024194824-c0c1667bbe2724 Oct 2024pre-release

    Nothing published for this version

  32. v0.6.1-0.20241023072415-64d6d83f028323 Oct 2024pre-release

    Nothing published for this version

  33. v0.6.1-0.20241021162424-0a251077792e21 Oct 2024pre-release

    Nothing published for this version

  34. v0.6.1-0.20241021125356-b011c6d4e7ff21 Oct 2024pre-release

    Nothing published for this version

  35. v0.6.1-0.20241018044124-1c56a7cee97f18 Oct 2024pre-release

    Nothing published for this version

  36. v0.6.1-0.20241016204001-d9c9bbef8ad116 Oct 2024pre-release

    Nothing published for this version

  37. v0.6.1-0.20241016202836-8a26744be0de16 Oct 2024pre-release

    Nothing published for this version

  38. v0.6.1-0.20241016054944-e1389ca70aca16 Oct 2024pre-release

    Nothing published for this version

  39. v0.6.1-0.20241015104615-856523b45f7415 Oct 2024pre-release

    Nothing published for this version

  40. v0.6.1-0.20241015075435-0aad96ec48db15 Oct 2024pre-release

    Nothing published for this version

  41. v0.6.014 Oct 2024
    Release notes

    Added

    • Generate server metrics with semantic conventions v1.26.0 in go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp when OTEL_SEMCONV_STABILITY_OPT_IN is set to http/dup. (#6411)
    • Generate client metrics with semantic conventions v1.26.0 in go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp when OTEL_SEMCONV_STABILITY_OPT_IN is set to http/dup. (#6607)

    Fixed

    • Fix error logged by Jaeger remote sampler on empty or unset OTEL_TRACES_SAMPLER_ARG environment variable (#6511)
    • Relax minimum Go version to 1.22.0 in various modules. (#6595)
    • NewSDK handles empty OpenTelemetryConfiguration.Resource properly in go.opentelemetry.io/contrib/config/v0.3.0. (#6606)
    • Fix a possible nil dereference panic in NewSDK of go.opentelemetry.io/contrib/config/v0.3.0. (#6606)
    Open source →
  42. v0.5.1-0.20241011204441-c3c85380838311 Oct 2024pre-release

    Nothing published for this version

  43. v0.5.1-0.20240918073933-a6c39275e68018 Sept 2024pre-release

    Nothing published for this version

  44. v0.5.1-0.20240917071109-1bd570f4ba2e17 Sept 2024pre-release

    Nothing published for this version

  45. v0.5.1-0.20240913065545-e1b1d773b42813 Sept 2024pre-release

    Nothing published for this version

  46. v0.5.1-0.20240912074431-f8ee970fa09412 Sept 2024pre-release

    Nothing published for this version

  47. v0.5.011 Sept 2024
    Release notes

    Added

    • Added support for providing endpoint, pollingIntervalMs and initialSamplingRate using environment variable OTEL_TRACES_SAMPLER_ARG in go.opentelemetry.io/contrib/samples/jaegerremote. (#6310)
    • Added support exporting logs via OTLP over gRPC in go.opentelemetry.io/contrib/config. (#6340)
    • The go.opentelemetry.io/contrib/bridges/otellogr module. This module provides an OpenTelemetry logging bridge for github.com/go-logr/logr. (#6386)
    • Added SNS instrumentation in go.opentelemetry.io/contrib/instrumentation/github.com/aws/aws-sdk-go-v2/otelaws. (#6388)
    • Use a sync.Pool for metric options in go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp. (#6394)
    • Added support for configuring Certificate field when configuring OTLP exporters in go.opentelemetry.io/contrib/config. (#6376)
    • Added support for the WithMetricAttributesFn option to middlewares in go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp. (#6542)

    Changed

    • Change the span name to be GET /path so it complies with the OTel HTTP semantic conventions in go.opentelemetry.io/contrib/instrumentation/github.com/labstack/echo/otelecho. (#6365)
    • Record errors instead of setting the gin.errors attribute in go.opentelemetry.io/contrib/instrumentation/github.com/gin-gonic/gin/otelgin. (#6346)
    • The go.opentelemetry.io/contrib/config now supports multiple schemas in subdirectories (i.e. go.opentelemetry.io/contrib/config/v0.3.0) for easier migration. (#6412)

    Fixed

    • Fix broken AWS presigned URLs when using instrumentation in go.opentelemetry.io/contrib/instrumentation/github.com/aws/aws-sdk-go-v2/otelaws. (#5975)
    • Fixed the value for configuring the OTLP exporter to use grpc instead of grpc/protobuf in go.opentelemetry.io/contrib/config. (#6338)
    • Allow marshaling types in go.opentelemetry.io/contrib/config. (#6347)
    • Removed the redundant handling of panic from the HTML function in go.opentelemetry.io/contrib/instrumentation/github.com/gin-gonic/gin/otelgin. (#6373)
    • The code.function attribute emitted by go.opentelemetry.io/contrib/bridges/otelslog now stores just the function name instead the package path-qualified function name. The code.namespace attribute now stores the package path. (#6415)
    • The code.function attribute emitted by go.opentelemetry.io/contrib/bridges/otelzap now stores just the function name instead the package path-qualified function name. The code.namespace attribute now stores the package path. (#6423)
    • Return an error for nil values when unmarshaling NameStringValuePair in go.opentelemetry.io/contrib/config. (#6425)
    Open source →
  48. v0.4.1-0.20240911222839-4ccc9c69c68711 Sept 2024pre-release

    Nothing published for this version

  49. v0.4.1-0.20240910162509-774b20ea308110 Sept 2024pre-release

    Nothing published for this version

  50. v0.4.1-0.20240909234433-9a46844f48159 Sept 2024pre-release

    Nothing published for this version

  51. v0.4.1-0.20240909181148-f43f59ec78e19 Sept 2024pre-release

    Nothing published for this version

  52. v0.4.1-0.20240906073443-8a49875a93b46 Sept 2024pre-release

    Nothing published for this version

  53. v0.4.1-0.20240905174850-96fdd2e17aff5 Sept 2024pre-release

    Nothing published for this version

  54. v0.4.1-0.20240904084030-06ace3e8e57f4 Sept 2024pre-release

    Nothing published for this version

  55. v0.4.1-0.20240829044348-54d69164e7e629 Aug 2024pre-release

    Nothing published for this version

  56. v0.4.023 Aug 2024
    Release notes

    Added

    • Add the WithSource option to the go.opentelemetry.io/contrib/bridges/otelslog log bridge to set the code.* attributes in the log record that includes the source location where the record was emitted. (#6253)
    • Add ContextWithStartTime and StartTimeFromContext to go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp, which allows setting the start time using go context. (#6137)
    • Set the code.* attributes in go.opentelemetry.io/contrib/bridges/otelzap if the zap.Logger was created with the AddCaller or AddStacktrace option. (#6268)
    • Add a LogProcessor to go.opentelemetry.io/contrib/processors/baggagecopy to copy baggage members to log records. (#6277)
      • Use baggagecopy.NewLogProcessor when configuring a Log Provider.
        • NewLogProcessor accepts a Filter function type that selects which baggage members are added to the log record.

    Changed

    • Transform raw (slog.KindAny) attribute values to matching log.Value types. For example, []string{"foo", "bar"} attribute value is now transformed to log.SliceValue(log.StringValue("foo"), log.StringValue("bar")) instead of log.String("[foo bar"]). (#6254)
    • Upgrade go.opentelemetry.io/otel/semconv/v1.17.0 to go.opentelemetry.io/otel/semconv/v1.21.0 in go.opentelemetry.io/contrib/instrumentation/go.mongodb.org/mongo-driver/mongo/otelmongo. (#6272)
    • Resource doesn't merge with defaults if a valid resource is configured in go.opentelemetry.io/contrib/config. (#6289)

    Fixed

    • Transform nil attribute values to log.Value zero value instead of panicking in go.opentelemetry.io/contrib/bridges/otellogrus. (#6237)
    • Transform nil attribute values to log.Value zero value instead of panicking in go.opentelemetry.io/contrib/bridges/otelzap. (#6237)
    • Transform nil attribute values to log.Value zero value instead of log.StringValue("<nil>") in go.opentelemetry.io/contrib/bridges/otelslog. (#6246)
    • Fix NewClientHandler so that rpc.client.request.* metrics measure requests instead of responses and rpc.client.responses.* metrics measure responses instead of requests in go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc. (#6250)
    • Fix issue in go.opentelemetry.io/contrib/config causing otelprom.WithResourceAsConstantLabels configuration to not be respected. (#6260)
    • otel.Handle is no longer called on a successful shutdown of the Prometheus exporter in go.opentelemetry.io/contrib/config. (#6299)
    Open source →
  57. v0.0.0-20240823162824-c42406aef2fc23 Aug 2024pre-release

    Nothing published for this version

  58. v0.0.0-20240823150756-fd2862021f8c23 Aug 2024pre-release

    Nothing published for this version

  59. v0.0.0-20240823064926-21e0a4d8395b23 Aug 2024pre-release

    Nothing published for this version

  60. v0.0.0-20240822234600-3e4b55047b6822 Aug 2024pre-release

    Nothing published for this version