Go modules
go.opentelemetry.io/contrib/bridges/otelzap
v0.20.1open-telemetry/opentelemetry-go-contrib ↗Last release 6 days ago
26 Aug 2026
Ships fairly regularly
a new release about every 4 weeks
Nearly every release is documented
notes for 17 of 18 stable releases
Nothing withdrawn
no release was ever pulled
2 years old
698 releases · first in 2024
Release timeline
698 releases since 2024One column per month.
Releases
- v0.7.1-0.20241201160637-c26cdbe5cba01 Dec 2024pre-release
Nothing published for this version
- v0.7.1-0.20241130161019-9768f8195b6230 Nov 2024pre-release
Nothing published for this version
- v0.7.1-0.20241129063056-6c050a57de9729 Nov 2024pre-release
Nothing published for this version
- v0.7.1-0.20241128082834-57ec64d615d328 Nov 2024pre-release
Nothing published for this version
- v0.7.1-0.20241127161557-ba2df8cbe0fe27 Nov 2024pre-release
Nothing published for this version
- v0.7.1-0.20241127113008-251d2d45071227 Nov 2024pre-release
Nothing published for this version
- v0.7.1-0.20241127065011-9bbebd9fa3c827 Nov 2024pre-release
Nothing published for this version
- v0.7.1-0.20241126093938-91a1588d44a626 Nov 2024pre-release
Nothing published for this version
- v0.7.1-0.20241125214737-0da64d12ef9d25 Nov 2024pre-release
Nothing published for this version
- v0.7.1-0.20241123162336-73c41655248a23 Nov 2024pre-release
Nothing published for this version
- v0.7.1-0.20241122140929-34774d49453922 Nov 2024pre-release
Nothing published for this version
- v0.7.1-0.20241122083225-c873ddc5311d22 Nov 2024pre-release
Nothing published for this version
- v0.7.1-0.20241121083035-7a12292a9f4b21 Nov 2024pre-release
Nothing published for this version
- v0.7.1-0.20241121000319-d5297ac9e01d21 Nov 2024pre-release
Nothing published for this version
- v0.7.1-0.20241119231635-c9f0c84c236b19 Nov 2024pre-release
Nothing published for this version
- v0.7.1-0.20241119085455-5adedc5f796a19 Nov 2024pre-release
Nothing published for this version
- v0.7.1-0.20241119004440-0eca2f6bab8719 Nov 2024pre-release
Nothing published for this version
- v0.7.1-0.20241117170612-1fdd2f63550d17 Nov 2024pre-release
Nothing published for this version
- v0.7.1-0.20241115170233-666dc04b14ed15 Nov 2024pre-release
Nothing published for this version
- v0.7.1-0.20241115085858-c18691fd631415 Nov 2024pre-release
Nothing published for this version
- v0.7.1-0.20241114202239-a7ba1f9d7b4e14 Nov 2024pre-release
Nothing published for this version
- v0.7.1-0.20241109070411-717e1db7d5ef9 Nov 2024pre-release
Nothing published for this version
- v0.7.1-0.20241108212138-0aa24286ea568 Nov 2024pre-release
Nothing published for this version
- v0.7.08 Nov 2024
Release notes
Open source →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/dupenvironment variable in your application.See also the HTTP semantic conventions stability migration
Added
- Add support for configuring
ClientCertificateandClientKeyfield for OTLP exporters ingo.opentelemetry.io/contrib/config. (#6378) - Add
WithAttributeBuilder,AttributeBuilder,DefaultAttributeBuilder,DynamoDBAttributeBuilder,SNSAttributeBuilderto support adding attributes based on SDK input and output ingo.opentelemetry.io/contrib/instrumentation/github.com/aws/aws-sdk-go-v2/otelaws. (#6543) - Support for the
OTEL_SEMCONV_STABILITY_OPT_IN=http/dupenvironment variable ingo.opentelemetry.io/contrib/instrumentation/github.com/gorilla/mux/otelmuxto emit attributes for both the v1.20.0 and v1.26.0 semantic conventions. (#6652) - Added the
WithMeterProvideroption to allow passing a custom meter provider togo.opentelemetry.io/contrib/instrumentation/github.com/gorilla/mux/otelmux. (#6648) - Added the
WithMetricAttributesFnoption to allow setting dynamic, per-request metric attributes ingo.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
Insecurefield for OTLP exporters ingo.opentelemetry.io/contrib/config. (#6658) - Support for the
OTEL_SEMCONV_STABILITY_OPT_IN=http/dupenvironment variable ininstrumentation/net/http/httptrace/otelhttptraceto emit attributes for both the v1.20.0 and v1.26.0 semantic conventions. (#6720) - Support for the
OTEL_SEMCONV_STABILITY_OPT_IN=http/dupenvironment variable ininstrumentation/github.com/emicklei/go-restful/otelrestfulto 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/dupenvironment variable ingo.opentelemetry.io/contrib/instrumentation/github.com/gin-gonic/gin/otelginto emit attributes for both the v1.20.0 and v1.26.0 semantic conventions. (#6778) - Support
OTEL_SEMCONV_STABILITY_OPT_INto emit telemetry following bothgo.opentelemetry.io/otel/semconv/v1.21.0(default) andgo.opentelemetry.io/otel/semconv/v1.26.0(opt-in) ingo.opentelemetry.io/contrib/instrumentation/go.mongodb.org/mongo-driver/mongo/otelmongoper the Database semantic convention stability migration guide. (#6172) - Support [Go 1.24]. (#6765)
- Add support for configuring
HeadersListfield for OTLP exporters ingo.opentelemetry.io/contrib/config. (#6657) - Add
go.opentelemetry.io/contrib/otelconfmodule which is a replacement forgo.opentelemetry.io/contrib/config. (#6796) - Added
WithFallbackLogExporterto allow setting a fallback log exporter whenOTEL_LOGS_EXPORTERis unset ingo.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.functionattribute emitted bygo.opentelemetry.io/contrib/bridges/otelslognow stores the package path-qualified function name instead of just the function name. Thecode.namespaceattribute is no longer added. (#6870) - The
code.functionattribute emitted bygo.opentelemetry.io/contrib/bridges/otelzapnow stores the package path-qualified function name instead of just the function name. Thecode.namespaceattribute 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/otelrestfulgo.opentelemetry.io/contrib/instrumentation/github.com/gin-gonic/gin/otelgingo.opentelemetry.io/contrib/instrumentation/github.com/gorilla/mux/otelmuxgo.opentelemetry.io/contrib/instrumentation/github.com/labstack/echo/otelechogo.opentelemetry.io/contrib/instrumentation/net/http/httptrace/otelhttptracego.opentelemetry.io/contrib/instrumentation/net/http/otelhttp
Deprecated
- Deprecate
WithAttributeSetter,AttributeSetter,DefaultAttributeSetter,DynamoDBAttributeSetter,SNSAttributeSetterin favor ofWithAttributeBuilder,AttributeBuilder,DefaultAttributeBuilder,DynamoDBAttributeBuilder,SNSAttributeBuilderingo.opentelemetry.io/contrib/instrumentation/github.com/aws/aws-sdk-go-v2/otelaws. (#6543) - Deprecate
go.opentelemetry.io/contrib/configmodule in favor ofgo.opentelemetry.io/contrib/otelconf. This is the last release of this module. (#6796)
Fixed
- Use
context.Background()as default context instead of nil ingo.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
NewSDKofgo.opentelemetry.io/contrib/config/v0.3.0. (#6752) - Fix prometheus endpoint with an IPv6 address in
go.opentelemetry.io/contrib/config. (#6815)
- Add support for configuring
- v0.6.1-0.20241108190900-519f10d5d0e78 Nov 2024pre-release
Nothing published for this version
- v0.6.1-0.20241102144553-e5fef4adfda62 Nov 2024pre-release
Nothing published for this version
- v0.6.1-0.20241031083644-c0cc77f10a2d31 Oct 2024pre-release
Nothing published for this version
- v0.6.1-0.20241029055542-c1cdce774e7829 Oct 2024pre-release
Nothing published for this version
- v0.6.1-0.20241027154051-f3c51a19bfde27 Oct 2024pre-release
Nothing published for this version
- v0.6.1-0.20241025211616-6ed446fdfe8925 Oct 2024pre-release
Nothing published for this version
- v0.6.1-0.20241024194824-c0c1667bbe2724 Oct 2024pre-release
Nothing published for this version
- v0.6.1-0.20241023072415-64d6d83f028323 Oct 2024pre-release
Nothing published for this version
- v0.6.1-0.20241021162424-0a251077792e21 Oct 2024pre-release
Nothing published for this version
- v0.6.1-0.20241021125356-b011c6d4e7ff21 Oct 2024pre-release
Nothing published for this version
- v0.6.1-0.20241018044124-1c56a7cee97f18 Oct 2024pre-release
Nothing published for this version
- v0.6.1-0.20241016204001-d9c9bbef8ad116 Oct 2024pre-release
Nothing published for this version
- v0.6.1-0.20241016202836-8a26744be0de16 Oct 2024pre-release
Nothing published for this version
- v0.6.1-0.20241016054944-e1389ca70aca16 Oct 2024pre-release
Nothing published for this version
- v0.6.1-0.20241015104615-856523b45f7415 Oct 2024pre-release
Nothing published for this version
- v0.6.1-0.20241015075435-0aad96ec48db15 Oct 2024pre-release
Nothing published for this version
- v0.6.014 Oct 2024
Release notes
Open source →Added
- Generate server metrics with semantic conventions
v1.26.0ingo.opentelemetry.io/contrib/instrumentation/net/http/otelhttpwhenOTEL_SEMCONV_STABILITY_OPT_INis set tohttp/dup. (#6411) - Generate client metrics with semantic conventions
v1.26.0ingo.opentelemetry.io/contrib/instrumentation/net/http/otelhttpwhenOTEL_SEMCONV_STABILITY_OPT_INis set tohttp/dup. (#6607)
Fixed
- Fix error logged by Jaeger remote sampler on empty or unset
OTEL_TRACES_SAMPLER_ARGenvironment variable (#6511) - Relax minimum Go version to 1.22.0 in various modules. (#6595)
NewSDKhandles emptyOpenTelemetryConfiguration.Resourceproperly ingo.opentelemetry.io/contrib/config/v0.3.0. (#6606)- Fix a possible nil dereference panic in
NewSDKofgo.opentelemetry.io/contrib/config/v0.3.0. (#6606)
- Generate server metrics with semantic conventions
- v0.5.1-0.20241011204441-c3c85380838311 Oct 2024pre-release
Nothing published for this version
- v0.5.1-0.20240918073933-a6c39275e68018 Sept 2024pre-release
Nothing published for this version
- v0.5.1-0.20240917071109-1bd570f4ba2e17 Sept 2024pre-release
Nothing published for this version
- v0.5.1-0.20240913065545-e1b1d773b42813 Sept 2024pre-release
Nothing published for this version
- v0.5.1-0.20240912074431-f8ee970fa09412 Sept 2024pre-release
Nothing published for this version
- v0.5.011 Sept 2024
Release notes
Open source →Added
- Added support for providing
endpoint,pollingIntervalMsandinitialSamplingRateusing environment variableOTEL_TRACES_SAMPLER_ARGingo.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/otellogrmodule. This module provides an OpenTelemetry logging bridge forgithub.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.Poolfor metric options ingo.opentelemetry.io/contrib/instrumentation/net/http/otelhttp. (#6394) - Added support for configuring
Certificatefield when configuring OTLP exporters ingo.opentelemetry.io/contrib/config. (#6376) - Added support for the
WithMetricAttributesFnoption to middlewares ingo.opentelemetry.io/contrib/instrumentation/net/http/otelhttp. (#6542)
Changed
- Change the span name to be
GET /pathso it complies with the OTel HTTP semantic conventions ingo.opentelemetry.io/contrib/instrumentation/github.com/labstack/echo/otelecho. (#6365) - Record errors instead of setting the
gin.errorsattribute ingo.opentelemetry.io/contrib/instrumentation/github.com/gin-gonic/gin/otelgin. (#6346) - The
go.opentelemetry.io/contrib/confignow 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
grpcinstead ofgrpc/protobufingo.opentelemetry.io/contrib/config. (#6338) - Allow marshaling types in
go.opentelemetry.io/contrib/config. (#6347) - Removed the redundant handling of panic from the
HTMLfunction ingo.opentelemetry.io/contrib/instrumentation/github.com/gin-gonic/gin/otelgin. (#6373) - The
code.functionattribute emitted bygo.opentelemetry.io/contrib/bridges/otelslognow stores just the function name instead the package path-qualified function name. Thecode.namespaceattribute now stores the package path. (#6415) - The
code.functionattribute emitted bygo.opentelemetry.io/contrib/bridges/otelzapnow stores just the function name instead the package path-qualified function name. Thecode.namespaceattribute now stores the package path. (#6423) - Return an error for
nilvalues when unmarshalingNameStringValuePairingo.opentelemetry.io/contrib/config. (#6425)
- Added support for providing
- v0.4.1-0.20240911222839-4ccc9c69c68711 Sept 2024pre-release
Nothing published for this version
- v0.4.1-0.20240910162509-774b20ea308110 Sept 2024pre-release
Nothing published for this version
- v0.4.1-0.20240909234433-9a46844f48159 Sept 2024pre-release
Nothing published for this version
- v0.4.1-0.20240909181148-f43f59ec78e19 Sept 2024pre-release
Nothing published for this version
- v0.4.1-0.20240906073443-8a49875a93b46 Sept 2024pre-release
Nothing published for this version
- v0.4.1-0.20240905174850-96fdd2e17aff5 Sept 2024pre-release
Nothing published for this version
- v0.4.1-0.20240904084030-06ace3e8e57f4 Sept 2024pre-release
Nothing published for this version
- v0.4.1-0.20240829044348-54d69164e7e629 Aug 2024pre-release
Nothing published for this version
- v0.4.023 Aug 2024
Release notes
Open source →Added
- Add the
WithSourceoption to thego.opentelemetry.io/contrib/bridges/otelsloglog bridge to set thecode.*attributes in the log record that includes the source location where the record was emitted. (#6253) - Add
ContextWithStartTimeandStartTimeFromContexttogo.opentelemetry.io/contrib/instrumentation/net/http/otelhttp, which allows setting the start time using go context. (#6137) - Set the
code.*attributes ingo.opentelemetry.io/contrib/bridges/otelzapif thezap.Loggerwas created with theAddCallerorAddStacktraceoption. (#6268) - Add a
LogProcessortogo.opentelemetry.io/contrib/processors/baggagecopyto copy baggage members to log records. (#6277)- Use
baggagecopy.NewLogProcessorwhen configuring a Log Provider.NewLogProcessoraccepts aFilterfunction type that selects which baggage members are added to the log record.
- Use
Changed
- Transform raw (
slog.KindAny) attribute values to matchinglog.Valuetypes. For example,[]string{"foo", "bar"}attribute value is now transformed tolog.SliceValue(log.StringValue("foo"), log.StringValue("bar"))instead oflog.String("[foo bar"]). (#6254) - Upgrade
go.opentelemetry.io/otel/semconv/v1.17.0togo.opentelemetry.io/otel/semconv/v1.21.0ingo.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.Valuezero value instead of panicking ingo.opentelemetry.io/contrib/bridges/otellogrus. (#6237) - Transform nil attribute values to
log.Valuezero value instead of panicking ingo.opentelemetry.io/contrib/bridges/otelzap. (#6237) - Transform nil attribute values to
log.Valuezero value instead oflog.StringValue("<nil>")ingo.opentelemetry.io/contrib/bridges/otelslog. (#6246) - Fix
NewClientHandlerso thatrpc.client.request.*metrics measure requests instead of responses andrpc.client.responses.*metrics measure responses instead of requests ingo.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc. (#6250) - Fix issue in
go.opentelemetry.io/contrib/configcausingotelprom.WithResourceAsConstantLabelsconfiguration to not be respected. (#6260) otel.Handleis no longer called on a successful shutdown of the Prometheus exporter ingo.opentelemetry.io/contrib/config. (#6299)
- Add the
- v0.0.0-20240823162824-c42406aef2fc23 Aug 2024pre-release
Nothing published for this version
- v0.0.0-20240823150756-fd2862021f8c23 Aug 2024pre-release
Nothing published for this version
- v0.0.0-20240823064926-21e0a4d8395b23 Aug 2024pre-release
Nothing published for this version
- v0.0.0-20240822234600-3e4b55047b6822 Aug 2024pre-release
Nothing published for this version