Repository navigation
Releases
Releases · open-telemetry/opentelemetry-go-contrib
v1.47.0/v2.6.0/v0.72.0/v0.38.0/v0.27.0/v0.21.0/v0.17.0/v0.19.0
Added
- Add
NewResourceDetectorWithOptionsand theWithAWSLoggeroption togo.opentelemetry.io/contrib/detectors/aws/ec2/v2, allowing a custom AWS SDKlogging.Loggerto be supplied to the EC2 resource detector. (#9132) - Add
go.opentelemetry.io/contrib/detectors/openshift, a new resource detector for OpenShift 4 clusters, ported fromprocessor/resourcedetectionprocessor/internal/openshiftinopentelemetry-collector-contrib. Detectsk8s.cluster.name, andcloud.provider,cloud.platformandcloud.regionfor clusters running on AWS, Google Cloud and IBM Cloud; Azure clusters reportcloud.providerandcloud.platformonly. (#9499) - Add
go.opentelemetry.io/contrib/detectors/kubeadm, a new resource detector for kubeadm-provisioned Kubernetes clusters, ported fromprocessor/resourcedetectionprocessor/internal/kubeadminopentelemetry-collector-contrib. Detectsk8s.cluster.namefrom theClusterConfigurationdocument in thekube-system/kubeadm-configConfigMap andk8s.cluster.uidfrom thekube-systemnamespace UID. (#9500)
Changed
- Client metrics in
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttpno longer include attributes from the server-sideLabeler, preventing attributes such ashttp.routefrom leaking into outbound requests.
This is a breaking change for applications that useContextWithLabelerto add custom client metric attributes: useContextWithClientLabeler/ClientLabelerFromContextor theWithMetricAttributesFnoption instead.
Server-side use ofContextWithLabeler/LabelerFromContextis unchanged. (#8924) - Stop emitting the legacy
http.read_bytesandhttp.wrote_bytesattributes on the per-operation span events enabled byWithMessageEventsingo.opentelemetry.io/contrib/instrumentation/net/http/otelhttp.
Thereadandwriteevents remain, while total body sizes continue to be recorded on the server span ashttp.request.body.sizeandhttp.response.body.sizeaccording to HTTP semantic conventions. (#9624)
Deprecated
- Deprecate
go.opentelemetry.io/contrib/instrumentation/github.com/aws/aws-sdk-go-v2/otelaws. (#9707) - Deprecate
go.opentelemetry.io/contrib/propagators/aws. (#9706) - Deprecate
go.opentelemetry.io/contrib/samplers/probability/consistent. (#9633) - Deprecate
ReadBytesKey,ReadErrorKey,WroteBytesKey, andWriteErrorKeyingo.opentelemetry.io/contrib/instrumentation/net/http/otelhttp.
The identifiers remain available and their values are unchanged, butWithMessageEventsno longer emitshttp.read_bytesorhttp.wrote_bytes.
There is no semantic-convention replacement for per-read or per-write byte counts or the human-readable error fields.
UseHTTPRequestBodySizeKeyandHTTPResponseBodySizeKeyfromgo.opentelemetry.io/otel/semconv/v1.43.0to record total body sizes on the span.
If an error causes the HTTP request to fail, set the span status to Error and recordErrorType(err)fromgo.opentelemetry.io/otel/semconv/v1.43.0on the span. (#9624)
Fixed
- Treat empty Prometheus exporter environment variable values as unset in
go.opentelemetry.io/contrib/exporters/autoexport, restoring the documented defaults. (#9636) - Bound converter-owned recursive map, slice, array, and pointer traversal in
go.opentelemetry.io/contrib/bridges/otellogr,go.opentelemetry.io/contrib/bridges/otellogrus,go.opentelemetry.io/contrib/bridges/otelslog, andgo.opentelemetry.io/contrib/bridges/otelzap.
A field requiring more than 100 such levels is replaced with<max-depth-exceeded>and the record continues to be emitted. Existingfmtand user-method behavior remains unchanged. (#9691) - Format span attributes in
go.opentelemetry.io/contrib/zpagesusingattribute.Value.Stringinstead of the deprecatedattribute.Value.Emit, following the OpenTelemetry AnyValue representation for non-OTLP protocols. (#9453) - Set
error.typeon the span and on the request-duration, request-body-size, and response-body-size metrics when a client disconnects mid-request ingo.opentelemetry.io/contrib/instrumentation/github.com/gin-gonic/gin/otelgin, using the request context's cancellation error as the classification source when the handler has not already recorded an error viac.Error. Previously a disconnect was recorded with span statusErrorand noerror.type, indistinguishable from a genuine server fault. (#9394) - Report Prometheus metrics HTTP server errors in
go.opentelemetry.io/contrib/otelconfwhen using thev0.2.0configuration schema.
The error check was inverted, so a clean shutdown (http.ErrServerClosed) was reported as unexpected while realServeerrors were ignored. (#9653) - Fix temporary file cleanup for multipart requests in
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttpby copying the parsed multipart form back to the original request during deferred cleanup, preservingnet/httpcleanup during panic unwinding for HTTP/2 panic handling and outer recovery middleware paths. Unrecovered HTTP/1 handler panics remain uncleaned becausenet/httpskipsfinishRequestin that path. (#9685) - Fix
http.client.request.body.sizerecording for streaming request bodies ingo.opentelemetry.io/contrib/instrumentation/net/http/otelhttp. (#8684) - Bound Kubernetes ConfigMap requests in
go.opentelemetry.io/contrib/detectors/aws/ekswith a 10-second timeout soDetectcannot hang indefinitely when the caller-provided context has no deadline. (#9419)
Removed
- Drop support for Go 1.25. (#9584)
- Remove
go.opentelemetry.io/contrib/instrumentation/github.com/labstack/echo/otelecho. Usegithub.com/labstack/echo-opentelemetryinstead. (#9613)
What's Changed
- fix(deps): update module go.opentelemetry.io/otel to v1.46.0 by @renovate[bot] in #9578
- chore(deps): update module github.com/securego/gosec/v2 to v2.29.0 by @renovate[bot] in #9577
- chore(deps): update github/codeql-action action to v4.37.9 by @renovate[bot] in #9582
- fix(deps): update module github.com/moby/moby/client to v0.5.1 by @renovate[bot] in #9575
- chore(deps): update module github.com/bytedance/sonic to v1.15.3 by @renovate[bot] in #9583
- chore(deps): update module github.com/raeperd/recvcheck to v0.3.1 by @renovate[bot] in #9585
- fix(deps): update module github.com/aws/smithy-go to v1.28.1 by @renovate[bot] in #9586
- chore(deps): update module go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp to v0.71.0 by @renovate[bot] in #9587
- Drop support for Go 1.25 by @MrAlias in #9584
- Fix released example verification by @pellared in #9579
- fix(deps): update aws-sdk-go-v2 monorepo by @renovate[bot] in #9588
- chore(deps): update open-telemetry/shared-workflows action to v0.12.0 by @renovate[bot] in #9592
- fix(deps): update golang.org/x by @renovate[bot] in #9559
- chore(deps): update module github.com/gofrs/flock to v0.13.1 - autoclosed by @renovate[bot] in #9590
- fix(deps): update module go.mongodb.org/mongo-driver/v2 to v2.8.2 by @renovate[bot] in #9591
- fix(deps): update kubernetes monorepo to v0.37.0 by @renovate[bot] in #9589
- fix(deps): update module github.com/golangci/golangci-lint/v2 to v2.13.2 by @renovate[bot] in #9596
- chore(deps): update module github.com/skeema/knownhosts to v1.3.3 by @renovate[bot] in #9595
- fix(deps): update module github.com/aws/aws-lambda-go to v1.55.0 by @renovate[bot] in #9594
- fix(deps): update aws-sdk-go-v2 monorepo by @renovate[bot] in #9593
- fix(deps): update module github.com/aws/aws-sdk-go-v2/config to v1.33.1 by @renovate[bot] in #9598
- chore(deps): update module github.com/ghostiam/protogetter to v1 by @renovate[bot] in #9570
- chore(deps): update googleapis to 18b4a75 by @renovate[bot] in #9610
- chore(deps): update module github.com/4meepo/tagalign to v1.4.4 by @renovate[bot] in #9607
- chore(deps): update module github.com/timonwong/loggercheck to v0.12.0 by @renovate[bot] in #9605
- chore(deps): update module github.com/montanaflynn/stats to v0.12.5 by @renovate[bot] in #9602
- chore(deps): update golang.org/x/telemetry digest to 86cb573 by @renovate[bot] in #9601
- chore(deps): update github.com/...
v1.46.0/v2.5.3/v0.71.0/v0.37.3/v0.26.0/v0.20.1/v0.16.3/v0.18.0
This release is the last to support Go 1.25.
The next release will require at least Go 1.26.
Added
- Add support for the
aws.ec2resource detector ingo.opentelemetry.io/contrib/otelconf/x. (#9139) - Support testing of Go 1.27. (#9524)
- Add
go.opentelemetry.io/contrib/detectors/docker, a resource detector for Docker, ported fromprocessor/resourcedetectionprocessor/internal/dockerin opentelemetry-collector-contrib. (#9001) - Add
S3AttributeBuildertogo.opentelemetry.io/contrib/instrumentation/github.com/aws/aws-sdk-go-v2/otelawsthat sets S3-specific span attributes following the OpenTelemetry S3 semantic conventions. (#9292) - Add
go.opentelemetry.io/contrib/detectors/docker, a resource detector for Docker, ported fromprocessor/resourcedetectionprocessor/internal/dockerin opentelemetry-collector-contrib. (#9001)
Deprecated
- Deprecate
go.opentelemetry.io/contrib/instrumentation/github.com/labstack/echo/otelecho.
Usegithub.com/labstack/echo-opentelemetryinstead. (#9136)
Fixed
- Record
error.typeattribute on server spans ingo.opentelemetry.io/contrib/instrumentation/github.com/emicklei/go-restful/otelrestfulwhen a request is cancelled or ends in a 5xx error. (#9387) - Report
ot-baggage-*extraction errors fromgo.opentelemetry.io/contrib/propagators/ottootel.Handleinstead of silently discarding them, while still attaching the successfully parsed baggage members to the context. (#9395) - Set
error.typeon therpc.client.call.durationandrpc.server.call.durationmetrics ingo.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpcwhen the RPC fails with a non-OK status, per the RPC semantic conventions. (#9429) - Reject OTLP exporter headers with an empty
nameingo.opentelemetry.io/contrib/otelconf,go.opentelemetry.io/contrib/otelconf/x, andgo.opentelemetry.io/contrib/otelconf/v0.3.0, instead of forwarding invalid header names to OTLP exporters. (#9102) go.opentelemetry.io/contrib/detectors/aws/lambdano longer returns an error when run outside of an AWS Lambda environment, matching the no-op behavior of other resource detectors. (#9464)- Convert Prometheus untyped metrics to OTLP Gauges in
go.opentelemetry.io/contrib/bridges/prometheus. (#9099)
What's Changed
- fix(deps): update module github.com/aws/aws-sdk-go-v2/service/s3 to v1.106.4 by @renovate[bot] in #9412
- ci: add shared security scanning workflow by @opentelemetrybot in #9397
- chore(deps): update module github.com/ugorji/go/codec to v1.3.2 by @renovate[bot] in #9414
- chore(deps): update golang.org/x/telemetry digest to bdd03c3 by @renovate[bot] in #9416
- chore(deps): update otel/opentelemetry-collector-contrib docker tag to v0.158.0 by @renovate[bot] in #9417
- fix(deps): update module github.com/aws/aws-sdk-go-v2/service/dynamodb to v1.63.0 by @renovate[bot] in #9418
- chore(deps): update github/codeql-action action to v4.37.6 by @renovate[bot] in #9415
- otelconf: reject OTLP exporter headers with empty name by @viacheslav-danilin in #9102
- chore(deps): update golang:1.26 docker digest to 2005724 by @renovate[bot] in #9421
- chore(deps): update github.com/power-devops/perfstat digest to 8845660 by @renovate[bot] in #9420
- chore(deps): update module github.com/klauspost/compress to v1.19.2 by @renovate[bot] in #9428
- chore(deps): update module github.com/rogpeppe/go-internal to v1.16.0 by @renovate[bot] in #9425
- chore(deps): update module github.com/grpc-ecosystem/grpc-gateway/v2 to v2.30.0 by @renovate[bot] in #9424
- chore(deps): update module github.com/cloudflare/circl to v1.6.5 by @renovate[bot] in #9422
- fix(deps): update aws-sdk-go-v2 monorepo by @renovate[bot] in #9423
- fix(otelgrpc): record error.type on call duration metrics for failed RPCs by @theycallmeloki in #9429
- chore(deps): update googleapis to c8921c7 by @renovate[bot] in #9436
- fix(deps): update module github.com/aws/smithy-go to v1.27.7 by @renovate[bot] in #9437
- fix(deps): update module github.com/aws/aws-sdk-go-v2/service/dynamodb to v1.63.1 by @renovate[bot] in #9435
- chore(deps): update google.golang.org/protobuf digest to 644d026 by @renovate[bot] in #9427
- chore(deps): update open-telemetry/shared-workflows action to v0.6.0 by @renovate[bot] in #9431
- chore(deps): update module github.com/santhosh-tekuri/jsonschema/v6 to v6.0.3 by @renovate[bot] in #9430
- chore(deps): update github.com/charmbracelet/ultraviolet digest to 402eeaa by @renovate[bot] in #9440
- chore(deps): update google.golang.org/protobuf digest to 40223a3 - autoclosed by @renovate[bot] in #9443
- chore(deps): update module github.com/dlclark/regexp2/v2 to v2.6.0 by @renovate[bot] in #9438
- chore(deps): update module golang.org/x/arch to v0.30.0 by @renovate[bot] in #9439
- fix(deps): update module github.com/jaegertracing/jaeger-idl to v0.10.0 by @renovate[bot] in #9441
- chore(deps): update mvdan.cc/unparam digest to a64391f by @renovate[bot] in #9442
- chore(deps): update module google.golang.org/protobuf to v1.36.12 by @renovate[bot] in #9445
- chore(deps): update golang.org/x/exp/typeparams digest to a8b543c by @renovate[bot] in #9444
- chore(deps): update googleapis to ec0a776 by @renovate[bot] in #9446
- fix(deps): update golang.org/x/exp digest to a8b543c by @renovate[bot] in #9447
- fix(propagators/ot): return baggage.New's aggregate limit error by @om7057 in #9395
- fix(deps): update module google.golang.org/protobuf to v1.36.12 by @renovate[bot] in #9448
- chore(deps): update module golang.org/x/mod to v0.39.0 by @renovate[bot] in #9449
- fix(deps): update aws-sdk-go-v2 monorepo by @renovate[bot] in #9450
- chore(deps): update module github.com/montanaflynn/stats to v0.12.3 by @renovate[bot] in #9452
- chore(deps): update github.com/charmbracelet/ultraviolet digest to 006e29f by @renovate[bot] in #9456
- chore(deps): update module charm.land/lipgloss/v2 to v2.0.6 by @renovate[bot] in #9457
- fix(deps): update module github.com/aws/aws-sdk-go-v2/service/sns to v1.42.5 by @renovate[bot] in #9451
- ci: use shared OSSF Scorecard workflow by @opentelemetrybot in #9459
- fix(deps): update golang.org/x by @renovate[bot] in #9458
- chore(deps): update golang:1.26 docker digest to 5822931 by @renovate[bot] in #9454
- chore(deps): update github.com/charmbracelet/ultraviolet digest to 68fa937 by @renovate[bot] in #9463
- chore(deps): update module github.com/xo/terminfo to v1 by @renovate[bot] in #9455
- Add support for aws.ec2 resource detector in otelconf/x by @iblancasa in #9139
- chore(deps): update golang:1.26 docker digest to 705e964 by @renovate[bot] in #9465
- chore(deps): update mvdan.cc/unparam digest to 06ca53c by @renovate[bot] in #9466
- chore(deps): update github/codeql-action action to v4.37.7 by @renovate...
Release v1.45.0/v2.5.2/v0.70.0/v0.37.2/v0.25.0/v0.20.0/v0.16.2/v0.17.0
Overview
Added
- Add
go.opentelemetry.io/contrib/detectors/ibmcloud/vpc, a new resource detector for IBM Cloud VPC virtual server instances, ported fromgithub.com/open-telemetry/opentelemetry-collector-contrib/processor/resourcedetectionprocessor/internal/ibmcloud/vpc. Detectscloud.provider,cloud.platform,cloud.region,cloud.availability_zone,cloud.account.id,cloud.resource_id,host.id,host.image.id,host.image.name,host.name, andhost.type. (#9011) - Add
go.opentelemetry.io/contrib/detectors/k8sapi, a new resource detector that queries the Kubernetes API. Detectsk8s.node.nameandk8s.node.uidwhenK8S_NODE_NAMEis set via the downward API, andk8s.cluster.uidderived from the kube-system namespace UID (works on any Kubernetes distribution). (#9108) - Add new
elasticbeanstalkresource detector for AWS Elastic Beanstalk, ported fromprocessor/resourcedetectionprocessor/internal/aws/elasticbeanstalkin opentelemetry-collector-contrib. (#8993) - The resource created by
go.opentelemetry.io/contrib/otelconfnow includes default SDK attributes. (#8990) - Add support for the
aws.ecsresource detector ingo.opentelemetry.io/contrib/otelconf/x. (#8915) - Add support for the
aws.eksresource detector ingo.opentelemetry.io/contrib/otelconf/x. (#9138) - Add support for the
azure.vmresource detector ingo.opentelemetry.io/contrib/otelconf/x. (#9074) - Add support for the
gcpresource detector ingo.opentelemetry.io/contrib/otelconf/x. (#9137) - Add
go.opentelemetry.io/contrib/detectors/azure/azureappservice, a new resource detector for Azure App Service. Detectscloud.*,service.name,azure.resource_group.name,azure.app_service.instance.id, anddeployment.environment.namefrom theWEBSITE_*andREGION_NAMEenvironment variables. (#9289) - Add
azurecontainerappsresource detector for Azure Container Apps. (#8939) - Add
go.opentelemetry.io/contrib/detectors/azure/azurefunctions, a new resource detector for Azure Functions. Detectscloud.*,service.name,azure.resource_group.name,faas.instance, anddeployment.environment.namefrom theFUNCTIONS_*,WEBSITE_*,CONTAINER_NAME, andREGION_NAMEenvironment variables. (#9290) - Add
NewResourceDetectoralong with theWithAttributeFilterandWithTagKeyFilteroptions ingo.opentelemetry.io/contrib/detectors/azure/azurevm.WithAttributeFilterrestricts the returned resource to the attributes the filter accepts.WithTagKeyFilteropts in toazure.tag.<name>attributes for the VM tags whose keys satisfy the provided predicate; no VM tags are emitted without it. (#9162) - Add
go.opentelemetry.io/contrib/detectors/vultr— a new resource detector for Vultr Cloud Compute instances, ported fromprocessor/resourcedetectionprocessor/internal/vultrinopentelemetry-collector-contrib. Detectscloud.provider,cloud.platform,cloud.region,host.id, andhost.name. (#8995)
Changed
- Upgrade
go.opentelemetry.io/otel/semconvtov1.43.0, including updates across instrumentation and detector modules.
See semantic-conventions v1.43.0 release for complete details. (#9337) - Upgrade
go.opentelemetry.io/otel/semconvtov1.42.0, including updates across instrumentation and detector modules.
See semantic-conventions v1.42.0 release for complete details. (#9196) - Use direct normalized-key lookups in
Carrier.GetandCarrier.Keysingo.opentelemetry.io/contrib/propagators/envcar. (#9112) - Update log bridge conversions to use attribute key-values instead of the removed log key-values in
go.opentelemetry.io/contrib/bridges/otellogr,go.opentelemetry.io/contrib/bridges/otellogrus,go.opentelemetry.io/contrib/bridges/otelslog, andgo.opentelemetry.io/contrib/bridges/otelzap. (#9180) - The
Version()function ingo.opentelemetry.io/contrib/instrumentation/github.com/gorilla/mux/otelmuxhas been replaced byconst Version. (#9076) - Set
error.typeattribute instead of addingexceptionspan events ingo.opentelemetry.io/contrib/instrumentation/github.com/gin-gonic/gin/otelgin. (#8977) - Prefer the gRPC dial target over the resolved peer IP for the
server.addressandserver.portattributes ingo.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc. (#8904) - The detector in
go.opentelemetry.io/contrib/detectors/azure/azurevmnow also detectscloud.account.id,cloud.availability_zone,azure.vm.name,azure.vm.size,azure.vm.scaleset.name, andazure.resource_group.name, and prefersosProfile.computerNameforhost.name(falling back to the VM name), reconciling it with the collector-contrib Azure resource detector. (#9162)
Fixed
- Fix Prometheus reader resource label filter configuration in
go.opentelemetry.io/contrib/otelconf/v0.2.0. (#9062) - Apply
resource.detection/development.attributes.includedandexcludedfiltering to resource detector attributes ingo.opentelemetry.io/contrib/otelconf/x. (#9131) - Honor the context configured with
WithContextwhen constructing resources ingo.opentelemetry.io/contrib/otelconfandgo.opentelemetry.io/contrib/otelconf/x. (#9160) - Handle nil response bodies from custom
RoundTripperimplementations ingo.opentelemetry.io/contrib/instrumentation/net/http/otelhttpwithout panicking. (#9184) - Fix incorrect (overestimated) sum calculation for runtime histograms in
go.opentelemetry.io/contrib/instrumentation/runtime. (#9063) - Fix
Severity.UnmarshalTextround trip for positiveFATALoffsets above the named range ingo.opentelemetry.io/contrib/processors/minsev. (#9197) - Reduce binary size by fetching ConfigMaps via
rest.HTTPClientForinstead of the Kubernetes clientset ingo.opentelemetry.io/contrib/detectors/aws/eks. (#9284) TextMapPropagatoringo.opentelemetry.io/contrib/propagators/autopropreturns the no-op propagator for empty input, matching the behavior ofnone. An unknownOTEL_PROPAGATORSvalue still returns an error with a nil propagator soNewTextMapPropagatorfalls back to the default TraceContext and Baggage propagators instead of disabling propagation. (#9163)- Preserve error-valued attributes nested in a group as grouped attributes instead of silently dropping them in
go.opentelemetry.io/contrib/bridges/otelslog. (#9238) - Fix a data race in
go.opentelemetry.io/contrib/bridges/otelslogwhere concurrentHandlecalls could corrupt each other's log attributes becausekvBuffer.KeyValuesreturned a slice aliasing a shared buffer. (#9229) - Avoid a panic in
go.opentelemetry.io/contrib/bridges/otelzapwhen a malformed error field contains a nil or non-error value. (#9068) - Use
azure.container_app.instance.idinstead ofservice.instance.idfor the replica name detected bygo.opentelemetry.io/contrib/detectors/azure/azurecontainerapps. (#9208) - Preserve the underlying metadata errors returned with partial resources from
go.opentelemetry.io/contrib/detectors/gcp. (#9069) - Copy
MultipartFormback to the requestotelmux.Middlewarewas given after the wrapped handler returns, sonet/httpcan find and remove the temp filesParseMultipartFormcreated on the context-derived request copy, whenotelmux.Middlewarewraps a handler directly, ingo.opentelemetry.io/contrib/instrumentation/github.com/gorilla/mux/otelmux. This does not cover a handler panic, nor the commonrouter.Use(...)integration, wheregorilla/mux's own routing step makes an additional request copy the middleware cannot write back through; see gorilla/mux#777. (#9361) - Report the
b3header fromFields()for the defaultB3Unspecifiedsingle-header injection encoding, matching whatInjectwrites, ingo.opentelemetry.io/contrib/propagators/b3. (#9273) - Fix
go.opentelemetry.io/contrib/propagators/aws/xrayproducing deterministic trace and span IDs when the seed read fromcrypto/randsilently failed, by switching tomath/rand/v2's concurrency-safe top-level generator. (#9359) - Strip connection number suffix from connection ID in
go.opentelemetry.io/contrib/instrumentation/go.mongodb.org/mongo-driver/v2/mongo/otelmongoto prevent unbounded metric cardinality. (#9352) - Strip connection number suffix from connection ID in
go.opentelemetry.io/contrib/instrumentation/go.mongodb.org/mongo-driver/mongo/otelmongoso thenetwork.peer.addressandnet.peer.namespan attributes reflect the actual host instead of the raw connection ID. (#9352) - Record
network.protocol.version(andnetwork.protocol.name) from the response's negotiated protocol instead of the request's stampedProtoingo.opentelemetry.io/contrib/instrumentation/net/http/otelhttp, so an HTTP/1.1-shaped request that gets upgraded to HTTP/2 via ALPN is no longer misreported as HTTP/1.1 on the client span and request metrics. (#9371)
What's Changed
- chore(deps): update module github.com/alecthomas/chroma/v2 to v2.26.1 by @renovate[bot] in #9041
- fix(deps): update golang.org/x to c761662 by @renovate[bot] in #9037
- chore(deps): update module github.com/rogpeppe/go-internal to v1.15.0 by @renovate[bot] in #9035
- chore(deps): update prom/prometheus docker tag to v3.12.0 by @renovate[bot] in #9040
- chore(deps): update module github.com/mattn/go-colorable to v0.1.15 by @renovate[bot] in #9061
...
v1.44.0/v2.5.1/v0.69.0/v0.37.1/v0.24.0/v0.19.0/v0.16.1/v0.16.0
Added
- Add
error.typeattribute tohttp.client.request.durationfor transport failures inotelhttp. (#8801) - Add examples for prometheus compatibility document. (#8716)
- Add support for
cardinality_limitsinPeriodicMetricReaderinotelconf. (#8885) - Add
Resourcemethod toSDKingo.opentelemetry.io/contrib/otelconf/xto expose the resolved SDK resource from declarative configuration. (#8913) - Add
go.opentelemetry.io/contrib/detectors/hetzner, a new resource detector for Hetzner Cloud servers, ported fromgithub.com/open-telemetry/opentelemetry-collector-contrib/processor/resourcedetectionprocessor/internal/hetzner. Detectscloud.provider,cloud.platform,cloud.region,cloud.availability_zone,host.id, andhost.name. (#8979)
Changed
- Set error field as
record.SetErrinstead of a plain attribute ingo.opentelemetry.io/contrib/bridges/otellogrus. (#8776) - Set the "error" field (e.g. created via
zap.Error) asrecord.SetErrinstead of a plain attribute ingo.opentelemetry.io/contrib/bridges/otelzap. (#8719) - Set fields implementing
errorinterface fromslogrecords asrecord.SetErrinstead of plain attributes ingo.opentelemetry.io/contrib/bridges/otelslog. (#8774) - Set emitted errors in
go.opentelemetry.io/contrib/bridges/otellogras record errors (Record.SetErr) instead ofexception.messageattributes. (#8775)
Fixed
- Fix header attributes lost when using sub-spans in
go.opentelemetry.io/contrib/instrumentation/net/http/httptrace/otelhttptrace. (#8797) - Validate
encodingconfiguration for OTLP HTTP exporters ingo.opentelemetry.io/contrib/otelconf. (#8772) - Remove the custom body wrapper from the request's body after the request is processed to allow body type comparisons with the original type in
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttpandgo.opentelemetry.io/contrib/instrumentation/github.com/gorilla/mux/otelmux. (#6914) - Unknown or empty HTTP methods now report "_OTHER" instead of "GET" across all HTTP instrumentations to align with OpenTelemetry semantic conventions. (#8868)
- The default span name formatter in
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttpnow conforms to the OpenTelemetry HTTP semantic conventions for server span names. (#8871)- The default span name is now
{method} {route}(e.g.GET /foo/{id}) when a route pattern is available, or{method}(e.g.GET) otherwise.
- The default span name is now
Removed
- Remove the deprecated
WithSpanOptionsoption ingo.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc. (#8991)
What's Changed
- otelconf: validate encoding configuration for OTLP HTTP exporters by @sonalgaud12 in #8772
- fix(deps): update module github.com/aws/aws-sdk-go-v2/service/s3 to v1.99.0 by @renovate[bot] in #8780
- chore(deps): update prom/prometheus docker tag to v3.11.1 by @renovate[bot] in #8779
- otellogrus: Set error field as
record.SetErrby @sonalgaud12 in #8778 - chore(deps): update module golang.org/x/sys to v0.43.0 by @renovate[bot] in #8783
- chore(deps): update golang.org/x/telemetry digest to 93c7c8a by @renovate[bot] in #8786
- chore(deps): update module github.com/mattn/go-isatty to v0.0.21 by @renovate[bot] in #8787
- chore(deps): update module github.com/mattn/go-runewidth to v0.0.23 by @renovate[bot] in #8788
- chore(deps): update golang.org/x by @renovate[bot] in #8791
- chore(deps): update actions/github-script action to v9 by @renovate[bot] in #8795
- fix(deps): update golang.org/x by @renovate[bot] in #8794
- otelzap: set error field as record.SetErr by @iblancasa in #8719
- fix(deps): update golang.org/x to 746e56f by @renovate[bot] in #8796
- chore(deps): update module golang.org/x/arch to v0.26.0 by @renovate[bot] in #8798
- Check if otelgrpc metrics are enabled by @dashpole in #8792
- chore(deps): update actions/upload-artifact action to v7.0.1 by @renovate[bot] in #8800
- Check instrument enabled in deprecatedruntime by @dashpole in #8793
- chore(deps): update module github.com/ashanbrown/forbidigo/v2 to v2.3.1 by @renovate[bot] in #8804
- chore(deps): update module github.com/ashanbrown/makezero/v2 to v2.2.1 by @renovate[bot] in #8802
- chore(deps): update module github.com/manuelarte/funcorder to v0.6.0 by @renovate[bot] in #8803
- chore(deps): update prom/prometheus docker tag to v3.11.2 by @renovate[bot] in #8806
- chore(deps): update googleapis to 3e5c5a5 by @renovate[bot] in #8807
- chore(deps): update actions/cache action to v5.0.5 by @renovate[bot] in #8805
- chore(deps): update googleapis to afd174a by @renovate[bot] in #8811
- fix(deps): update module golang.org/x/vuln to v1.2.0 by @renovate[bot] in #8810
- chore(deps): update otel/opentelemetry-collector-contrib docker tag to v0.150.1 by @renovate[bot] in #8809
- Add snippets for prometheus clients compatibility documentation by @jack-berg in #8716
- build(deps): bump google.golang.org/grpc from 1.79.2 to 1.79.3 in /examples/prometheus-compatibility by @dependabot[bot] in #8813
- build(deps): bump go.opentelemetry.io/otel/sdk from 1.42.0 to 1.43.0 in /examples/prometheus-compatibility by @dependabot[bot] in #8814
- build(deps): bump go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetrichttp from 1.42.0 to 1.43.0 in /examples/prometheus-compatibility by @dependabot[bot] in #8812
- chore(deps): update golang.org/x by @renovate[bot] in #8818
- chore(deps): update module go.yaml.in/yaml/v2 to v2.4.4 by @renovate[bot] in #8817
- chore(deps): update module github.com/prometheus/common to v0.67.5 by @renovate[bot] in #8820
- chore(deps): update googleapis to afd174a by @renovate[bot] in #8816
- chore(deps): update module github.com/dave/dst to v0.27.4 by @renovate[bot] in #8819
- chore(deps): update module github.com/prometheus/procfs to v0.20.1 by @renovate[bot] in #8821
- fix(deps): update module go.mongodb.org/mongo-driver/v2 to v2.5.1 by @renovate[bot] in #8825
- chore(deps): update k8s.io/kube-openapi digest to ec9c827 by @renovate[bot] in #8824
- chore(deps): update golang.org/x/telemetry digest to fac6e1c by @renovate[bot] in #8823
- otelhttp: record error.type metric on transport failures by @sonalgaud12 in #8801
- test(otelconf): replace expiring TLS fixtures with runtime certs by @MrAlias in #8835
- build(deps): bump github.com/go-git/go-git/v5 from 5.17.2 to 5.18.0 in /tools by @dependabot[bot] in #8838
- otelhttp: Add sonalgaud12 as codeowner by @sonalgaud12 in #8831
- fix(deps): update kubernetes monorepo to v0.35.4 by @renovate[bot] in #8827
- chore(deps): update github/codeql-action action to v4.35.2 by @renovate[bot] in #8826
- chore(deps): update module github.com/labstack/gommon to v0.5.0 by @renovate[bot] in #8843
- chore(deps): update module github.com/dlclark/regexp2 to v1.12.0 by @renovate[bot] in #8840
- fix(deps): update module github.com/aws/smithy-go to v1.25.0 by @renovate[bot] in https://github.com/open-telemetry/opentelemetry-go-cont...
Release v1.43.0/v2.5.0/v0.68.0/v0.37.0/v0.23.0/v0.18.0/v0.16.0/v0.15.0
Added
- Add
Resourcemethod toSDKingo.opentelemetry.io/contrib/otelconf/v0.3.0to expose the resolved SDK resource from declarative configuration. (#8660) - Add support to set the configuration file via
OTEL_CONFIG_FILEingo.opentelemetry.io/contrib/otelconf. (#8639) - Add support for
serviceresource detector ingo.opentelemetry.io/contrib/otelconf. (#8674) - Add support for
attribute_count_limitandattribute_value_length_limitin tracer provider configuration ingo.opentelemetry.io/contrib/otelconf. (#8687) - Add support for
attribute_count_limitandattribute_value_length_limitin logger provider configuration ingo.opentelemetry.io/contrib/otelconf. (#8686) - Add support for
server.addressandserver.portattributes ingo.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc. (#8723) - Add support for
OTEL_SEMCONV_STABILITY_OPT_INingo.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc. Supported values arerpc(default),rpc/dupandrpc/old. (#8726) - Add the
http.routemetric attribute togo.opentelemetry.io/contrib/instrumentation/net/http/otelhttp. (#8632)
Changed
- Prepend
_to the normalized environment variable name when the key starts with a digit ingo.opentelemetry.io/contrib/propagators/envcar, ensuring POSIX compliance. (#8678) - Move experimental types from
go.opentelemetry.io/contrib/otelconftogo.opentelemetry.io/contrib/otelconf/x. (#8529) - Normalize cached environment variable names in
go.opentelemetry.io/contrib/propagators/envcar, aligningCarrier.Keysoutput with the carrier's normalized key format. (#8761)
Fixed
- Fix
go.opentelemetry.io/contrib/otelconfPrometheus reader converting OTel dot-style label names (e.g.service.name) to underscore-style (service_name) intarget_infowhen bothwithout_type_suffixandwithout_unitsare set. UseNoTranslationinstead ofUnderscoreEscapingWithoutSuffixesto preserve dot-style label names while still suppressing metric name suffixes. (#8763) - Limit the request body size at 1MB in
go.opentelemetry.io/contrib/zpages. (#8656) - Fix server spans using the client's address and port for
server.addressandserver.portattributes ingo.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc. (#8723)
Removed
- Host ID resource detector has been removed when configuring the
hostresource detector ingo.opentelemetry.io/contrib/otelconf. (#8581)
Deprecated
- Deprecate
OTEL_EXPERIMENTAL_CONFIG_FILEin favour ofOTEL_CONFIG_FILEingo.opentelemetry.io/contrib/otelconf. (#8639)
What's Changed
- chore(deps): update module github.com/jgautheron/goconst to v1.9.0 by @renovate[bot] in #8651
- chore(deps): update module go.yaml.in/yaml/v2 to v2.4.4 by @renovate[bot] in #8652
- chore(deps): update golang.org/x/telemetry digest to e526e8a by @renovate[bot] in #8647
- chore(deps): update module k8s.io/klog/v2 to v2.140.0 by @renovate[bot] in #8650
- chore(deps): update module github.com/mgechev/revive to v1.14.0 by @mmorel-35 in #8646
- chore(deps): update module github.com/mgechev/revive to v1.15.0 by @renovate[bot] in #8539
- chore: fix noctx issues by @mmorel-35 in #8645
- chore(deps): update golang.org/x by @renovate[bot] in #8655
- chore(deps): update module codeberg.org/chavacava/garif to v0.2.1 by @renovate[bot] in #8654
- chore(deps): update module github.com/mattn/go-runewidth to v0.0.21 by @renovate[bot] in #8653
- fix(deps): update module go.opentelemetry.io/proto/otlp to v1.10.0 by @renovate[bot] in #8657
- Limit the number of bytes read from the zpages body by @dmathieu in #8656
- fix(deps): update module github.com/golangci/golangci-lint/v2 to v2.11.2 by @renovate[bot] in #8648
- fix(deps): update module github.com/golangci/golangci-lint/v2 to v2.11.3 by @renovate[bot] in #8661
- chore(deps): update github.com/securego/gosec/v2 digest to 8895462 by @renovate[bot] in #8663
- otelconf: support OTEL_CONFIG_FILE as it is no longer experimental by @codeboten in #8639
- chore(deps): update module github.com/sonatard/noctx to v0.5.1 by @renovate[bot] in #8664
- chore(deps): update github.com/securego/gosec/v2 digest to 6e66a94 by @renovate[bot] in #8665
- chore(deps): update golang.org/x by @renovate[bot] in #8667
- chore(deps): update module github.com/montanaflynn/stats to v0.8.2 by @renovate[bot] in #8669
- chore(deps): update googleapis to 84a4fc4 by @renovate[bot] in #8668
- otelconf: remove host ID detector in host configuration by @codeboten in #8581
- chore(deps): update module github.com/goccy/go-json to v0.10.6 by @renovate[bot] in #8672
- fix(deps): update module golang.org/x/tools to v0.43.0 by @renovate[bot] in #8670
- fix(deps): update module github.com/aws/aws-sdk-go-v2/service/s3 to v1.97.0 by @renovate[bot] in #8675
- fix(deps): update golang.org/x by @renovate[bot] in #8673
- chore(deps): update github.com/securego/gosec/v2 digest to c2dfcec by @renovate[bot] in #8666
- chore(deps): update github.com/securego/gosec/v2 digest to dec52c4 by @renovate[bot] in #8680
- fix(deps): update aws-sdk-go-v2 monorepo by @renovate[bot] in #8679
- chore(deps): update github/codeql-action action to v4.33.0 by @renovate[bot] in #8682
- envcar: refine normalization by @pellared in #8678
- chore(deps): update github.com/securego/gosec/v2 digest to 744bfb5 by @renovate[bot] in #8681
- otelconf: support service resource detector by @codeboten in #8674
- fix(otelgin,otelecho): use
MetricAttributes.Routeby @gaiaz-iusipov in #8677 - build(deps): bump google.golang.org/grpc from 1.79.2 to 1.79.3 in /samplers/jaegerremote by @dependabot[bot] in #8693
- build(deps): bump google.golang.org/grpc from 1.79.2 to 1.79.3 in /propagators/opencensus/examples by @dependabot[bot] in #8690
- build(deps): bump google.golang.org/grpc from 1.79.2 to 1.79.3 in /instrumentation/google.golang.org/grpc/otelgrpc/example by @dependabot[bot] in #8689
- build(deps): bump google.golang.org/grpc from 1.79.2 to 1.79.3 in /instrumentation/github.com/aws/aws-lambda-go/otellambda/xrayconfig by @dependabot[bot] in #8692
- chore(deps): update actions/cache action to v5.0.4 by @renovate[bot] in #8700
- chore(deps): update module github.com/bytedance/gopkg to v0.1.4 by @renovate[bot] in #8703
- chore(deps): update codecov/codecov-action action to v5.5.3 by @renovate[bot] in #8702
- fix(deps): update kubernetes monorepo to v0.35.3 by @renovate[bot] in #8705
- chore(deps): update module github.com/protonmail/go-crypto to v1.4.1 by @renovate[bot] in #8704
- chore(deps): update module github.com/securego/gosec/v2 to v2.25.0 by @renovate[bot] in #8707
- chore(deps): update module github.com/ryanrolds/sqlclosecheck to v0.6.0 by @renovate[bot] in #8706
- chore(deps): update k8s.io/utils digest to 28399d8 by @renovate[bot] in #8699
- chore(deps): update k8s.io/kube-openapi digest to 5883c5e by @renovate[bot] in #8698
- chore(deps): updat...
Release v1.42.0/v2.4.0/v0.67.0/v0.36.0/v0.22.0/v0.17.0/v0.15.0/v0.14.0
Added
- Add environment variables propagation carrier in
go.opentelemetry.io/contrib/propagators/envcar. (#8442)
Changed
-
Upgrade
go.opentelemetry.io/otel/semconvtov1.40.0, including updates across instrumentation and detector modules. (#8631)- The semantic conventions v1.40.0 release introduces RPC breaking changes applied in this repository:
- RPC spans and metrics no longer include
network.protocol.name,network.protocol.version, ornetwork.transportattributes. rpc.client.request.size,rpc.client.response.size,rpc.server.request.size, andrpc.server.response.sizeare no longer emitted ingo.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc.rpc.messagespan events and their message attributes are no longer emitted ingo.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc(including whenWithMessageEventsis configured).
- RPC spans and metrics no longer include
See semantic-conventions v1.40.0 release for complete details.
- The semantic conventions v1.40.0 release introduces RPC breaking changes applied in this repository:
Fixed
- Ignore informational response status codes (
100-199) except101 Switching Protocolswhen storing the HTTP status code ingo.opentelemetry.io/contrib/instrumentation/net/http/otelhttpandgo.opentelemetry.io/contrib/instrumentation/github.com/gorilla/mux/otelmux. (#6913) - Make
Bodyhandling inTransportconsistent with stdlib ingo.opentelemetry.io/contrib/instrumentation/net/http/otelhttp. (#8618) - Fix bucket boundaries for
rpc.server.call.durationandrpc.client.call.durationingo.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc. (#8642) - Host resource detector in
go.opentelemetry.io/contrib/otelconfnow includesos.attributes. (#8578)
Removed
What's Changed
- chore(deps): update github artifact actions to v7 (major) by @renovate[bot] in #8605
- chore(deps): update module github.com/sonatard/noctx to v0.5.0 by @renovate[bot] in #8610
- chore(deps): update github/codeql-action action to v4.32.5 by @renovate[bot] in #8620
- fix(deps): update module github.com/aws/smithy-go to v1.24.2 by @renovate[bot] in #8614
- chore(deps): update go-openapi packages by @renovate[bot] in #8621
- fix(deps): update module github.com/shirou/gopsutil/v4 to v4.26.2 by @renovate[bot] in #8622
- chore(deps): update module github.com/kisielk/errcheck to v1.10.0 by @renovate[bot] in #8608
- chore(deps): update module github.com/protonmail/go-crypto to v1.4.0 by @renovate[bot] in #8609
- chore(deps): update otel/opentelemetry-collector-contrib docker tag to v0.147.0 by @renovate[bot] in #8625
- chore(deps): update module github.com/daixiang0/gci to v0.14.0 by @renovate[bot] in #8623
- Drop support for 1.24 by @dmathieu in #8628
- fix(deps): update golang.org/x by @renovate[bot] in #8554
- fix(deps): update kubernetes packages to v0.35.2 by @renovate[bot] in #8626
- fix(deps): update aws-sdk-go-v2 monorepo by @renovate[bot] in #8598
- fix(deps): update module github.com/aws/aws-lambda-go to v1.53.0 by @renovate[bot] in #8630
- otelgrpc: modernize the example project by @ash2k in #8619
- chore(deps): update googleapis to a57be14 by @renovate[bot] in #8606
- fix(deps): update module github.com/gin-gonic/gin to v1.12.0 by @renovate[bot] in #8627
- chore(deps): update module github.com/prometheus/procfs to v0.20.1 by @renovate[bot] in #8624
- fix(otelhttp): make Body handling in Transport consistent with stdlib by @ash2k in #8618
- otelhttp: Ignore informational response status codes when persisting status by @VirrageS in #6913
- chore(deps): update golang.org/x/telemetry digest to 18da590 by @renovate[bot] in #8635
- Upgrade to
semconv/v1.40.0by @MrAlias in #8631 - chore(deps): update k8s.io/kube-openapi digest to 5b3e3fd by @renovate[bot] in #8636
- envcar: add environment carrier by @Joibel in #8442
- chore: enable modernize linter by @mmorel-35 in #8583
- chore(deps): update dependency codespell to v2.4.2 by @renovate[bot] in #8640
- chore(deps): update github/codeql-action action to v4.32.6 by @renovate[bot] in #8641
- fix(deps): update aws-sdk-go-v2 monorepo by @renovate[bot] in #8643
- Use correct bucket boundaries for otelgrpc client and server histograms by @dashpole in #8642
- fix(deps): update module google.golang.org/grpc to v1.79.2 by @renovate[bot] in #8644
- otelconf: host detector should include os as well by @codeboten in #8578
- Release v1.42.0/v2.4.0/v0.67.0/v0.36.0/v0.22.0/v0.17.0/v0.15.0/v0.14.0 by @pellared in #8649
New Contributors
Full Changelog: v1.41.0...v1.42.0
v1.41.0/v2.3.0/v0.66.0/v0.35.0/v0.21.0/v0.16.0/v0.14.0/v0.13.0
This release is the last to support Go 1.24.
The next release will require at least Go 1.25.
Added
- Add
WithSpanKindoption ingo.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpcto override the default span kind. (#8506) - Add
const Versioningo.opentelemetry.io/contrib/bridges/otelzap. (#8544) - Support testing of Go 1.26. (#8549)
- Add
const Versioningo.opentelemetry.io/contrib/detectors/autodetect. (#8555) - Add
const Versioningo.opentelemetry.io/contrib/detectors/azure/azurevm. (#8553) - Add
const Versioningo.opentelemetry.io/contrib/processors/baggagecopy. (#8557) - Add
const Versioningo.opentelemetry.io/contrib/detectors/aws/lambda. (#8510) - Add
const Versioningo.opentelemetry.io/contrib/propagators/autoprop. (#8488) - Add
const Versioningo.opentelemetry.io/contrib/processors/minsev. (#8590) - Add
const Versioningo.opentelemetry.io/contrib/exporters/autoexport. (#8612)
Fixed
- Change the
rpc.server.call.durationmetric value from milliseconds to seconds ingo.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc. (#8509) - Change the
rpc.response.status_codeattribute to the canonicalUPPER_SNAKE_CASEformat ingo.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc. (#8565) - Enforce that
client_certificate_fileandclient_key_fileare provided together ingo.opentelemetry.io/contrib/otelconf. (#8450) - Fix broken CSS and JavaScript CDN URLs in
go.opentelemetry.io/contrib/zpagesby replacing the inaccessible code.getmdl.io CDN with cdnjs.cloudflare.com. (#8502) - Use Prometheus translation strategy instead of deprecated funcs in
go.opentelemetry.io/contrib/otelconf. (#8595)
Removed
- Remove the deprecated zipkin exporter example in
go.opentelemetry.io/contrib/examples/zipkin. (#8501)
Changed
- Reduce allocations in the generated HTTP
internal/semconvpackages. (#8511)
Updated modules include: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 configuration schema used in
go.opentelemetry.io/contrib/otelconfto rc.3. (#8505)
Deprecated
WithMetricAttributesFningo.opentelemetry.io/contrib/instrumentation/net/http/otelhttpis deprecated and will be removed in a future release. UseLabelerinstead. (#8587)
What's Changed
- chore(deps): update golang.org/x/telemetry digest to fe4bb1c by @renovate[bot] in #8495
- chore(deps): update github/codeql-action action to v4.32.1 by @renovate[bot] in #8492
- chore(deps): update module github.com/clipperhouse/uax29/v2 to v2.5.0 by @renovate[bot] in #8489
- chore(deps): update googleapis to ce8ad4c by @renovate[bot] in #8496
- chore(deps): update golang.org/x/telemetry digest to aaaaaa5 by @renovate[bot] in #8500
- chore(deps): update googleapis to 546029d by @renovate[bot] in #8503
- fix(deps): update module github.com/aws/aws-sdk-go-v2/service/dynamodb to v1.55.0 by @renovate[bot] in #8504
- chore: update go-jsonschema dependency by @codeboten in #8494
- otelconf: validate client key/cert symmetry for mTLS by @sandy2008 in #8450
- Remove zipkin example by @pradhyum6144 in #8501
- Fix zpages CSS and JS CDN URLs by @pradhyum6144 in #8502
- chore(deps): update otel/opentelemetry-collector-contrib docker tag to v0.145.0 by @renovate[bot] in #8508
- otelgrpc: add WithSpanKind option by @rauanmayemir in #8506
- chore(deps): update fossas/fossa-action action to v1.8.0 by @renovate[bot] in #8517
- chore(deps): update github/codeql-action action to v4.32.2 by @renovate[bot] in #8515
- chore(deps): update module github.com/ghostiam/protogetter to v0.3.20 by @renovate[bot] in #8513
- chore(deps): update golang.org/x/telemetry digest to 86a5c4b by @renovate[bot] in #8512
- chore(deps): update golang.org/x by @renovate[bot] in #8521
- chore(deps): update module github.com/clipperhouse/uax29/v2 to v2.6.0 by @renovate[bot] in #8522
- chore(deps): update module sigs.k8s.io/structured-merge-diff/v6 to v6.3.2 by @renovate[bot] in #8520
- chore(deps): update module github.com/klauspost/compress to v1.18.4 by @renovate[bot] in #8523
- fix(deps): update module go.mongodb.org/mongo-driver to v1.17.9 by @renovate[bot] in #8519
- chore(deps): update googleapis to 4cfbd41 by @renovate[bot] in #8527
- fix(deps): update golang.org/x by @renovate[bot] in #8528
- chore(deps): update module github.com/go-git/go-git/v5 to v5.16.5 [security] by @renovate[bot] in #8531
- google.golang.org/grpc/otelgrpc: Fix for
elapsedTimerecords an incorrect metric value by @gaiaz-iusipov in #8509 - chore(deps): update k8s.io/utils digest to b8788ab by @renovate[bot] in #8534
- chore(deps): update module github.com/grpc-ecosystem/grpc-gateway/v2 to v2.27.8 by @renovate[bot] in #8535
- chore(deps): update module github.com/golangci/golines to v0.15.0 by @renovate[bot] in #8536
- chore(deps): update module github.com/golangci/misspell to v0.8.0 by @renovate[bot] in #8538
- otelconf: update to latest config schema rc by @codeboten in #8505
- chore(deps): update golang.org/x/telemetry digest to 9f66fae by @renovate[bot] in #8545
- Add version file for otelzap bridge by @lcorinna in #8544
- chore(deps): update golang docker tag to v1.26 by @renovate[bot] in #8537
- fix(deps): update module google.golang.org/grpc to v1.79.0 by @renovate[bot] in #8552
- Add support for Go 1.26 by @dmathieu in #8549
- fix(deps): update module google.golang.org/grpc to v1.79.1 by @renovate[bot] in #8556
- chore(deps): update github/codeql-action action to v4.32.3 by @renovate[bot] in #8558
- Add version file for Azure VM detector by @bamdadam in #8553
- chore(deps): update module github.com/kevinburke/ssh_config to v1.5.0 by @renovate[bot] in #8561
- Add version file for baggagecopy processor by @lcorinna in #8557
- chore(deps): update module github.com/kevinburke/ssh_config to v1.6.0 by @renovate[bot] in #8562
- chore(deps): update module github.com/godoc-lint/godoc-lint to v0.11.2 by @renovate[bot] in #8566
- chore(deps): update module github.com/clipperhouse/uax29/v2 to v2.7.0 by @renovate[bot] in #8564
- chore(deps): update github.com/lufia/plan9stats digest to b3301c5 by @renovate[bot] in #8563
- chore(deps): update module github.com/mattn/go-runewidth to v0.0.20 by @renovate[bot] in #8567
- Add version file for AWS Lambda resource detector by @ElenaZvereva in h...
Release v1.40.0/v2.2.0/v0.65.0/v0.34.0/v0.20.0/v0.15.0/v0.13.0/v0.12.0
Overview
Added
WithMetricAttributesFnoption ingo.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpcto define dynamic attributes on auto-instrumented metrics. (#8191)- Add support for configuring propagators in
go.opentelemetry.io/contrib/otelconf. (#8281) - Add
const Versioningo.opentelemetry.io/contrib/bridges/prometheus. (#8401) - Add
const Versioningo.opentelemetry.io/contrib/otelconf. (#8461) - Add
const Versioningo.opentelemetry.io/contrib/bridges/otellogr. (#8477) - Add
const Versioningo.opentelemetry.io/contrib/bridges/otellogrus. (#8485) - Add
const Versioningo.opentelemetry.io/contrib/bridges/otelslog. (#8480)
Fixed
- 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)
Changed
- The
Version()function ingo.opentelemetry.io/contrib/instrumentation/net/http/otelhttphas been replaced byconst Version. (#8142) - 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/google.golang.org/grpc/otelgrpchas been replaced byconst Version. (#8317) - The
Version()function ingo.opentelemetry.io/contrib/zpageshas been replaced byconst Version. (#8325) - The
Version()function ingo.opentelemetry.io/contrib/instrumentation/go.mongodb.org/mongo-driver/mongo/otelmongohas been replaced byconst Version. (#8340) - The
Version()function ingo.opentelemetry.io/contrib/instrumentation/github.com/gin-gonic/gin/otelginhas been replaced byconst Version. (#8341) - The
Version()function ingo.opentelemetry.io/contrib/instrumentation/runtimehas been replaced byconst Versionstring. (#8349) - 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/aws/aws-lambda-go/otellambdahas been replaced byconst Version. (#8357) - The
Version()function ingo.opentelemetry.io/contrib/instrumentation/hosthas been replaced byconst Version. (#8358) - 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/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) - Upgrade
go.opentelemetry.io/otel/semconvtov1.39.0, including updates across all instrumentation and detector modules. (#8404)-
The semantic conventions v1.39.0 release introduces breaking changes, including:
rpcspan and metric attributes have been renamed to align with naming guidelines:rpc.system→rpc.system.name(values:grpc,grpc_web,connectrpc,thrift,dubbo, etc.)rpc.methodandrpc.servicehave been merged into a fully-qualifiedrpc.methodattributerpc.client|server.duration→rpc.client|server.call.duration(unit changed to seconds)rpc.grpc.request.metadata/rpc.grpc.response.metadata→rpc.request.metadata/rpc.response.metadatarpc.grpc.status_code→ deprecated in favor ofrpc.response.status_coderpc.jsonrpc.request_id→jsonrpc.request.idrpc.jsonrpc.version→jsonrpc.protocol.version
systemandprocessmetrics:*.linux.memorymetrics renamed to*.memory.linuxsystem.process.status→process.statesystem.paging.typeandprocess.paging.fault_type→system.paging.fault.type
peer.serviceattribute has been deprecated in favor ofservice.peer.name
See semantic-conventions v1.39.0 release and v1.38.0 release for complete breaking change details.
-
Updated modules include:
go.opentelemetry.io/contrib/bridges/otellogrgo.opentelemetry.io/contrib/bridges/otellogrusgo.opentelemetry.io/contrib/bridges/otelsloggo.opentelemetry.io/contrib/bridges/otelzapgo.opentelemetry.io/contrib/instrumentation/net/http/otelhttp- Uses
service.peer.nameattribute (deprecatedpeer.service)
- Uses
go.opentelemetry.io/contrib/instrumentation/net/http/httptrace/otelhttptracego.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc- Merged
rpc.methodandrpc.serviceinto fully-qualifiedrpc.method(e.g.,grpc.testing.TestService/EmptyCall) rpc.system→rpc.system.namewith updated values (e.g.,RPCSystemNameGRPC)rpc.grpc.status_code→rpc.response.status_code(e.g.,RPCResponseStatusCode("OK"))
- Merged
go.opentelemetry.io/contrib/instrumentation/github.com/aws/aws-sdk-go-v2/otelaws- Merged
rpc.methodandrpc.serviceattributes (service/operation → fully-qualified method) rpc.system→rpc.system.namewithAWSSystemVal- New
MethodAttr()function for combined service/operation attribute
- Merged
go.opentelemetry.io/contrib/instrumentation/github.com/aws/aws-lambda-go/otellambdago.opentelemetry.io/contrib/instrumentation/runtimego.opentelemetry.io/contrib/instrumentation/hostgo.opentelemetry.io/contrib/instrumentation/go.mongodb.org/mongo-driver(both v1 and v2)go.opentelemetry.io/contrib/instrumentation/github.com/gin-gonic/gin/otelgingo.opentelemetry.io/contrib/instrumentation/github.com/emicklei/go-restful/otelrestfulgo.opentelemetry.io/contrib/instrumentation/github.com/labstack/echo/otelechogo.opentelemetry.io/contrib/instrumentation/github.com/gorilla/mux/otelmuxgo.opentelemetry.io/contrib/detectors/gcpgo.opentelemetry.io/contrib/detectors/aws/ec2/v2go.opentelemetry.io/contrib/detectors/aws/ecsgo.opentelemetry.io/contrib/detectors/aws/eksgo.opentelemetry.io/contrib/detectors/azure/azurevmgo.opentelemetry.io/contrib/otelconf
-
Deprecated
ServiceAttr()function ingo.opentelemetry.io/contrib/instrumentation/github.com/aws/aws-sdk-go-v2/otelawsis deprecated. UseMethodAttr()instead, asrpc.servicehas been merged intorpc.methodin semantic conventions v1.39.0. (#8404)OperationAttr()function ingo.opentelemetry.io/contrib/instrumentation/github.com/aws/aws-sdk-go-v2/otelawsis deprecated. UseMethodAttr()instead, asrpc.servicehas been merged intorpc.methodin semantic conventions v1.39.0. (#8404)
Removed
- 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)
What's Changed
- fix(deps): update aws-sdk-go-v2 monorepo by @renovate[bot] in #8263
- fix(deps): update module github.com/aws/aws-lambda-go to v1.51.0 by @renovate[bot] in #8265
- chore(deps): update golang.org/x by @renovate[bot] in #8262
- fix(deps): update aws-sdk-go-v2 monorepo by @renovate[bot] in #8264
- fix(deps): update golang.org/x by @renovate[bot] in #8269
- fix(deps): update module golang.org/x/tools to v0.40.0 by @renovate[bot] in #8271
- chore(deps): update go-openapi packages by @renovate[bot] in #8270
- refactor(otelhttp): change Version() func to const Version string by @dogedede in #8142
- chore(deps): update golang.org/x/exp/typeparams digest to 8475f28 by @renovate[bot] in #8273
- Remove the deprecated
otelhttpClientby @MrAlias in https://github.com/open-telemetry/opentelemetry-go-contrib/pu...
Release v1.39.0/v2.1.0/v0.64.0/v0.33.0/v0.19.0/v0.14.0/v0.12.0/v0.11.0
Overview
Added
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)
Changed
- 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)
Deprecated
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)
Removed
- 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)
What's Changed
- chore(deps): update go-openapi packages by @renovate[bot] in #7830
- chore(deps): update module github.com/spf13/pflag to v1.0.9 by @renovate[bot] in #7833
- fix(deps): update module github.com/shirou/gopsutil/v4 to v4.25.8 by @renovate[bot] in #7834
- Remove support for Go 1.23 by @MrAlias in #7831
- fix(deps): update golang.org/x by @renovate[bot] in #7733
- chore(deps): update googleapis to ef028d9 by @renovate[bot] in #7835
- chore(deps): update module github.com/securego/gosec/v2 to v2.22.8 by @renovate[bot] in #7836
- fix(deps): update kubernetes packages to v0.34.0 by @renovate[bot] in #7837
- fix(deps): update module github.com/golangci/golangci-lint/v2 to v2.4.0 by @renovate[bot] in #7838
- chore(deps): update k8s.io/kube-openapi digest to d7b6acb by @renovate[bot] in #7840
- fix(deps): update module github.com/jaegertracing/jaeger-idl to v0.6.0 by @renovate[bot] in #7839
- Cleanup remnants of the
http/dupflag in shared semconv by @dmathieu in #7813 - chore(deps): update module github.com/spf13/cobra to v1.10.0 by @renovate[bot] in #7843
- chore(deps): update github/codeql-action action to v3.30.0 by @renovate[bot] in #7842
- chore(deps): update module github.com/spf13/cobra to v1.10.1 by @renovate[bot] in #7844
- chore(deps): update module github.com/bytedance/sonic to v1.14.1 by @renovate[bot] in #7846
- chore: remove deprecated EC2 detector by @flc1125 in #7841
- chore(deps): update module github.com/spf13/pflag to v1.0.10 by @renovate[bot] in #7850
- chore(deps): update module github.com/golangci/go-printf-func-name to v0.1.1 by @renovate[bot] in #7848
- chore(deps): update k8s.io/kube-openapi digest to 7fc2783 by @renovate[bot] in #7849
- chore(deps): update module github.com/ghostiam/protogetter to v0.3.16 by @renovate[bot] in #7847
- chore(deps): update module github.com/prometheus/common to v0.66.0 by @renovate[bot] in #7851
- chore(deps): update module mvdan.cc/gofumpt to v0.9.0 by @renovate[bot] in #7852
- fix(deps): update module go.opentelemetry.io/proto/otlp to v1.8.0 by @renovate[bot] in #7855
- chore(deps): update otel/opentelemetry-collector-contrib docker tag to v0.134.1 by @renovate[bot] in #7856
- chore(deps): update actions/stale action to v10 by @renovate[bot] in #7859
- chore(deps): update actions/setup-go action to v6 by @renovate[bot] in #7858
- fix(deps): update module github.com/aws/aws-sdk-go-v2/service/route53 to v1.58.0 by @renovate[bot] in #7857
- fix(deps): update module github.com/prometheus/client_golang to v1.23.1 by @renovate[bot] in #7861
- chore(deps): update module github.com/bombsimon/wsl/v5 to v5.2.0 by @renovate[bot] in #7863
- chore(deps): update codecov/codecov-action action to v5.5.1 by @renovate[bot] in #7860
- chore(deps): update golang.org/x/telemetry digest to 9b996f7 by @renovate[bot] in #7862
- chore(deps): update github.com/grafana/regexp digest to f7b3be9 by @renovate[bot] in #7864
- chore(deps): update github/codeql-action action to v3.30.1 by @renovate[bot] in #7865
- chore(deps): update module github.com/prometheus/common to v0.66.1 by @renovate[bot] in #7866
- chore(deps): update k8s.io/kube-openapi digest to 0bf3876 by @renovate[bot] in #7869
- chore(deps): update golang.org/x/telemetry digest to af835b0 by @renovate[bot] in https://github.co...
Release v1.38.0/v2.0.0/v0.63.0/v0.32.0/v0.18.0/v0.13.0/v0.11.0/v0.10.0
Overview
This release is the last to support Go 1.23. The next release will require at least Go 1.24.
Added
- 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)
Changed
- 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)
Fixed
- Improve the ECS detector correctness in
go.opentelemetry.io/contrib/detectors/aws/ecs. (#7607)
Deprecated
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)
Removed
- 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)
What's Changed
- fix(deps): update module github.com/aws/aws-sdk-go-v2/service/s3 to v1.82.0 by @renovate[bot] in #7512
- chore(deps): update module go.yaml.in/yaml/v2 to v3 by @renovate[bot] in #7511
- chore(deps): update k8s.io/kube-openapi digest to e0c7552 by @renovate[bot] in #7515
- chore(deps): update k8s.io/kube-openapi digest to af0a60a by @renovate[bot] in #7516
- Fix outdated community membership link by @opentelemetrybot in #7518
- chore(deps): update prom/prometheus docker tag to v3.4.2 by @renovate[bot] in #7517
- chore(deps): update github/codeql-action action to v3.29.1 by @renovate[bot] in #7519
- chore(deps): update module github.com/masterminds/semver/v3 to v3.4.0 by @renovate[bot] in #7521
- fix(deps): update module github.com/golangci/golangci-lint/v2 to v2.2.0 by @renovate[bot] in #7527
- fix(deps): update module github.com/golangci/golangci-lint/v2 to v2.2.1 by @renovate[bot] in #7529
- chore(deps): update module go.yaml.in/yaml/v3 to v3.0.4 by @renovate[bot] in #7528
- chore(deps): update k8s.io/kube-openapi digest to d90c4fd by @renovate[bot] in #7524
- chore(deps): update module go.yaml.in/yaml/v3 to v3.0.4 by @renovate[bot] in #7530
- runtime: add ns unit to deprecated runtime metrics by @Machyne in #7490
- chore(deps): update github/codeql-action action to v3.29.2 by @renovate[bot] in #7532
- otelconf: replace sigs.k8s.io/yaml with go.yaml.in/yaml by @pellared in #7533
- chore(deps): update module github.com/uudashr/iface to v1.4.1 by @renovate[bot] in #7534
- fix(deps): update module github.com/aws/aws-sdk-go-v2/service/dynamodb to v1.44.0 by @renovate[bot] in #7535
- chore(deps): update module github.com/alecthomas/chroma/v2 to v2.19.0 by @renovate[bot] in #7537
- fix(deps): update module github.com/shirou/gopsutil/v4 to v4.25.6 by @renovate[bot] in #7536
- chore(deps): update golang.org/x/telemetry digest to 2f1f772 by @renovate[bot] in #7539
- chore(deps): update k8s.io/kube-openapi digest to 9bd5c66 by @renovate[bot] in #7540
- chore(deps): update module github.com/go-playground/validator/v10 to v10.27.0 by @renovate[bot] in #7543
- chore(deps): update module github.com/bombsimon/wsl/v5 to v5.1.0 by @renovate[bot] in #7542
- Add contents of the Go license by @psx95 in #7538
- chore(deps): update otel/opentelemetry-collector-contrib docker tag to v0.129.1 by @renovate[bot] in #7545
- chore(deps): update module github.com/sonatard/noctx to v0.3.5 by @renovate[bot] in #7544
- fix(deps): update module github.com/aws/aws-sdk-go-v2/service/s3 to v1.83.0 by @renovate[bot] in #7546
- chore(deps): update module github.com/prometheus/procfs to v0.17.0 by @renovate[bot] in #7547
- fix(deps): update module github.com/aws/aws-sdk-go-v2/service/route53 to v1.53.0 by @renovate[bot] in #7548
- chore(deps): update github.com/golangci/gofmt digest to 3e58ba0 by @renovate[bot] in #7550
- chore(deps): update module github.com/bytedance/sonic/loader to v0.3.0 by @renovate[bot] in #7555
- chore(deps): update module github.com/alwxsin/noinlineerr to v1.0.4 by @renovate[bot] in #7554
- chore(deps): update module go.opentelemetry.io/build-tools to v0.24.0 by @renovate[bot] in #7560
- chore(deps): update googleapis to 8d1bb00 by @renovate[bot] in #7559
- fix(deps): update build-...