All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog.
This project adheres to Semantic Versioning.
WithMetricAttributesFnoption ingo.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpcto define dynamic attributes on auto-instrumented metrics. (#8191)
- Fix panic when passing nil
TracerProviderorMeterProvidertoWithTracerProviderorWithMeterProvideringo.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc. (#8323) Transportingo.opentelemetry.io/contrib/instrumentation/net/http/otelhttpnow supports reading request body multiple times for subsequent requests that reusehttp.Request. (#8352)
- The deprecated
DefaultClient,Get,Head,Post, andPostFormingo.opentelemetry.io/contrib/instrumentation/net/http/otelhttp. Use a custom*http.Clientwithotelhttp.NewTransport(http.DefaultTransport)instead. (#8266) - The deprecated
WithPublicEndpointingo.opentelemetry.io/contrib/instrumentation/net/http/otelhttp. UseWithPublicEndpointFninstead. (#8267) - The deprecated
WithRouteTagingo.opentelemetry.io/contrib/instrumentation/net/http/otelhttp. The route is already added automatically for spans. For metrics, the alternative is to use theWithMetricAttributesFnoption. (#8268)
- The
Version()function ingo.opentelemetry.io/contrib/instrumentation/net/http/otelhttphas been replaced byconst Version. (#8142) - The
Version()function ingo.opentelemetry.io/contrib/zpageshas been replaced byconst Version. (#8325) - The
Version()function ingo.opentelemetry.io/contrib/instrumentation/runtimehas been replaced byconst Versionstring. (#8349) - The
Version()function ingo.opentelemetry.io/contrib/instrumentation/hosthas been replaced byconst Version. (#8358) - The
Version()function ingo.opentelemetry.io/contrib/instrumentation/github.com/aws/aws-lambda-go/otellambdahas been replaced byconst Version. (#8357) - The
Version()function ingo.opentelemetry.io/contrib/instrumentation/github.com/aws/aws-sdk-go-v2/otelawshas been replaced byconst Version. (#8356) - The
Version()function ingo.opentelemetry.io/contrib/instrumentation/github.com/emicklei/go-restful/otelrestfulhas been replaced byconst Version. (#8360) - The
Version()function ingo.opentelemetry.io/contrib/propagators/opencensushas been replaced byconst Version. (#8361) - The
Version()function ingo.opentelemetry.io/contrib/instrumentation/github.com/labstack/echo/otelechohas been replaced byconst Version. (#8365) - The
Version()function ingo.opentelemetry.io/contrib/samplers/probability/consistenthas been replaced byconst Version. (#8366) - The
Version()function ingo.opentelemetry.io/contrib/instrumentation/net/http/httptrace/otelhttptracehas been replaced byconst Version. (#8302) - The
Version()function ingo.opentelemetry.io/contrib/instrumentation/go.mongodb.org/mongo-driver/v2/mongo/otelmongohas been replaced byconst Version. (#8370) - Set
error.typeattribute instead of addingexceptionspan events ingo.opentelemetry.io/contrib/instrumentation/net/http/otelhttp. (#8386) - Set
error.typeattribute instead of addingexceptionspan events ingo.opentelemetry.io/contrib/instrumentation/github.com/aws/aws-sdk-go-v2/otelaws. (#8386)
ParseYAMLingo.opentelemetry.io/contrib/otelconfnow supports environment variables substitution in the format${[env:]VAR_NAME[:-defaultvalue]}. (#6215)- Add the
http.routemetric attribute togo.opentelemetry.io/contrib/instrumentation/github.com/gorilla/mux/otelmux. (#7966) - Support
db.client.operation.durationmetric forgo.opentelemetry.io/contrib/instrumentation/go.mongodb.org/mongo-driver/v2/mongo/otelmongo. (#7983) - Add a
WithSpanNameFormatteroption togo.opentelemetry.io/contrib/instrumentation/go.mongodb.org/mongo-driver/v2/mongo/otelmongo. (#7986) - WithOnError option for otelecho middleware in
go.opentelemetry.io/contrib/instrumentation/github.com/labstack/echo/otelechoto specify the behavior when an error occurs. (#8025) - Updated
go.opentelemetry.io/contrib/otelconfto include the v1.0.0-rc2 release candidate of schema which includes backwards incompatible changes. (#8026) - Introduce v1.0.0-rc.2 model in
go.opentelemetry.io/contrib/otelconf. (#8031) - Add unmarshaling and validation for
CardinalityLimitsandSpanLimitsto v1.0.0 model ingo.opentelemetry.io/contrib/otelconf. (#8043) - Add unmarshaling and validation for
BatchLogRecordProcessor,BatchSpanProcessor, andPeriodicMetricReaderto v1.0.0 model ingo.opentelemetry.io/contrib/otelconf. (#8049) - Add unmarshaling and validation for
TextMapPropagatorto v1.0.0 model ingo.opentelemetry.io/contrib/otelconf. (#8052) - Add
jaeger.sampler.type/jaeger.sampler.paramattributes for adaptive sampling support and optionWithAttributesDisabledingo.opentelemetry.io/contrib/samplers/jaegerremote. (#8073) - Add support for
OTEL_EXPERIMENTAL_CONFIG_FILEvia theNewSDKfunction ingo.opentelemetry.io/contrib/otelconf(#8106) - Add unmarshaling and validation for
OTLPHttpExporter,OTLPGrpcExporter,OTLPGrpcMetricExporterandOTLPHttpMetricExporterto v1.0.0 model ingo.opentelemetry.io/contrib/otelconf. (#8112) - Add unmarshaling and validation for
AttributeType,AttributeNameValue,SimpleSpanProcessor,SimpleLogRecordProcessor,ZipkinSpanExporter,NameStringValuePair,InstrumentType,ExperimentalPeerInstrumentationServiceMappingElem,ExporterDefaultHistogramAggregation,PullMetricReaderto v1.0.0 model ingo.opentelemetry.io/contrib/otelconf. (#8127) - Add support for
container,host,processresource detectors ingo.opentelemetry.io/contrib/otelconf. (#8180)
- Improve performance by reducing allocations in the gRPC stats handler in
go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc. (#8035) - Export the
ReadEventsandWriteEventsconstants ingo.opentelemetry.io/contrib/instrumentation/net/http/otelhttpso they can be used inWithMessageEvents. (#8153) - Switched the default for
OTEL_SEMCONV_STABILITY_OPT_INto emit the v1.37.0 semantic conventions by default ingo.opentelemetry.io/contrib/instrumentation/go.mongodb.org/mongo-driver/mongo/otelmongo. Use the environment variableOTEL_SEMCONV_STABILITY_OPT_INto configure duplication with old semantic conventions if needed (i.e.OTEL_SEMCONV_STABILITY_OPT_IN="database/dup"). (#8230)
WithRouteTagingo.opentelemetry.io/contrib/instrumentation/net/http/otelhttpis deprecated. The route is already added automatically for spans. For metrics, the alternative is to use theWithMetricAttributesFnoption. (#8117)WithPublicEndpointingo.opentelemetry.io/contrib/instrumentation/net/http/otelhttpis deprecated. UseWithPublicEndpointFninstead. (#8152)DefaultClient,Get,Head,Post, andPostFormingo.opentelemetry.io/contrib/instrumentation/net/http/otelhttpare deprecated. Use a custom*http.Clientwithotelhttp.NewTransport(http.DefaultTransport)instead. (#8140, #8201)
- Drop support for Go 1.23. (#7831)
- Remove deprecated
go.opentelemetry.io/contrib/detectors/aws/ec2module, please usego.opentelemetry.io/contrib/detectors/aws/ec2/v2instead. (#7841) - Remove the deprecated
ExtractandInjectfunctions fromgo.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc. (#7952)
This release is the last to support Go 1.23. The next release will require at least Go 1.24.
- Add v2 version of AWS EC2 detector
go.opentelemetry.io/contrib/detectors/aws/ec2/v2due to deprecation ofgithub.com/aws/aws-sdk-go. (#6961) - Add the unit
nsto deprecated runtime metricsprocess.runtime.go.gc.pause_total_nsandprocess.runtime.go.gc.pause_nsingo.opentelemetry.io/contrib/instrumentation/runtime. (#7490) - The
go.opentelemetry.io/contrib/detectors/autodetectpackage is added to automatically compose user definedresource.Detectors at runtime. (#7522) - Add the
WithLoggerProviderOptions,WithMeterProviderOptionsandWithTracerProviderOptionsoptions toNewSDKto allow passing custom options to providers ingo.opentelemetry.io/contrib/otelconf. (#7552) - Set
SeverityTextfield to logrus hook ingo.opentelemetry.io/contrib/bridges/otellogrus. (#7553) - Add the
WithTraceAttributeFnoption togo.opentelemetry.io/contrib/instrumentation/github.com/aws/aws-lambda-go/otellambda. (#7556) - Add support for HTTP server metrics in
go.opentelemetry.io/contrib/instrumentation/github.com/labstack/echo/otelecho. (#7668) - Support testing of Go 1.25. (#7732)
- Change the default span name to be
GET /pathso it complies with the HTTP semantic conventions ingo.opentelemetry.io/contrib/instrumentation/github.com/gorilla/mux/otelmux. (#7551) - Transform attribute values of
go.opentelemetry.io/otel/attribute.Valueandgo.opentelemetry.io/otel/log.Valuetypes to appropriatego.opentelemetry.io/otel/log.Valuetype instead oflog.StringValuein the modules below. (#7660)go.opentelemetry.io/contrib/bridges/otellogrgo.opentelemetry.io/contrib/bridges/otellogrusgo.opentelemetry.io/contrib/bridges/otelsloggo.opentelemetry.io/contrib/bridges/otelzap
- The
Severitytype fromgo.opentelemetry.io/contrib/processors/minsevnow implements thefmt.Stringer,encoding.TextMarshaler,encoding.TextUnmarshaler,encoding.TextAppender,json.Marshaler, andjson.Unmarshalerinterfaces. (#7652) - The
SeverityVartype fromgo.opentelemetry.io/contrib/processors/minsevnow implements thefmt.Stringer,encoding.TextMarshaler,encoding.TextUnmarshaler, andencoding.TextAppenderinterfaces. (#7652) - Change the faas.max_memory unit to be bytes instead of MB to comply with the semantic conventions in
go.opentelemetry.io/contrib/detectors/aws/lambda. (#7745) Severity.Severity()ingo.opentelemetry.io/contrib/processors/minsevnow returnslog.SeverityTrace1for severities less thanminsev.SeverityTrace1andlog.SeverityFatal4for severities greater thanminsev.SeverityFatal4instead oflog.SeverityUndefined. All other conversions are the same. (#7748)
- Improve the ECS detector correctness in
go.opentelemetry.io/contrib/detectors/aws/ecs. (#7607)
WithSpanOptionsingo.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpcis deprecated. It is only used by the deprecated interceptor, and is unused byNewClientHandlerandNewServerHandler. (#7601)ExtractandInjectingo.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpcare deprecated. These functions were initially exposed in the public API, but are now considered unnecessary. (#7689)- The
go.opentelemetry.io/contrib/detectors/aws/ec2package is deprecated, usego.opentelemetry.io/contrib/detectors/aws/ec2/v2instead. (#7725)
- Remove support for the
OTEL_SEMCONV_STABILITY_OPT_INenvironment variable as well as support for semantic conventions v1.20.0 in the modules below. (#7584)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
- The deprecated
StreamClientInterceptorfunction fromgo.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpcis removed. (#7646)
1.37.0/0.62.0/0.31.0/0.17.0/0.12.0/0.10.0/0.9.0 - 2025-06-25
- Add the
WithPublicEndpointandWithPublicEndpointFnoptions togo.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc. (#7407)
go.opentelemetry.io/contrib/instrumentation/runtimenow produces the new metrics by default. SetOTEL_GO_X_DEPRECATED_RUNTIME_METRICS=trueenvironment variable to additionally produce the deprecated metrics. (#7418)- The semantic conventions have been upgraded from
v1.30.0tov1.34.0ingo.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc. (#7361) - The semantic conventions have been upgraded from
v1.26.0tov1.34.0ingo.opentelemetry.io/contrib/detectors/aws/ec2. (#7373, #7484) - The semantic conventions have been upgraded from
v1.26.0tov1.34.0ingo.opentelemetry.io/contrib/detectors/aws/eks. (#7375, #7484) - The semantic conventions have been upgraded from
v1.26.0tov1.34.0ingo.opentelemetry.io/contrib/detectors/aws/ecs. (#7374, #7484) - The semantic conventions have been upgraded from
v1.26.0tov1.34.0ingo.opentelemetry.io/contrib/detectors/aws/lambda. (#7376, #7484) - The semantic conventions have been upgraded from
v1.26.0tov1.34.0ingo.opentelemetry.io/contrib/detectors/azure/azurevm. (#7377, #7484) - The semantic conventions have been upgraded from
v1.26.0tov1.34.0ingo.opentelemetry.io/contrib/bridges/otelslog. (#7361, #7484) - The semantic conventions have been upgraded from
v1.27.0tov1.34.0ingo.opentelemetry.io/contrib/bridges/otellogr. (#7387, #7484) - The semantic conventions have been upgraded from
v1.26.0tov1.34.0ingo.opentelemetry.io/contrib/bridges/otelzap. (#7389, #7484) - The semantic conventions have been upgraded from
v1.26.0tov1.34.0ingo.opentelemetry.io/contrib/detectors/gcp. (#7378, #7484) - The semantic conventions have been upgraded from
v1.26.0tov1.34.0ingo.opentelemetry.io/contrib/instrumentation/github.com/emicklei/go-restful/otelrestful. (#7383, #7484) - The semantic conventions have been upgraded from
v1.26.0tov1.34.0ingo.opentelemetry.io/contrib/instrumentation/github.com/gin-gonic/gin/otelgin. (#7383, #7484) - The semantic conventions have been upgraded from
v1.26.0tov1.34.0ingo.opentelemetry.io/contrib/instrumentation/github.com/gorilla/mux/otelmux. (#7383, #7484) - The semantic conventions have been upgraded from
v1.26.0tov1.34.0ingo.opentelemetry.io/contrib/instrumentation/net/http/httptrace/otelhttptrace. (#7383, #7484) - The semantic conventions have been upgraded from
v1.26.0tov1.34.0ingo.opentelemetry.io/contrib/instrumentation/net/http/otelhttp. (#7383, #7484) - The semantic conventions have been upgraded in
go.opentelemetry.io/contrib/instrumentation/go.mongodb.org/mongo-driver/mongo/otelmongotov1.34.0. (#7393, #7484) - The semantic conventions have been upgraded in
go.opentelemetry.io/contrib/instrumentation/go.mongodb.org/mongo-driver/v2/mongo/otelmongotov1.34.0. (#7393, #7484) - The semantic conventions have been upgraded in
go.opentelemetry.io/contrib/instrumentation/github.com/aws/aws-sdk-go-v2/otelawstov1.34.0. (#7394, #7484)- The
messaging.system=AmazonSQSattribute has been corrected tomessaging.system=aws.sqs. - The
net.peer.addrattribute key has been upgraded toserver.address. - The
http.status_codeattribute key has been upgraded tohttp.response.status_code. - The
db.system=dynamodbattribute has been corrected todb.system.name=aws.dynamodb. - The deprecated
messaging.operation.type=publishattribute has been corrected tomessaging.operation.type=send.
- The
- The semantic conventions have been upgraded from
v1.21.0tov1.34.0ingo.opentelemetry.io/contrib/instrumentation/github.com/aws/aws-lambda-go/otellambda. (#7400, #7484) - The semantic conventions in
go.opentelemetry.io/contrib/instrumentation/hosthave been upgraded tov1.34.0. (#7390, #7484)- The description of
process.cpu.timeis updated to comply with semantic conventions. process.cpu.timenow uses thestateattribute instead ofcpu.mode.- The
system.cpu.timemetric is renamed tocpu.time. cpu.timenow uses thestateattribute instead ofcpu.mode.system.memory.usagenow uses thestateattribute instead ofsystem.memory.state.system.memory.utilizationnow uses thestateattribute instead ofsystem.memory.state.- The
system.memory.stateattribute (nowstate) value ofavailableis nowfreeinstead.
- The description of
AttributeCPUTimeUseringo.opentelemetry.io/contrib/instrumentation/hostis deprecated. Usego.opentelemetry.io/otel/semconvinstead. (#7390)AttributeCPUTimeSystemingo.opentelemetry.io/contrib/instrumentation/hostis deprecated. Usego.opentelemetry.io/otel/semconvinstead. (#7390)AttributeCPUTimeOtheringo.opentelemetry.io/contrib/instrumentation/hostis deprecated. Usego.opentelemetry.io/otel/semconvinstead. (#7390)AttributeCPUTimeIdleingo.opentelemetry.io/contrib/instrumentation/hostis deprecated. Usego.opentelemetry.io/otel/semconvinstead. (#7390)AttributeMemoryAvailableingo.opentelemetry.io/contrib/instrumentation/hostis deprecated. Usego.opentelemetry.io/otel/semconvinstead. (#7390)AttributeMemoryUsedingo.opentelemetry.io/contrib/instrumentation/hostis deprecated. Usego.opentelemetry.io/otel/semconvinstead. (#7390)AttributeNetworkTransmitingo.opentelemetry.io/contrib/instrumentation/hostis deprecated. Usego.opentelemetry.io/otel/semconvinstead. (#7390)AttributeNetworkReceiveingo.opentelemetry.io/contrib/instrumentation/hostis deprecated. Usego.opentelemetry.io/otel/semconvinstead. (#7390)
- Fix EKS detector erroring outside of Kubernetes in
go.opentelemetry.io/contrib/detectors/aws/eks. (#7483) - Fix data race when writing log entries with
context.Contextfields ingo.opentelemetry.io/contrib/bridges/otelzap. (#7368) - Fix nil pointer dereference when
ClientTracerdid not have a span ingo.opentelemetry.io/contrib/instrumentation/net/http/httptrace/otelhttptrace. (#7464) - Record all non-failure metrics on transport round trip errors in
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp. (#7146)
- The deprecated
StreamServerInterceptorfunction fromgo.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpcis removed. (#7362)
1.36.0/0.61.0/0.30.0/0.16.0/0.11.0/0.9.0/0.8.0 - 2025-05-21
http.routeattribute to otelhttp server request spans, whennet/http.Request.Patternis set in the modules below. (#6905, #6937)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/otelhttp
- Add
WithAttributesoption to set instrumentation scope attributes on the createdlog.Loggeringo.opentelemetry.io/contrib/bridges/otelzap. (#6962) - Add
WithAttributesoption to set instrumentation scope attributes on the createdlog.Loggeringo.opentelemetry.io/contrib/bridges/otelslog. (#6965) - Add
WithAttributesoption to set instrumentation scope attributes on the createdlog.Loggeringo.opentelemetry.io/contrib/bridges/otellogrus. (#6966) - Add
WithAttributesoption to set instrumentation scope attributes on the createdlog.Loggeringo.opentelemetry.io/contrib/bridges/otellogr. (#6967) - Add the
WithGinMetricAttributesoption to allow setting dynamic, per-request metric attributes based on*gin.Contextingo.opentelemetry.io/contrib/instrumentation/github.com/gin-gonic/gin/otelgin. (#6932) - Use Gin's own
ClientIPmethod to detect the client's IP, which supports custom proxy headers ingo.opentelemetry.io/contrib/instrumentation/github.com/gin-gonic/gin/otelgin. (#6095) - Added test for Fields in
go.opentelemetry.io/contrib/propagators/jaeger. (#7119) - Allow configuring samplers in
go.opentelemetry.io/contrib/otelconf. (#7148) - Slog log bridge now sets
SeverityTextattribute using source value ingo.opentelemetry.io/contrib/bridges/otelslog. (#7198) - Add
http.routemetric attribute ingo.opentelemetry.io/contrib/instrumentation/github.com/gin-gonic/gin/otelgin. (#7275) - Add the
WithSpanStartOptionsoption to add custom options to new spansgo.opentelemetry.io/contrib/instrumentation/github.com/gin-gonic/gin/otelgin. (#7261) - Add instrumentation support for
go.mongodb.org/mongo-driver/v2ingo.opentelemetry.io/contrib/instrumentation/go.mongodb.org/mongo-driver/v2/mongo/otelmongo. (#6539) - Rerun the span name formatter after the request ran if a
req.Patternis set, so the span name can include it ingo.opentelemetry.io/contrib/instrumentation/net/http/otelhttp. (#7192)
-
Jaeger remote sampler's probabilistic strategy now uses the same sampling algorithm as
trace.TraceIDRatioBasedingo.opentelemetry.io/contrib/samplers/jaegerremote. (#6892) -
Switched the default for
OTEL_SEMCONV_STABILITY_OPT_INto emit the v1.26.0 semantic conventions by default in the following modules.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/otelhttpTheOTEL_SEMCONV_STABILITY_OPT_IN=http/dupenvironment variable can be still used to emit both the v1.20.0 and v1.26.0 semantic conventions. It is however impossible to emit only the 1.20.0 semantic conventions, as the next release will drop support for that environment variable. (#6899)
-
Improve performance by reducing allocations for http request when using
OTEL_SEMCONV_STABILITY_OPT_IN=http/dupin the modules below. (#7180)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
-
Update the Jaeger remote sampler to use "github.com/jaegertracing/jaeger-idl/proto-gen/api_v2" in
go.opentelemetry.io/contrib/samplers/jaegerremote. (#7061) -
Improve performance by reducing allocations in the gRPC stats handler in
go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc. (#7186) -
Update
http.routeattribute to supportrequest.Patterningo.opentelemetry.io/contrib/instrumentation/github.com/gorilla/mux/otelmux. (#7108) -
Change the default span name to be
GET /pathso it complies with the HTTP semantic conventions ingo.opentelemetry.io/contrib/instrumentation/github.com/gin-gonic/gin/otelgin. (#6381) -
Set
url.schemeattribute to the request URL.Scheme when possible for HTTP client metrics ingo.opentelemetry.io/contrib/instrumentation/net/http/otelhttp. (#6938) -
The semantic conventions have been upgraded from
v1.17.0tov1.30.0ingo.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc. (#7270)- All
net.peer.*andnet.host.*attributes are now set to correctserver.*attributes. - No
net.socket.*attributes are set.
- All
-
Only sample spans when
Sampled=1ingo.opentelemetry.io/contrib/propagators/aws/xray. (#7318)
- Record request duration in seconds rather than milliseconds for semconv v1.26.0, per the specifications in the following packages. (#6942)
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
- Check for TLS related options to be set before creating TLS config in
go.opentelemetry.io/contrib/otelconf. (#6984) - Fixed handling of the
OTEL_SEMCONV_STABILITY_OPT_INenvironment variable ingo.opentelemetry.io/contrib/instrumentation/github.com/gin-gonic/gin/otelgin. (#7215) - Support mixed categories for
OTEL_SEMCONV_STABILITY_OPT_INopt-in in the following packages. (#7246)go.opentelemetry.io/contrib/instrumentation/github.com/emicklei/go-restful/otelrestful.go.opentelemetry.io/contrib/instrumentation/gin-gonic/gin/otelgin.go.opentelemetry.io/contrib/instrumentation/gorilla/mux/otelmux.go.opentelemetry.io/contrib/instrumentation/go.mongodb.org/mongo-driver/mongo/otelmongo.go.opentelemetry.io/contrib/instrumentation/net/http/httptrace/otelhttptrace.go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp.
- Drop support for Go 1.22. (#6853)
- The deprecated
go.opentelemetry.io/contrib/configpackage is removed, usego.opentelemetry.io/contrib/otelconfinstead. (#6894) - The deprecated
SemVersionfunction is removed ingo.opentelemetry.io/contrib/instrumentation/github.com/aws/aws-lambda-go/otellambda, useVersionfunction instead. (#7058) - The deprecated
SemVersionfunction ingo.opentelemetry.io/contrib/samplers/probability/consistentis removed, useVersioninstead. (#7072) - The deprecated
SemVersionfunction is removed ingo.opentelemetry.io/contrib/instrumentation/github.com/aws/aws-sdk-go-v2/otelaws/testpackage, useVersioninstead. (#7077) - The deprecated
SemVersionfunction is removed ingo.opentelemetry.io/contrib/instrumentation/github.com/gorilla/mux/otelmux, useVersionfunction instead. (#7084) - The deprecated
SemVersionfunction is removed ingo.opentelemetry.io/contrib/instrumentation/github.com/gin-gonic/gin/otelgin, useVersionfunction instead. (#7085) - The deprecated
SemVersionfunction is removed ingo.opentelemetry.io/contrib/instrumentation/go.mongodb.org/mongo-driver/mongo/otelmongo/test, useVersionfunction instead. (#7142) - The deprecated
SemVersionfunction is removed ingo.opentelemetry.io/contrib/instrumentation/github.com/gorilla/mux/otelmux/test, useVersionfunction instead. (#7086) - The deprecated
SemVersionfunction is removed ingo.opentelemetry.io/contrib/instrumentation/go.mongodb.org/mongo-driver/mongo/otelmongo, useVersionfunction instead. (#7140) - The deprecated
SemVersionfunction is removed ingo.opentelemetry.io/contrib/instrumentation/github.com/gin-gonic/gin/otelgin/test, useVersionfunction instead. (#7087) - The deprecated
SemVersionfunction is removed ingo.opentelemetry.io/contrib/instrumentation/github.com/labstack/echo/otelecho, useVersionfunction instead. (#7089) - The deprecated
SemVersionfunction is removed ingo.opentelemetry.io/contrib/instrumentation/github.com/labstack/echo/otelecho/test, useVersionfunction instead. (#7090) - The deprecated
SemVersionfunction is removed ingo.opentelemetry.io/contrib/instrumentation/github.com/emicklei/go-restful/otelrestful, useVersionfunction instead. (#7091) - The deprecated
SemVersionfunction is removed ingo.opentelemetry.io/contrib/instrumentation/github.com/emicklei/go-restful/otelrestful/test, useVersionfunction instead. (#7092) - The deprecated
UnaryServerInterceptoringo.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpcis removed, useNewServerHandlerinstead. (#7115) - The deprecated
DynamoDBAttributeSetterfunction is removedopentelemetry-go-contrib/instrumentation/github.com/aws/aws-sdk-go-v2/otelaws/dynamodbattributes.go, useVersionfunction instead.(#7128) - The deprecated
SNSAttributeSetterfunction is removed ingo.opentelemetry.io/contrib/instrumentation/github.com/aws/aws-sdk-go-v2/otelaws, useSNSAttributeBuilderfunction instead. (#7136) - The deprecated
AttributeSetterfunction is removed ingo.opentelemetry.io/contrib/instrumentation/github.com/aws/aws-sdk-go-v2/otelaws, use theAttributeBuilderfunction instead. (#7137) - The deprecated
SemVersionfunction is removed ingo.opentelemetry.io/contrib/zpages, useVersionfunction instead. (#7147) - The deprecated
SemVersionfunction is removed ingo.opentelemetry.io/contrib/samplers/jaegerremote, useVersionfunction instead. (#7147) - The deprecated
SemVersionfunction is removed ingo.opentelemetry.io/contrib/propagators/opencensus, useVersionfunction instead. (#7147) - The deprecated
SemVersionfunction is removed ingo.opentelemetry.io/contrib/instrumentation/runtime, useVersionfunction instead. (#7147) - The deprecated
SemVersionfunction is removed ingo.opentelemetry.io/contrib/instrumentation/github.com/aws/aws-sdk-go-v2/otelaws, useVersionfunction instead. (#7154) - The deprecated
DefaultAttributeSetteringo.opentelemetry.io/contrib/instrumentation/github.com/aws/aws-sdk-go-v2/otelawsis removed, use theDefaultAttributeBuilderfunction instead. (#7127) - The deprecated
UnaryClientInterceptorfunction is removed ingo.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpcuseNewClientHandlerfunction instead. (#7125) - The deprecated
SemVersionfunction is removed ingo.opentelemetry.io/contrib/instrumentation/net/http/otelhttp, useVersionfunction instead. (#7167) - The deprecated
SemVersionfunction is removed ingo.opentelemetry.io/contrib/instrumentation/net/http/httptrace/otelhttptrace, useVersionfunction instead. (#7144) - The deprecated
SemVersionfunction is removed ingo.opentelemetry.io/contrib/instrumentation/net/http/httptrace/otelhttptrace/test, useVersionfunction instead. (#7144) - The deprecated
go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc/filters/interceptorpackage is removed, usego.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc/filtersinstead. (#7110) - The deprecated
SemVersionfunction is removed ingo.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc, useVersionfunction instead. (#7143) - The deprecated
SemVersionfunction is removed ingo.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc/test, useVersionfunction instead. (#7143) - The deprecated
SQSAttributeSetterfunction is removed ingo.opentelemetry.io/contrib/instrumentation/github.com/aws/aws-sdk-go-v2/otelawspackage, useSQSAttributeBuilderinstead. (#7145) - The deprecated
SemVersionfunction is removed ingo.opentelemetry.io/contrib/instrumentation/hostpackage, useVersioninstead. (#7203) - The
GRPCStatusCodeKeyconstant fromgo.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpcis removed. Usesemconv.RPCGRPCStatusCodeKeyfromgo.opentelemetry.io/otel/semconv/*instead. (#7270)
1.35.0/0.60.0/0.29.0/0.15.0/0.10.0/0.8.0/0.7.0 - 2025-03-05
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
- 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)
- 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
- 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)
- 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)
1.34.0/0.59.0/0.28.0/0.14.0/0.9.0/0.7.0/0.6.0 - 2025-01-17
- 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)
- 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)
1.33.0/0.58.0/0.27.0/0.13.0/0.8.0/0.6.0/0.5.0 - 2024-12-12
- 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)
- 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)
- 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)
1.32.0/0.57.0/0.26.0/0.12.0/0.7.0/0.5.0/0.4.0 - 2024-11-08
- 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
- 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)
- 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)
1.31.0/0.56.0/0.25.0/0.11.0/0.6.0/0.4.0/0.3.0 - 2024-10-14
- The
SeveritierandSeverityVartypes are added togo.opentelemetry.io/contrib/processors/minsevallowing dynamic configuration of the severity used by theLogProcessor. (#6116) - Move examples from
go.opentelemetry.io/otelto this repository underexamplesdirectory. (#6158) - Support yaml/json struct tags for generated code in
go.opentelemetry.io/contrib/config. (#5433) - Add support for parsing YAML configuration via
ParseYAMLingo.opentelemetry.io/contrib/config. (#5433) - Add support for temporality preference configuration in
go.opentelemetry.io/contrib/config. (#5860)
- The function signature of
NewLogProcessoringo.opentelemetry.io/contrib/processors/minsevhas changed to accept the addedSeveritierinterface instead of alog.Severity. (#6116) - Updated
go.opentelemetry.io/contrib/configto use the v0.3.0 release of schema which includes backwards incompatible changes. (#6126) NewSDKingo.opentelemetry.io/contrib/confignow returns a no-op SDK ifdisabledis set totrue. (#6185)- The deprecated
go.opentelemetry.io/contrib/instrumentation/github.com/labstack/echo/otelechopackage has found a Code Owner. The package is no longer deprecated. (#6207)
- Possible nil dereference panic in
go.opentelemetry.io/contrib/instrumentation/net/http/httptrace/otelhttptrace. (#5965) logrus.Leveltransformed to appropriatelog.Severityingo.opentelemetry.io/contrib/bridges/otellogrus. (#6191)
- The
Minimumfield of theLogProcessoringo.opentelemetry.io/contrib/processors/minsevis removed. UseNewLogProcessorto configure this setting. (#6116) - The deprecated
go.opentelemetry.io/contrib/instrumentation/gopkg.in/macaron.v1/otelmacaronpackage is removed. (#6186) - The deprecated
go.opentelemetry.io/contrib/samplers/aws/xraypackage is removed. (#6187)
1.30.0/0.55.0/0.24.0/0.10.0/0.5.0/0.3.0/0.2.0 - 2024-09-10
- Add
NewProducertogo.opentelemetry.io/contrib/instrumentation/runtime, which allows collecting thego.schedule.durationhistogram metric from the Go runtime. (#5991) - Add gRPC protocol support for OTLP log exporter in
go.opentelemetry.io/contrib/exporters/autoexport. (#6083)
- Drop support for Go 1.21. (#6046, #6047)
- Superfluous call to
WriteHeaderwhen flushing after setting a status code ingo.opentelemetry.io/contrib/instrumentation/net/http/otelhttp. (#6074) - Superfluous call to
WriteHeaderwhen writing the response body after setting a status code ingo.opentelemetry.io/contrib/instrumentation/net/http/otelhttp. (#6055)
1.29.0/0.54.0/0.23.0/0.9.0/0.4.0/0.2.0/0.1.0 - 2024-08-23
This release is the last to support Go 1.21. The next release will require at least Go 1.22.
- Add the
WithSpanAttributesandWithMetricAttributesmethods to set custom attributes to the stats handler ingo.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc. (#5133) - The
go.opentelemetry.io/contrib/bridges/otelzapmodule. This module provides an OpenTelemetry logging bridge forgo.uber.org/zap. (#5191) - Support for the
OTEL_SEMCONV_STABILITY_OPT_IN=http/dupenvironment variable ingo.opentelemetry.io/contrib/instrumentation/net/http/otelhttpto emit attributes for both the v1.20.0 and v1.26.0 semantic conventions. (#5401) - The
go.opentelemetry.io/contrib/bridges/otelzerologmodule. This module provides an OpenTelemetry logging bridge forgithub.com/rs/zerolog. (#5405) - Add
WithGinFilterfilter parameter ingo.opentelemetry.io/contrib/instrumentation/github.com/gin-gonic/gin/otelginto allow filtering requests with*gin.Context. (#5743) - Support for stdoutlog exporter in
go.opentelemetry.io/contrib/config. (#5850) - Add macOS ARM64 platform to the compatibility testing suite. (#5868)
- Add new runtime metrics to
go.opentelemetry.io/contrib/instrumentation/runtime, which are still disabled by default. (#5870) - Add the
WithMetricsAttributesFnoption to allow setting dynamic, per-request metric attributes ingo.opentelemetry.io/contrib/instrumentation/net/http/otelhttp. (#5876) - The
go.opentelemetry.io/contrib/configpackage supports configuringwith_resource_constant_labelsfor the prometheus exporter. (#5890) - Support Go 1.23. (#6017)
- The deprecated
go.opentelemetry.io/contrib/processors/baggagecopypackage is removed. (#5853)
- Race condition when reading the HTTP body and writing the response in
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp. (#5916)
1.28.0/0.53.0/0.22.0/0.8.0/0.3.0/0.1.0 - 2024-07-02
- Add the new
go.opentelemetry.io/contrib/detectors/azure/azurevmpackage to provide a resource detector for Azure VMs. (#5422) - Add support to configure views when creating MeterProvider using the config package. (#5654)
- The
go.opentelemetry.io/contrib/configadd support to configure periodic reader interval and timeout. (#5661) - Add log support for the autoexport package. (#5733)
- Add support for disabling the old runtime metrics using the
OTEL_GO_X_DEPRECATED_RUNTIME_METRICS=falseenvironment variable. (#5747) - Add support for signal-specific protocols environment variables (
OTEL_EXPORTER_OTLP_TRACES_PROTOCOL,OTEL_EXPORTER_OTLP_LOGS_PROTOCOL,OTEL_EXPORTER_OTLP_METRICS_PROTOCOL) ingo.opentelemetry.io/contrib/exporters/autoexport. (#5816) - The
go.opentelemetry.io/contrib/processors/minsevmodule is added. This module provides and experimental logging processor with a configurable threshold for the minimum severity records must have to be recorded. (#5817) - The
go.opentelemetry.io/contrib/processors/baggagecopymodule. This module is a replacement ofgo.opentelemetry.io/contrib/processors/baggage/baggagetrace. (#5824)
- Improve performance of
go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpcwith the usage ofWithAttributeSet()instead ofWithAttribute(). (#5664) - Improve performance of
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttpwith the usage ofWithAttributeSet()instead ofWithAttribute(). (#5664) - Update
go.opentelemetry.io/contrib/configto latest released configuration schema which introduces breaking changes whereAttributesis now amap[string]interface{}. (#5758) - Upgrade all dependencies of
go.opentelemetry.io/otel/semconv/v1.25.0togo.opentelemetry.io/otel/semconv/v1.26.0. (#5847)
- Custom attributes targeting metrics recorded by the
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttpare not ignored anymore. (#5129) - The double setup in
go.opentelemetry.io/contrib/instrumentation/net/http/httptrace/otelhttptrace/examplethat caused duplicate traces. (#5564) - The superfluous
response.WriteHeadercall ingo.opentelemetry.io/contrib/instrumentation/net/http/otelhttpwhen the response writer is flushed. (#5634) - Use
c.FullPath()method to sethttp.routeattribute ingo.opentelemetry.io/contrib/instrumentation/github.com/gin-gonic/gin/otelgin. (#5734) - Out-of-bounds panic in case of invalid span ID in
go.opentelemetry.io/contrib/propagators/b3. (#5754)
- The
go.opentelemetry.io/contrib/instrumentation/github.com/labstack/echo/otelechopackage is deprecated. If you would like to become a Code Owner of this module and prevent it from being removed, see #5550. (#5645) - The
go.opentelemetry.io/contrib/instrumentation/gopkg.in/macaron.v1/otelmacaronpackage is deprecated. If you would like to become a Code Owner of this module and prevent it from being removed, see #5552. (#5646) - The
go.opentelemetry.io/contrib/samplers/aws/xraypackage is deprecated. If you would like to become a Code Owner of this module and prevent it from being removed, see #5554. (#5647) - The
go.opentelemetry.io/contrib/processors/baggage/baggagetracepackage is deprecated. Use the addedgo.opentelemetry.io/contrib/processors/baggagecopypackage instead. (#5824)- Use
baggagecopy.NewSpanProcessoras a replacement forbaggagetrace.New.NewSpanProcessoraccepts aFilterfunction type that selects which baggage members are added to a span.NewSpanProcessorreturns a*baggagecopy.SpanProcessorinstead of atrace.SpanProcessorinterface. The returned type still implements the interface.
- Use
1.27.0/0.52.0/0.21.0/0.7.0/0.2.0 - 2024-05-21
- Add an experimental
OTEL_METRICS_PRODUCERSenvironment variable togo.opentelemetry.io/contrib/autoexportto be set metrics producers. (#5281)prometheusandnoneare supported values. You can specify multiple producers separated by a comma.- Add
WithFallbackMetricProduceroption that adds a fallback if theOTEL_METRICS_PRODUCERSis not set or empty.
- The
go.opentelemetry.io/contrib/processors/baggage/baggagetracemodule. This module provides a Baggage Span Processor. (#5404) - Add gRPC trace
Filterfor stats handler togo.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc. (#5196) - Add a repository Code Ownership Policy. (#5555)
- The
go.opentelemetry.io/contrib/bridges/otellogrusmodule. This module provides an OpenTelemetry logging bridge forgithub.com/sirupsen/logrus. (#5355) - The
WithVersionoption function ingo.opentelemetry.io/contrib/bridges/otelslog. This option function is used as a replacement ofWithInstrumentationScopeto specify the logged package version. (#5588) - The
WithSchemaURLoption function ingo.opentelemetry.io/contrib/bridges/otelslog. This option function is used as a replacement ofWithInstrumentationScopeto specify the semantic convention schema URL for the logged records. (#5588) - Add support for Cloud Run jobs in
go.opentelemetry.io/contrib/detectors/gcp. (#5559)
-
The gRPC trace
Filterfor interceptor is renamed toInterceptorFilter. (#5196) -
The gRPC trace filter functions
Any,All,None,Not,MethodName,MethodPrefix,FullMethodName,ServiceName,ServicePrefixandHealthCheckfor interceptor are moved togo.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc/filters/interceptor. With this change, the filters ingo.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpcare now working for stats handler. (#5196) -
NewSDKingo.opentelemetry.io/contrib/confignow returns a configured SDK with a validLoggerProvider. (#5427) -
NewLoggernow accepts anamestringas the first argument. This parameter is used as a replacement ofWithInstrumentationScopeto specify the name of the logger backing the underlyingHandler. (#5588) -
NewHandlernow accepts anamestringas the first argument. This parameter is used as a replacement ofWithInstrumentationScopeto specify the name of the logger backing the returnedHandler. (#5588) -
Upgrade all dependencies of
go.opentelemetry.io/otel/semconv/v1.24.0togo.opentelemetry.io/otel/semconv/v1.25.0. (#5605)
- The
WithInstrumentationScopeoption function ingo.opentelemetry.io/contrib/bridges/otelslogis removed. Use thenameparameter added toNewHandlerandNewLoggeras well asWithVersionandWithSchemaas replacements. (#5588)
- The
InterceptorFiltertype ingo.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpcis deprecated. (#5196)
1.26.0/0.51.0/0.20.0/0.6.0/0.1.0 - 2024-04-24
NewSDKingo.opentelemetry.io/contrib/confignow returns a configured SDK with a validMeterProvider. (#4804)
- Change the scope name for the prometheus bridge to
go.opentelemetry.io/contrib/bridges/prometheusto match the package. (#5396) - Add support for settings additional properties for resource configuration in
go.opentelemetry.io/contrib/config. (#4832)
- Fix bug where an empty exemplar was added to counters in
go.opentelemetry.io/contrib/bridges/prometheus. (#5395) - Fix bug where the last histogram bucket was missing in
go.opentelemetry.io/contrib/bridges/prometheus. (#5395)
1.25.0/0.50.0/0.19.0/0.5.0/0.0.1 - 2024-04-05
- Implemented setting the
cloud.resource_idresource attribute ingo.opentelemetry.io/detectors/aws/ecsbased on the ECS Metadata v4 endpoint. (#5091) - The
go.opentelemetry.io/contrib/bridges/otelslogmodule. This module provides an OpenTelemetry logging bridge for "log/slog". (#5335)
- Update all dependencies to address GO-2024-2687. (#5359)
- Drop support for Go 1.20. (#5163)
1.24.0/0.49.0/0.18.0/0.4.0 - 2024-02-23
This release is the last to support Go 1.20. The next release will require at least Go 1.21.
- Support Go 1.22. (#5082)
- Add support for Summary metrics to
go.opentelemetry.io/contrib/bridges/prometheus. (#5089) - Add support for Exponential (native) Histograms in
go.opentelemetry.io/contrib/bridges/prometheus. (#5093)
- The deprecated
RequestCountconstant ingo.opentelemetry.io/contrib/instrumentation/net/http/otelhttpis removed. (#4894) - The deprecated
RequestContentLengthconstant ingo.opentelemetry.io/contrib/instrumentation/net/http/otelhttpis removed. (#4894) - The deprecated
ResponseContentLengthconstant ingo.opentelemetry.io/contrib/instrumentation/net/http/otelhttpis removed. (#4894) - The deprecated
ServerLatencyconstant ingo.opentelemetry.io/contrib/instrumentation/net/http/otelhttpis removed. (#4894)
- Retrieving the body bytes count in
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttpdoes not cause a data race anymore. (#5080)
1.23.0/0.48.0/0.17.0/0.3.0 - 2024-02-06
- Add client metric support to
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp. (#4707) - Add peer attributes to spans recorded by
NewClientHandler,NewServerHandleringo.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc. (#4873) - Add support for
cloud.account.id,cloud.availability_zoneandcloud.regionin the AWS ECS detector. (#4860)
- The fallback options in
go.opentelemetry.io/contrib/exporters/autoexportnow accept factory functions. (#4891)WithFallbackMetricReader(metric.Reader) MetricOptionis replaced withfunc WithFallbackMetricReader(func(context.Context) (metric.Reader, error)) MetricOption.WithFallbackSpanExporter(trace.SpanExporter) SpanOptionis replaced withWithFallbackSpanExporter(func(context.Context) (trace.SpanExporter, error)) SpanOption.
- The
http.server.request_content_lengthmetric ingo.opentelemetry.io/contrib/instrumentation/net/http/otelhttpis changed tohttp.server.request.size.(#4707) - The
http.server.response_content_lengthmetric ingo.opentelemetry.io/contrib/instrumentation/net/http/otelhttpis changed tohttp.server.response.size.(#4707)
- The
RequestCount,RequestContentLength,ResponseContentLength,ServerLatencyconstants ingo.opentelemetry.io/contrib/instrumentation/net/http/otelhttpare deprecated. (#4707)
- Do not panic in
go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpcifMeterProviderreturns anilinstrument. (#4875)
1.22.0/0.47.0/0.16.0/0.2.0 - 2024-01-18
- Add
SDK.Shutdownmethod in"go.opentelemetry.io/contrib/config". (#4583) NewSDKingo.opentelemetry.io/contrib/confignow returns a configured SDK with a validTracerProvider. (#4741)
- The semantic conventions used by
go.opentelemetry.io/contrib/instrumentation/github.com/emicklei/go-restful/otelrestfulare upgraded to v1.20.0. (#4320) - The semantic conventions used by
go.opentelemetry.io/contrib/instrumentation/github.com/gin-gonic/gin/otelginare upgraded to v1.20.0. (#4320) - The semantic conventions used by
go.opentelemetry.io/contrib/instrumentation/github.com/gorilla/mux/otelmuxare upgraded to v1.20.0. (#4320) - The semantic conventions used by
go.opentelemetry.io/contrib/instrumentation/github.com/labstack/echo/otelechoare upgraded to v1.20.0. (#4320) - The semantic conventions used by
go.opentelemetry.io/contrib/instrumentation/gopkg.in/macaron.v1/otelmacaronare upgraded to v1.20.0. (#4320) - The semantic conventions used by
go.opentelemetry.io/contrib/instrumentation/net/http/httptrace/otelhttptraceare upgraded to v1.20.0. (#4320) - The semantic conventions used by
go.opentelemetry.io/contrib/instrumentation/net/http/httptrace/otelhttptrace/exampleare upgraded to v1.20.0. (#4320) - The semantic conventions used by
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp/exampleare upgraded to v1.20.0. (#4320) - The semantic conventions used by
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttpare upgraded to v1.20.0. (#4320) - Updated configuration schema to include
schema_urlfor resource definition andwithout_type_suffixandwithout_unitsfor the Prometheus exporter. (#4727) - The semantic conventions used by the
go.opentelemetry.io/contrib/detectors/aws/ecsresource detector are upgraded to v1.24.0. (#4803) - The semantic conventions used by the
go.opentelemetry.io/contrib/detectors/aws/lambdaresource detector are upgraded to v1.24.0. (#4803) - The semantic conventions used by the
go.opentelemetry.io/contrib/detectors/aws/ec2resource detector are upgraded to v1.24.0. (#4803) - The semantic conventions used by the
go.opentelemetry.io/contrib/detectors/aws/eksresource detector are upgraded to v1.24.0. (#4803) - The semantic conventions used by the
go.opentelemetry.io/contrib/detectors/gcpresource detector are upgraded to v1.24.0. (#4803) - The semantic conventions used in
go.opentelemetry.io/contrib/instrumentation/github.com/aws/aws-lambda-go/otellambda/testare upgraded to v1.24.0. (#4803)
- Fix
NewServerHandleringo.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpcto correctly set the span status depending on the gRPC status. (#4587) - The
stats.Handlerfromgo.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpcnow does not crash when receiving an unexpected context. (#4825) - Update
go.opentelemetry.io/contrib/detectors/aws/ecsto fix the task ARN when it is not valid. (#3583) - Do not panic in
go.opentelemetry.io/contrib/detectors/aws/ecswhen the container ARN is not valid. (#3583)
1.21.1/0.46.1/0.15.1/0.1.1 - 2023-11-16
- Upgrade dependencies of OpenTelemetry Go to use the new
v1.21.0/v0.44.0release. (#4582)
- Fix
StreamClientInterceptoringo.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpcto end the spans synchronously. (#4537) - Fix data race in stats handlers when processing messages received and sent metrics in
go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc. (#4577) - The stats handlers
NewClientHandler,NewServerHandleringo.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpcnow record RPC durations inmsinstead ofns. (#4548)
1.21.0/0.46.0/0.15.0/0.1.0 - 2023-11-10
- Add
"go.opentelemetry.io/contrib/samplers/jaegerremote".WithSamplingStrategyFetcherwhich sets custom fetcher implementation. (#4045) - Add
"go.opentelemetry.io/contrib/config"package that includes configuration models generated via go-jsonschema. (#4376) - Add
NewSDKfunction to"go.opentelemetry.io/contrib/config". The initial implementation only returns noop providers. (#4414) - Add metrics support (No-op, OTLP and Prometheus) to
go.opentelemetry.io/contrib/exporters/autoexport. (#4229, #4479) - Add support for
consolespan exporter and metrics exporter ingo.opentelemetry.io/contrib/exporters/autoexport. (#4486) - Set unit and description on all instruments in
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp. (#4500) - Add metric support for
grpc.StatsHandleringo.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc. (#4356) - Expose the name of the scopes in all instrumentation libraries as
ScopeName. (#4448)
- Dropped compatibility testing for Go 1.19. The project no longer guarantees support for this version of Go. (#4352)
- Upgrade dependencies of OpenTelemetry Go to use the new
v1.20.0/v0.43.0release. (#4546) - In
go.opentelemetry.io/contrib/exporters/autoexport,Optionwas renamed toSpanOption. The old name is deprecated but continues to be supported as an alias. (#4229)
- The interceptors (
UnaryClientInterceptor,StreamClientInterceptor,UnaryServerInterceptor,StreamServerInterceptor,WithInterceptorFilter) are deprecated. Use stats handlers (NewClientHandler,NewServerHandler) instead. (#4534)
- The
go.opentelemetry.io/contrib/samplers/jaegerremotesampler does not panic when the default HTTP round-tripper (http.DefaultTransport) is not*http.Transport. (#4045) - The
UnaryServerInterceptoringo.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpcnow sets gRPC status code correctly for therpc.server.durationmetric. (#4481) - The
NewClientHandler,NewServerHandleringo.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpcnow honorotelgrpc.WithMessageEventsoptions. (#4536) - The
net.sock.peer.*andnet.peer.*high cardinality attributes are removed from the metrics generated bygo.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc. (#4322)
1.20.0/0.45.0/0.14.0 - 2023-09-28
- Set the description for the
rpc.server.durationmetric ingo.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc. (#4302) - Add
NewServerHandlerandNewClientHandlerthat return agrpc.StatsHandlerused for gRPC instrumentation ingo.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc. (#3002) - Add new Prometheus bridge module in
go.opentelemetry.io/contrib/bridges/prometheus. (#4227)
- Upgrade dependencies of OpenTelemetry Go to use the new
v1.19.0/v0.42.0/v0.0.7release. - Use
grpc.StatsHandlerfor gRPC instrumentation ingo.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc/example. (#4325)
1.19.0/0.44.0/0.13.0 - 2023-09-12
- Add
gcp.gce.instance.nameandgcp.gce.instance.hostnameresource attributes togo.opentelemetry.io/contrib/detectors/gcp. (#4263)
- The semantic conventions used by
go.opentelemetry.io/contrib/detectors/aws/ec2have been upgraded to v1.21.0. (#4265) - The semantic conventions used by
go.opentelemetry.io/contrib/detectors/aws/ecshave been upgraded to v1.21.0. (#4265) - The semantic conventions used by
go.opentelemetry.io/contrib/detectors/aws/ekshave been upgraded to v1.21.0. (#4265) - The semantic conventions used by
go.opentelemetry.io/contrib/detectors/aws/lambdahave been upgraded to v1.21.0. (#4265) - The semantic conventions used by
go.opentelemetry.io/contrib/instrumentation/github.com/aws/aws-lambda-go/otellambdahave been upgraded to v1.21.0. (#4265)- The
faas.executionattribute is nowfaas.invocation_id. - The
faas.idattribute is nowaws.lambda.invoked_arn.
- The
- The semantic conventions used by
go.opentelemetry.io/contrib/instrumentation/github.com/aws/aws-sdk-go-v2/otelawshave been upgraded to v1.21.0. (#4265) - The
http.request.methodattribute will only allow known HTTP methods from the metrics generated bygo.opentelemetry.io/contrib/instrumentation/net/http/otelhttp. (#4277)
- The high cardinality attributes
net.sock.peer.addr,net.sock.peer.port,http.user_agent,enduser.id, andhttp.client_ipwere removed from the metrics generated bygo.opentelemetry.io/contrib/instrumentation/net/http/otelhttp. (#4277) - The deprecated
go.opentelemetry.io/contrib/instrumentation/github.com/astaxie/beego/otelbeegomodule is removed. (#4295) - The deprecated
go.opentelemetry.io/contrib/instrumentation/github.com/go-kit/kit/otelkitmodule is removed. (#4295) - The deprecated
go.opentelemetry.io/contrib/instrumentation/github.com/Shopify/sarama/otelsaramamodule is removed. (#4295) - The deprecated
go.opentelemetry.io/contrib/instrumentation/github.com/bradfitz/gomemcache/memcache/otelmemcachemodule is removed. (#4295) - The deprecated
go.opentelemetry.io/contrib/instrumentation/github.com/gocql/gocql/otelgocqlmodule is removed. (#4295)
1.18.0/0.43.0/0.12.0 - 2023-08-28
- Add
NewMiddlewarefunction ingo.opentelemetry.io/contrib/instrumentation/net/http/otelhttp. (#2964) - The
go.opentelemetry.io/contrib/exporters/autoexportpackage to provide configuration of trace exporters with useful defaults and environment variable support. (#2753, #4100, #4130, #4132, #4134) WithRouteTagingo.opentelemetry.io/contrib/instrumentation/net/http/otelhttpadds HTTP route attribute to metrics. (#615)- Add
WithSpanOptionsoption ingo.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc. (#3768) - Add testing support for Go 1.21. (#4233)
- Add
WithFilteroption togo.opentelemetry.io/contrib/instrumentation/github.com/gorilla/mux/otelmux. (#4230)
- Change interceptors in
go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpcto disableSENT/RECEIVEDevents. UseWithMessageEvents()to turn back on. (#3964) go.opentelemetry.io/contrib/detectors/gcp: Detectfaas.instanceinstead offaas.id, sincefaas.idis being removed. (#4198)
- AWS XRay Remote Sampling to cap
quotaBalanceto 1x quota ingo.opentelemetry.io/contrib/samplers/aws/xray. (#3651, #3652) - Do not panic when the HTTP request has the "Expect: 100-continue" header in
go.opentelemetry.io/contrib/instrumentation/net/http/httptrace/otelhttptrace. (#3892) - Fix span status value set for non-standard HTTP status codes in modules listed below. (#3966)
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/gopkg.in/macaron.v1/otelmacarongo.opentelemetry.io/contrib/instrumentation/net/http/httptrace/otelhttptracego.opentelemetry.io/contrib/instrumentation/net/http/otelhttp
- Do not modify the origin request in
RoundTripperingo.opentelemetry.io/contrib/instrumentation/net/http/otelhttp. (#4033) - Handle empty value of
OTEL_PROPAGATORSenvironment variable the same way as when the variable is unset ingo.opentelemetry.io/contrib/propagators/autoprop. (#4101) - Fix gRPC service/method URL path parsing discrepancies in
go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc. (#4135)
- The
go.opentelemetry.io/contrib/instrumentation/github.com/astaxie/beego/otelbeegomodule is deprecated. (#4092, #4104) - The
go.opentelemetry.io/contrib/instrumentation/github.com/go-kit/kit/otelkitmodule is deprecated. (#4093, #4104) - The
go.opentelemetry.io/contrib/instrumentation/github.com/Shopify/sarama/otelsaramamodule is deprecated. (#4099) - The
go.opentelemetry.io/contrib/instrumentation/github.com/bradfitz/gomemcache/memcache/otelmemcachemodule is deprecated. (#4164) - The
go.opentelemetry.io/contrib/instrumentation/github.com/gocql/gocql/otelgocqlmodule is deprecated. (#4164)
- Remove
Handlertype ingo.opentelemetry.io/contrib/instrumentation/net/http/otelhttp. (#2964)
1.17.0/0.42.0/0.11.0 - 2023-05-23
- Use
strings.Cut()instead ofstring.SplitN()for better readability and memory use. (#3822)
1.17.0-rc.1/0.42.0-rc.1/0.11.0-rc.1 - 2023-05-17
- Upgrade dependencies of OpenTelemetry Go to use the new
v1.16.0-rc.1/v0.39.0-rc.1release. - Remove
semver:prefix from instrumentation version. (#3681, #3798)
SemVersionfunctions in instrumentation packages are deprecated, useVersioninstead. (#3681, #3798)
1.16.1/0.41.1/0.10.1 - 2023-05-02
- The
WithPublicEndpointandWithPublicEndpointFnoptions ingo.opentelemetry.io/contrib/instrumentation/github.com/gorilla/mux/otelmux. (#3661)
- Upgrade dependencies of OpenTelemetry Go to use the new
v1.15.1/v0.38.1release
- AWS XRay Remote Sampling to preserve previous rule if updated rule property has not changed in
go.opentelemetry.io/contrib/samplers/aws/xray. (#3619, #3620)
1.16.0/0.41.0/0.10.0 - 2023-04-28
- AWS SDK add
rpc.systemattribute ingo.opentelemetry.io/contrib/instrumentation/github.com/aws/aws-sdk-go-v2/otelaws. (#3582, #3617)
- Update
go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpcto align gRPC server span status with the changes in the OpenTelemetry specification. (#3685) - Adding the
db.statementtag to spans ingo.opentelemetry.io/contrib/instrumentation/go.mongodb.org/mongo-driver/mongo/otelmongois now disabled by default. (#3519)
- The error received by
otelechomiddleware is then passed back to upstream middleware instead of being swallowed. (#3656) - Prevent taking from reservoir in AWS XRay Remote Sampler when there is zero capacity in
go.opentelemetry.io/contrib/samplers/aws/xray. (#3684) - Fix
otelhttp.Handleringo.opentelemetry.io/contrib/instrumentation/net/http/otelhttpto propagate multipleWriteHeadercalls while persisting the initialstatusCode. (#3580)
1.16.0-rc.2/0.41.0-rc.2/0.10.0-rc.2 - 2023-03-23
- The
WithPublicEndpointandWithPublicEndpointFnoptions ingo.opentelemetry.io/contrib/instrumentation/github.com/emicklei/go-restful/otelrestful. (#3563)
- AWS SDK rename attributes
aws.operation,aws.servicetorpc.method,rpc.serviceingo.opentelemetry.io/contrib/instrumentation/github.com/aws/aws-sdk-go-v2/otelaws. (#3582, #3617) - AWS SDK span name to be of the format
Service.Operationingo.opentelemetry.io/contrib/instrumentation/github.com/aws/aws-sdk-go-v2/otelaws. (#3582, #3521) - Prevent sampler configuration reset from erroneously sampling first span in
go.opentelemetry.io/contrib/samplers/jaegerremote. (#3603, #3604)
1.16.0-rc.1/0.41.0-rc.1/0.10.0-rc.1 - 2023-03-02
- Dropped compatibility testing for Go 1.18. The project no longer guarantees support for this version of Go. (#3516)
1.15.0/0.40.0/0.9.0 - 2023-02-27
This release is the last to support Go 1.18. The next release will require at least Go 1.19.
- Support Go 1.20. (#3372)
- Add
SpanNameFormatteroption to packagego.opentelemetry.io/contrib/instrumentation/github.com/gin-gonic/gin/otelgin. (#3343)
- Change to use protobuf parser instead of encoding/json to accept enums as strings in
go.opentelemetry.io/contrib/samplers/jaegerremote. (#3183)
- Remove use of deprecated
"math/rand".Seedingo.opentelemetry.io/contrib/instrumentation/github.com/Shopify/sarama/otelsarama/example/producer. (#3396) - Do not assume "aws" partition in ecs detector to prevent panic in
go.opentelemetry.io/contrib/detectors/aws/ecs. (#3167) - The span name of producer spans from
go.opentelemetry.io/contrib/instrumentation/github.com/Shopify/sarama/otelsaramais corrected to usepublishinstead ofsend. (#3369) - Attribute types are corrected in
go.opentelemetry.io/contrib/instrumentation/github.com/aws/aws-sdk-go-v2/otelaws. (#3369)aws.dynamodb.table_namesis now a string slice value.aws.dynamodb.global_secondary_indexesis now a string slice value.aws.dynamodb.local_secondary_indexesis now a string slice value.aws.dynamodb.attribute_definitionsis now a string slice value.aws.dynamodb.global_secondary_index_updatesis now a string slice value.aws.dynamodb.provisioned_read_capacityis now afloat64value.aws.dynamodb.provisioned_write_capacityis now afloat64value.
1.14.0/0.39.0/0.8.0 - 2023-02-07
- Change
runtime.uptimeinstrument ingo.opentelemetry.io/contrib/instrumentation/runtimefromInt64ObservableUpDownCountertoInt64ObservableCounter, since the value is monotonic. (#3347) samplers/jaegerremote: change to use protobuf parser instead of encoding/json to accept enums as strings. (#3183)
- The GCE detector in
go.opentelemetry.io/contrib/detectors/gcpincludes the "cloud.region" attribute when appropriate. (#3367)
1.13.0/0.38.0/0.7.0 - 2023-01-30
- Add
WithSpanNameFormattertogo.opentelemetry.io/contrib/instrumentation/github.com/gorilla/mux/otelmuxto allow customizing span names. (#3041) - Add missing recommended AWS Lambda resource attributes
faas.instanceandfaas.max_memoryingo.opentelemetry.io/contrib/detectors/aws/lambda. (#3148) - Improve documentation for
go.opentelemetry.io/contrib/samplers/jaegerremoteby providing examples of sampling endpoints. (#3147) - Add
WithServerNametogo.opentelemetry.io/contrib/instrumentation/net/http/otelhttpto set the primary server name of aHandler. (#3182)
- Remove expensive calculation of uncompressed message size attribute in
go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc. (#3168) - Upgrade all
semconvpackages to usev1.17.0. (#3182) - Upgrade dependencies of OpenTelemetry Go to use the new
v1.12.0/v0.35.0release. (#3190, #3170)
- Implemented retrieving the
aws.ecs.*resource attributes ingo.opentelemetry.io/detectors/aws/ecsbased on the ECS Metadata v4 endpoint. (#2626) - The
WithLoggeroption togo.opentelemetry.io/contrib/samplers/jaegerremoteto allow users to pass alogr.Loggerand have operations logged. (#2566) - Add the
messaging.url&messaging.systemattributes to all appropriate SQS operations in thego.opentelemetry.io/contrib/instrumentation/github.com/aws/aws-sdk-go-v2/otelawspackage. (#2879) - Add example use of the metrics signal to
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp/example. (#2610) - [otelgin] Add support for filters to the
go.opentelemetry.io/contrib/instrumentation/github.com/gin-gonic/gin/otelginpackage to provide the way to control which inbound requests are traced. (#2965, #2963)
- Set the status_code span attribute even if the HTTP handler hasn't written anything. (#2822)
- Do not wrap http.NoBody in
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp, which fixes handling of that special request body. (#2983)
- Add trace context propagation support to
instrumentation/github.com/aws/aws-sdk-go-v2/otelaws(#2856). - [otelgrpc] Add
WithMeterProviderfunction to enable metric and add metricrpc.server.durationto otelgrpc instrumentation library. (#2700)
- Upgrade dependencies of OpenTelemetry Go to use the new
v1.11.1/v0.33.0release
- Upgrade dependencies of the OpenTelemetry Go Metric SDK to use the new
v1.11.0/v0.32.3release
- Upgrade dependencies of the OpenTelemetry Go Metric SDK to use the new
v0.32.2release - Avoid getting a new Tracer for every RPC in
go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc. (#2835) - Conditionally compute message size for tracing events using proto v2 API rather than legacy v1 API in
go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc. (#2647)
- The
Injectfunction ingo.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpcis deprecated. (#2838) - The
Extractfunction ingo.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpcis deprecated. (#2838)
- Upgrade dependencies of the OpenTelemetry Go Metric SDK to use the new
v0.32.1release
- Drop support for Go 1.17. The project currently only supports Go 1.18 and above. (#2785)
- Upgrade dependencies of the OpenTelemetry Go Metric SDK to use the new
v0.32.0release. (#2781, #2756, #2758, #2760, #2762)
- Rename the
Typfield of"go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc".InterceptorInfotoType. (#2688) - Use Go 1.19 as the default version for CI testing/linting. (#2675)
- Fix the Jaeger propagator rejecting trace IDs that are both shorter than 128 bits and not exactly 64 bits long (while not being 0). Also fix the propagator rejecting span IDs shorter than 64 bits. This fixes compatibility with Jaeger clients encoding trace and span IDs as variable-length hex strings, as required by the Jaeger propagation format. (#2731)
1.9.0/0.34.0/0.4.0 - 2022-08-02
- Add gRPC trace
Filterto thego.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpcpackage to provide the way to filter the traces automatically generated in interceptors. (#2572) - The
TextMapPropagatorfunction togo.opentelemetry.io/contrib/propagators/autoprop. This function is used to return a compositeTextMapPropagatorfrom registered names (instead of having to specify with an environment variable). (#2593)
- Upgraded all
semconvpackage use tov1.12.0. (#2589)
1.8.0/0.33.0 - 2022-07-08
- The
go.opentelemetry.io/contrib/propagators/autoproppackage to provide configuration of propagators with useful defaults and envar support. (#2258) WithPublicEndpointFnhook to dynamically detect public HTTP requests and set their trace parent as a link. (#2342)
- Fix the
otelhttp,otelgin,otelmacaron,otelrestfulmiddlewares by usingSpanKindServerwhen deciding theSpanStatus. This makes4xxresponse codes to not be an error anymore. (#2427)
1.7.0/0.32.0 - 2022-04-28
- Consistent probability sampler implementation. (#1379)
- Upgraded all
semconvpackage use tov1.10.0. This includes a backwards incompatible change for theotelgocqlpackage to conform with the specification change. Thedb.cassandra.keyspaceattribute is now transmitted as thedb.nameattribute. (#2222)
- Fix the
otelmuxmiddleware by usingSpanKindServerwhen deciding theSpanStatus. This makes4xxresponse codes to not be an error anymore. (#1973) - Fixed jaegerremote sampler not behaving properly with per operation strategy set. (#2137)
- Stopped injecting propagation context into response headers in otelhttp. (#2180)
- Fix issue where attributes for DynamoDB were not added because of a string miss match. (#2272)
- Drop support for Go 1.16. The project currently only supports Go 1.17 and above. (#2314)
1.6.0/0.31.0 - 2022-03-28
- The project is now tested against Go 1.18 (in addition to the existing 1.16 and 1.17) (#1976)
- Upgraded all dependencies on stable modules from
go.opentelemetry.io/otelfrom v1.5.0 to v1.6.1. (#2134) - Upgraded all dependencies on metric modules from
go.opentelemetry.io/otelfrom v0.27.0 to v0.28.0. (#1977)
- otelhttp: Avoid panic by adding nil check to
wrappedBody.Close(#2164)
1.5.0/0.30.0/0.1.0 - 2022-03-16
- Added the
go.opentelemetry.io/contrib/samplers/jaegerremotepackage. This package implements the Jaeger remote sampler for OpenTelemetry Go. (#936) - DynamoDB spans created with the
go.opentelemetry.io/contrib/instrumentation/github.com/aws/aws-sdk-go-v2/otelawspackage now have the appropriate database attributes added for the operation being performed. These attributes are detected automatically, but it is also now possible to provide a custom function to set attributes usingWithAttributeSetter. (#1582) - Add resource detector for GCP cloud function. (#1584)
- Add OpenTracing baggage extraction to the OpenTracing propagator in
go.opentelemetry.io/contrib/propagators/ot. (#1880)
- Fix the
echomiddleware by usingSpanKind.SERVERwhen deciding theSpanStatus. This makes4xxresponse codes to not be an error anymore. (#1848)
- The deprecated
go.opentelemetry.io/contrib/exporters/metric/datadogmodule is removed. (#1920) - The deprecated
go.opentelemetry.io/contrib/exporters/metric/dogstatsdmodule is removed. (#1920) - The deprecated
go.opentelemetry.io/contrib/exporters/metric/cortexmodule is removed. Use thego.opentelemetry.io/otel/exporters/otlp/otlpmetricexporter as a replacement to send data to a collector which can then export with its PRW exporter. (#1920)
1.4.0/0.29.0 - 2022-02-14
- Add
WithClientTraceoption togo.opentelemetry.io/contrib/instrumentation/net/http/otelhttp. (#875)
- All metric instruments from the
go.opentelemetry.io/contrib/instrumentation/runtimepackage have been renamed fromruntime.go.*toprocess.runtime.go.*so as to comply with OpenTelemetry semantic conventions. (#1549)
- Change the
http-server-durationinstrument ingo.opentelemetry.io/contrib/instrumentation/net/http/otelhttpto record milliseconds instead of microseconds. This changes fixes the code to comply with the OpenTelemetry specification. (#1414, #1537) - Fixed the region reported by the
"go.opentelemetry.io/contrib/detectors/gcp".CloudRundetector to comply with the OpenTelemetry specification. It no longer includes the project scoped region path, instead just the region. (#1546) - The
"go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp".Transporttype now correctly handles protocol switching responses. The returned response body implements theio.ReadWriteCloserinterface if the underlying one does. This ensures that protocol switching requests receive a response body that they can write to. (#1329, #1628)
- The
go.opentelemetry.io/contrib/exporters/metric/datadogmodule is deprecated. (#1639) - The
go.opentelemetry.io/contrib/exporters/metric/dogstatsdmodule is deprecated. (#1639) - The
go.opentelemetry.io/contrib/exporters/metric/cortexmodule is deprecated. Use the go.opentelemetry.io/otel/exporters/otlp/otlpmetric exporter as a replacement to send data to a collector which can then export with its PRW exporter. (#1639)
- Remove the
MinMaxSumCountfrom cortex and datadog exporter. (#1554) - The
go.opentelemetry.io/contrib/exporters/metric/dogstatsdexporter no longer support exporting histogram or exact data points. (#1639) - The
go.opentelemetry.io/contrib/exporters/metric/datadogexporter no longer support exporting exact data points. (#1639)
1.3.0/0.28.0 - 2021-12-10
We have updated the project minimum supported Go version to 1.16
otelhttptrace.NewClientTracenow usesTracerProviderfrom the parent context if one exists and none was set withWithTracerProvider(#874)
- The
"go.opentelemetry.io/contrib/detector/aws/ecs".Detectorno longer errors if not running in ECS. (#1428) go.opentelemetry.io/contrib/instrumentation/github.com/gorilla/mux/otelmuxdoes not require instrumented HTTP handlers to callWritenorWriteHeaderanymore. (#1443)
1.2.0/0.27.0 - 2021-11-15
- Update dependency on the
go.opentelemetry.io/otelproject tov1.2.0. go.opentelemetry.io/contrib/instrumentation/github.com/aws/aws-lambda-go/otellambda/xrayconfigupdated to ensure access to theTracerProvider.- A
NewTracerProvider()function is available to construct a recommendedTracerProviderconfiguration. AllRecommendedOptions()has been renamed toWithRecommendedOptions()and takes aTracerProvideras an argument.EventToCarrier()andPropagator()are nowWithEventToCarrier()andWithPropagator()to reflect that they returnOptionimplementations.
- A
1.1.1/0.26.1 - 2021-11-04
- The
Transport,Handler, and HTTP client convenience wrappers in thego.opentelemetry.io/contrib/instrumentation/net/http/otelhttppackage now use theTracerProviderfrom the parent context if one exists and none was explicitly set when configuring the instrumentation. (#873) - Semantic conventions now use
go.opentelemetry.io/otel/semconv/v1.7.0". (#1385)
1.1.0/0.26.0 - 2021-10-28
Update dependency on the go.opentelemetry.io/otel project to v1.1.0.
- Add instrumentation for the
github.com/aws/aws-lambda-gopackage. (#983) - Add resource detector for AWS Lambda. (#983)
- Add
WithTracerProvideroption forotelhttptrace.NewClientTrace. (#1128) - Add optional AWS X-Ray configuration module for AWS Lambda Instrumentation. (#984)
- The
go.opentelemetry.io/contrib/propagators/otpropagator returns the wordstrueorfalsefor theot-tracer-sampledheader instead of numerical0and1. (#1358)
1.0.0/0.25.0 - 2021-10-06
- Resource detectors and propagators (with the exception of
go. opentelemetry.io/contrib/propagators/opencensus) are now stable and released at v1.0.0. - Update dependency on the
go.opentelemetry.io/otelproject tov1.0.1. - Update dependency on
go.opentelemetry.io/otel/metrictov0.24.0.
0.24.0 - 2021-09-21
- Update dependency on the
go.opentelemetry.io/otelproject tov1.0.0.
0.23.0 - 2021-09-08
- Add
WithoutSubSpans,WithRedactedHeaders,WithoutHeaders, andWithInsecureHeadersoptions forotelhttptrace.NewClientTrace. (#879)
- Split
go.opentelemetry.io/contrib/propagatorsmodule intob3,jaeger,otmodules. (#985) otelmongodbspan attributes, name and span status now conform to specification. (#769)- Migrated EC2 resource detector support from root module
go.opentelemetry.io/contrib/detectors/awsto a separate EC2 resource detector modulego.opentelemetry.io/contrib/detectors/aws/ec2(#1017) - Add
cloud.providerandcloud.platformto AWS detectors. (#1043) otelhttptrace.NewClientTracenow redacts known sensitive headers by default. (#879)
- Fix span not marked as error in
otelhttp.TransportwhenRoundTripfails with an error. (#950)
0.22.0 - 2021-07-26
- Add the
zpagesspan processor. (#894)
- The
b3.B3type has been removed.b3.New()andb3.WithInjectEncoding(encoding)are added to replace it. (#868)
- Fix deadlocks and race conditions in
otelsarama.WrapAsyncProducer. Themessaging.message_idandmessaging.kafka.partitionattributes are now not set if a message was not processed. (#754) (#755) (#881) - Fix
otelsarama.WrapAsyncProducerso that the messages from theErrorschannel contain the originalMetadata. (#754)
0.21.0 - 2021-06-18
- Dockerfile based examples for
otelginandotelmacaron. (#767)
- Supported minimum version of Go bumped from 1.14 to 1.15. (#787)
- EKS Resource Detector now use the Kubernetes Go client to obtain the ConfigMap. (#813)
- Remove service name from
otelmongodbconfiguration and span attributes. (#763)
0.20.0 - 2021-04-23
- The
go.opentelemetry.io/contrib/instrumentation/go.mongodb.org/mongo-driver/mongo/otelmongoinstrumentation now accepts aWithCommandAttributeDisabled, so the caller can specify whether to opt-out of tracing the mongo command. (#712) - Upgrade to v0.20.0 of
go.opentelemetry.io/otel. (#758) - The B3 and Jaeger propagators now store their debug or deferred state in the context.Context instead of the SpanContext. (#758)
0.19.0 - 2021-03-19
- Upgrade to v0.19.0 of
go.opentelemetry.io/otel. - Fix Span names created in HTTP Instrumentation package to conform with guidelines. (#757)
0.18.0 - 2021-03-04
otelmemcacheno longer sets span status to OK instead of leaving it unset. (#477)- Fix goroutine leak in gRPC
StreamClientInterceptor. (#581)
- Remove service name from
otelmemcacheconfiguration and span attributes. (#477)
0.17.0 - 2021-02-15
- Add
ot-tracerpropagator (#562)
- Rename project default branch from
mastertomain.
- Added failure message for AWS ECS resource detector for better debugging (#568)
- Goroutine leak in gRPC StreamClientInterceptor while streamer returns an error. (#581)
0.16.0 - 2021-01-13
- Fix module path for AWS ECS resource detector (#517)
0.15.1 - 2020-12-14
- Add registry link check to
Makefileand pre-release script. (#446) - A new AWS X-Ray ID Generator (#459)
- Migrate CircleCI jobs to GitHub Actions (#476)
- Add CodeQL GitHub Action (#506)
- Add gosec workflow to GitHub Actions (#507)
- Fixes the body replacement in otelhttp to not to mutate a nil body. (#484)
0.15.0 - 2020-12-11
- A new Amazon EKS resource detector. (#465)
- A new
gcp.CloudRundetector for detecting resource from a Cloud Run instance. (#455)
0.14.0 - 2020-11-20
otelhttp.{Get,Head,Post,PostForm}convenience wrappers for theirhttpcounterparts. (#390)- The AWS detector now adds the cloud zone, host image ID, host type, and host name to the returned
Resource. (#410) - Add Amazon ECS Resource Detector for AWS X-Ray. (#466)
- Add propagator for AWS X-Ray (#462)
- Add semantic version to
Tracer/Metercreated by instrumentation packagesotelsaram,otelrestful,otelmongo,otelhttpandotelhttptrace. (#412) - Update instrumentation guidelines about tracer / meter semantic version. (#412)
- Replace internal tracer and meter helpers by helpers from
go.opentelemetry.io/otel. (#414) - gRPC instrumentation sets span attribute
rpc.grpc.status_code. (#453)
/detectors/awsno longer fails if instance metadata is not available (e.g. not running in AWS) (#401)- The AWS detector now returns a partial resource and an appropriate error if it encounters an error part way through determining a
Resourceidentity. (#410) - The
hostinstrumentation unit test has been updated to not depend on the system it runs on. (#426)
0.13.0 - 2020-10-09
- A Jaeger propagator. (#375)
- The
go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpcpackage instrumentation no longer accepts aTraceras an argument to the interceptor function. Instead, a newWithTracerProvideroption is added to configure theTracerProviderused when creating theTracerfor the instrumentation. (#373) - The
go.opentelemetry.io/contrib/instrumentation/gopkg.in/macaron.v1/otelmacaroninstrumentation now accepts aTracerProviderrather than aTracer. (#374) - Remove
go.opentelemetry.io/otel/sdkdependency from instrumentation. (#381) - Use
httpsnoopingo.opentelemetry.io/contrib/instrumentation/github.com/gorilla/mux/otelmuxto ensurehttp.ResponseWriteradditional interfaces are preserved. (#388)
- The
go.opentelemetry.io/contrib/instrumentation/github.com/labstack/echo/otelecho.Middlewareno longer sends duplicate errors to the globalErrorHandler. (#377, #364) - The import comment in
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttpis now correctly quoted. (#379) - The B3 propagator sets the sample bitmask when the sampling decision is
debug. (#369)
0.12.0 - 2020-09-25
- Benchmark tests for the gRPC instrumentation. (#296)
- Integration testing for the gRPC instrumentation. (#297)
- Allow custom labels to be added to net/http metrics. (#306)
- Added B3 propagator, moving it out of open.telemetry.io/otel repo. (#344)
- Unify instrumentation about provider options for
go.mongodb.org/mongo-driver,gin-gonic/gin,gorilla/mux,labstack/echo,emicklei/go-restful,bradfitz/gomemcache,Shopify/sarama,net/httpandbeego. (#303) - Update instrumentation guidelines about uniform provider options. Also, update style guide. (#303)
- Make config struct of instrumentation unexported. (#303)
- Instrumentations have been updated to adhere to the configuration style guide's
updated recommendation to use
newConfig()instead ofconfigure(). (#336) - A new instrumentation naming scheme is implemented to avoid package name conflicts for instrumented packages while still remaining discoverable. (#359)
google.golang.org/grpc->google.golang.org/grpc/otelgrpcgo.mongodb.org/mongo-driver->go.mongodb.org/mongo-driver/mongo/otelmongonet/http->net/http/otelhttpnet/http/httptrace->net/http/httptrace/otelhttptracegithub.com/labstack/echo->github.com/labstack/echo/otelechogithub.com/bradfitz/gomemcache->github.com/bradfitz/gomemcache/memcache/otelmemcachegithub.com/gin-gonic/gin->github.com/gin-gonic/gin/otelgingithub.com/gocql/gocql->github.com/gocql/gocql/otelgocqlgithub.com/emicklei/go-restful->github.com/emicklei/go-restful/otelrestfulgithub.com/Shopify/sarama->github.com/Shopify/sarama/otelsaramagithub.com/gorilla/mux->github.com/gorilla/mux/otelmuxgithub.com/astaxie/beego->github.com/astaxie/beego/otelbeegogopkg.in/macaron.v1->gopkg.in/macaron.v1/otelmacaron
- Rename
OTelBeegoHandlertoHandlerin thego.opentelemetry.io/contrib/instrumentation/github.com/astaxie/beego/otelbeegopackage. (#359) - Replace
WithTracerwithWithTracerProviderin thego.opentelemetry.io/contrib/instrumentation/gopkg.in/macaron.v1/otelmacaroninstrumentation. (#374)
0.11.0 - 2020-08-25
- Top-level
Version()andSemVersion()functions defining the current version of the contrib package. (#225) - Instrumentation for the
github.com/astaxie/beegopackage. (#200) - Instrumentation for the
github.com/bradfitz/gomemcachepackage. (#204) - Host metrics instrumentation. (#231)
- Cortex histogram and distribution support. (#237)
- Cortex example project. (#238)
- Cortex HTTP authentication. (#246)
- Remove service name as a parameter of Sarama instrumentation. (#221)
- Replace
WithTracerwithWithTracerProviderin Sarama instrumentation. (#221) - Switch to use common top-level module
SemVersion()when creating versioned tracer inbradfitz/gomemcache. (#226) - Use
IntegrationShouldRuningomemcache_test. (#254) - Use Go 1.15 for CI builds. (#236)
- Improved configuration for
runtimeinstrumentation. (#224)
- Update dependabot configuration to include newly added
bradfitz/gomemcachepackage. (#226) - Correct
runtimeinstrumentation name. (#241)
0.10.1 - 2020-08-13
- The
go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpcmodule has been added to replace the instrumentation that had previoiusly existed in thego.opentelemetry.io/otel/instrumentation/grpctracepackage. (#189) - Instrumentation for the stdlib
net/httpandnet/http/httptracepackages. (#190) - Initial Cortex exporter. (#202, #205, #210, #211, #215)
- Bump google.golang.org/grpc from 1.30.0 to 1.31.0. (#166)
- Bump go.mongodb.org/mongo-driver from 1.3.5 to 1.4.0 in /instrumentation/go.mongodb.org/mongo-driver. (#170)
- Bump google.golang.org/grpc in /instrumentation/github.com/gin-gonic/gin. (#173)
- Bump google.golang.org/grpc in /instrumentation/github.com/labstack/echo. (#176)
- Bump google.golang.org/grpc from 1.30.0 to 1.31.0 in /instrumentation/github.com/Shopify/sarama. (#179)
- Bump cloud.google.com/go from 0.61.0 to 0.63.0 in /detectors/gcp. (#181, #199)
- Bump github.com/aws/aws-sdk-go from 1.33.15 to 1.34.1 in /detectors/aws. (#184, #192, #193, #198, #201, #203)
- Bump github.com/golangci/golangci-lint from 1.29.0 to 1.30.0 in /tools. (#186)
- Setup CI to run tests that require external resources (Cassandra and MongoDB). (#191)
- Bump github.com/Shopify/sarama from 1.26.4 to 1.27.0 in /instrumentation/github.com/Shopify/sarama. (#206)
0.10.0 - 2020-07-31
This release upgrades its go.opentelemetry.io/otel dependency to v0.10.0 and includes new instrumentation for popular Kafka and Cassandra clients.
- A detector that generate resources from GCE instance. (#132)
- A detector that generate resources from AWS instances. (#139)
- Instrumentation for the Kafka client github.com/Shopify/sarama. (#134, #153)
- Links and status message for mock span in the internal testing library. (#134)
- Instrumentation for the Cassandra client github.com/gocql/gocql. (#137)
- A detector that generate resources from GKE clusters. (#154)
- Bump github.com/aws/aws-sdk-go from 1.33.8 to 1.33.15 in /detectors/aws. (#155, #157, #159, #162)
- Bump github.com/golangci/golangci-lint from 1.28.3 to 1.29.0 in /tools. (#146)
0.9.0 - 2020-07-20
This release upgrades its go.opentelemetry.io/otel dependency to v0.9.0.
- Bump github.com/emicklei/go-restful/v3 from 3.0.0 to 3.2.0 in /instrumentation/github.com/emicklei/go-restful. (#133)
- Update dependabot configuration to correctly check all included packages. (#131)
- Update
RELEASING.mdwith correcttag.shcommand. (#130)
0.8.0 - 2020-07-10
This release upgrades its go.opentelemetry.io/otel dependency to v0.8.0, includes minor fixes, and new instrumentation.
- Create this
CHANGELOG.md. (#114) - Add
emicklei/go-restful/v3trace instrumentation. (#115)
- Update
CONTRIBUTING.mdto ask for updates toCHANGELOG.mdwith each pull request. (#114) - Move all
github.compackage instrumentation under agithub.comdirectory. (#118)
- Update README to include information about external instrumentation.
To start, this includes native instrumentation found in the
go-redis/redispackage. (#117) - Bump github.com/golangci/golangci-lint from 1.27.0 to 1.28.2 in /tools. (#122, #123, #125)
- Bump go.mongodb.org/mongo-driver from 1.3.4 to 1.3.5 in /instrumentation/go.mongodb.org/mongo-driver. (#124)
0.7.0 - 2020-06-29
This release upgrades its go.opentelemetry.io/otel dependency to v0.7.0.
- Create
RELEASING.mdinstructions. (#101) - Apply transitive dependabot go.mod updates as part of a new automatic Github workflow. (#94)
- New dependabot integration to automate package upgrades. (#61)
- Add automatic tag generation script for release. (#60)
- Upgrade Datadog metrics exporter to include Resource tags. (#46)
- Added output validation to Datadog example. (#96)
- Move Macaron package to match layout guidelines. (#92)
- Update top-level README and instrumentation README. (#92)
- Bump google.golang.org/grpc from 1.29.1 to 1.30.0. (#99)
- Bump github.com/golangci/golangci-lint from 1.21.0 to 1.27.0 in /tools. (#77)
- Bump go.mongodb.org/mongo-driver from 1.3.2 to 1.3.4 in /instrumentation/go.mongodb.org/mongo-driver. (#76)
- Bump github.com/stretchr/testify from 1.5.1 to 1.6.1. (#74)
- Bump gopkg.in/macaron.v1 from 1.3.5 to 1.3.9 in /instrumentation/macaron. (#68)
- Bump github.com/gin-gonic/gin from 1.6.2 to 1.6.3 in /instrumentation/gin-gonic/gin. (#73)
- Bump github.com/DataDog/datadog-go from 3.5.0+incompatible to 3.7.2+incompatible in /exporters/metric/datadog. (#78)
- Replaced
internal/trace/http.gohelpers withapi/standardhelpers from otel-go repo. (#112)
0.6.1 - 2020-06-08
First official tagged release of contrib repository.
labstack/echotrace instrumentation (#42)mongodbtrace instrumentation (#26)- Go Runtime metrics (#9)
gorilla/muxtrace instrumentation (#19)gin-gonictrace instrumentation (#15)macarontrace instrumentation (#20)dogstatsdmetrics exporter (#10)datadogmetrics exporter (#22)- Tags to all modules in repository
- Repository folder structure and automated build (#3)
- Prefix support for dogstatsd (#34)
- Update Go Runtime package to use batch observer (#44)