github open-telemetry/opentelemetry-go-contrib v1.46.0
v1.46.0/v2.5.3/v0.71.0/v0.37.3/v0.26.0/v0.20.1/v0.16.3/v0.18.0

one hour ago

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.ec2 resource detector in go.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 from processor/resourcedetectionprocessor/internal/docker in opentelemetry-collector-contrib. (#9001)
  • Add S3AttributeBuilder to go.opentelemetry.io/contrib/instrumentation/github.com/aws/aws-sdk-go-v2/otelaws that 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 from processor/resourcedetectionprocessor/internal/docker in opentelemetry-collector-contrib. (#9001)

Deprecated

  • Deprecate go.opentelemetry.io/contrib/instrumentation/github.com/labstack/echo/otelecho.
    Use github.com/labstack/echo-opentelemetry instead. (#9136)

Fixed

  • Record error.type attribute on server spans in go.opentelemetry.io/contrib/instrumentation/github.com/emicklei/go-restful/otelrestful when a request is cancelled or ends in a 5xx error. (#9387)
  • Report ot-baggage-* extraction errors from go.opentelemetry.io/contrib/propagators/ot to otel.Handle instead of silently discarding them, while still attaching the successfully parsed baggage members to the context. (#9395)
  • Set error.type on the rpc.client.call.duration and rpc.server.call.duration metrics in go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc when the RPC fails with a non-OK status, per the RPC semantic conventions. (#9429)
  • Reject OTLP exporter headers with an empty name in go.opentelemetry.io/contrib/otelconf, go.opentelemetry.io/contrib/otelconf/x, and go.opentelemetry.io/contrib/otelconf/v0.3.0, instead of forwarding invalid header names to OTLP exporters. (#9102)
  • go.opentelemetry.io/contrib/detectors/aws/lambda no 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[bot] in #9467
  • fix(deps): update module github.com/sirupsen/logrus to v1.10.0 by @renovate[bot] in #9469
  • fix(deps): update golang.org/x by @renovate[bot] in #9468
  • chore(deps): update mvdan.cc/unparam digest to 3570034 by @renovate[bot] in #9473
  • chore(deps): update open-telemetry/shared-workflows action to v0.7.0 - autoclosed by @renovate[bot] in #9479
  • chore(deps): update module golang.org/x/mod to v0.40.0 by @renovate[bot] in #9478
  • chore(deps): update golang:alpine docker digest to 70b4654 by @renovate[bot] in #9472
  • chore(deps): update golang:1.26 docker digest to 2632668 by @renovate[bot] in #9470
  • chore(deps): update golang:1.26-alpine docker digest to 70b4654 by @renovate[bot] in #9471
  • chore(deps): update golang.org/x/telemetry digest to d8c1694 by @renovate[bot] in #9480
  • fix(deps): update module github.com/aws/smithy-go to v1.27.8 by @renovate[bot] in #9481
  • chore(deps): update module github.com/dlclark/regexp2/v2 to v2.7.1 by @renovate[bot] in #9484
  • chore(deps): update golang:1.26-alpine docker digest to 3889b42 by @renovate[bot] in #9488
  • chore(deps): update golang:1.26 docker digest to 0d1d3a7 by @renovate[bot] in #9487
  • chore(deps): update golang:alpine docker digest to 3889b42 by @renovate[bot] in #9493
  • chore(deps): update otel/opentelemetry-collector-contrib docker tag to v0.159.0 by @renovate[bot] in #9507
  • chore(deps): update module github.com/alwxsin/noinlineerr to v1.0.6 by @renovate[bot] in #9506
  • chore(deps): update module github.com/montanaflynn/stats to v0.12.4 by @renovate[bot] in #9505
  • chore(deps): update module github.com/fxamacker/cbor/v2 to v2.9.3 by @renovate[bot] in #9504
  • chore(deps): update module github.com/mattn/go-runewidth to v0.0.28 by @renovate[bot] in #9503
  • chore(deps): update googleapis to ac3dfec by @renovate[bot] in #9502
  • fix(deps): update module google.golang.org/grpc to v1.83.1 by @renovate[bot] in #9513
  • chore(deps): update mvdan.cc/unparam digest to 3f964bc by @renovate[bot] in #9508
  • chore(deps): update prom/prometheus docker tag to v3.14.0 by @renovate[bot] in #9509
  • fix(deps): update module github.com/jaegertracing/jaeger-idl to v0.11.1 by @renovate[bot] in #9510
  • fix(deps): update module github.com/sirupsen/logrus to v1.10.1 by @renovate[bot] in #9512
  • chore(deps): update googleapis to 08b0e42 by @renovate[bot] in #9511
  • fix(deps): update aws-sdk-go-v2 monorepo by @renovate[bot] in #9483
  • chore(deps): update go-openapi packages to v0.29.0 by @renovate[bot] in #9515
  • fix(deps): update module github.com/stretchr/testify to v1.12.1 by @renovate[bot] in #9494
  • chore(deps): update golang.org/x/telemetry digest to f79da96 by @renovate[bot] in #9514
  • fix(deps): update module github.com/golangci/golangci-lint/v2 to v2.13.0 by @renovate[bot] in #9521
  • chore(deps): update open-telemetry/shared-workflows action to v0.8.0 by @renovate[bot] in #9520
  • chore(deps): update golang:1.26-alpine docker digest to 28d89ee by @renovate[bot] in #9519
  • chore(deps): update golang:1.26 docker digest to 45a5f7a by @renovate[bot] in #9518
  • chore(deps): update module github.com/bombsimon/wsl/v5 to v5.9.0 by @renovate[bot] in #9522
  • chore(deps): update golang docker tag to v1.27 by @renovate[bot] in #9517
  • chore(deps): update mvdan.cc/unparam digest to a201bf8 by @renovate[bot] in #9523
  • chore(deps): update golang:alpine docker digest to 4c9fe60 by @renovate[bot] in #9516
  • fix(detectors/aws/lambda): return nil error when not running on Lambda by @pujitha24 in #9464
  • chore(deps): update open-telemetry/shared-workflows action to v0.9.0 by @renovate[bot] in #9530
  • fix(deps): update module github.com/golangci/golangci-lint/v2 to v2.13.1 by @renovate[bot] in #9529
  • chore(deps): update module honnef.co/go/tools to v0.8.0 by @renovate[bot] in #9528
  • chore(deps): update module github.com/nunnatsa/ginkgolinter to v0.24.0 by @renovate[bot] in #9526
  • Support Go 1.27 by @pellared in #9524
  • chore(deps): update open-telemetry/shared-workflows action to v0.10.0 by @renovate[bot] in #9533
  • fix(deps): update aws-sdk-go-v2 monorepo by @renovate[bot] in #9531
  • chore(deps): update github/codeql-action action to v4.37.8 by @renovate[bot] in #9534
  • chore(deps): update k8s.io/kube-openapi digest to be32def by @renovate[bot] in #9535
  • chore(deps): update module github.com/mgechev/revive to v1.16.0 by @renovate[bot] in #9538
  • chore(deps): update go-openapi packages to v0.29.1 by @renovate[bot] in #9537
  • Prometheus Bridge: Support untyped metrics by @ArthurSens in #9099
  • fix(deps): update module github.com/aws/smithy-go to v1.27.9 by @renovate[bot] in #9541
  • chore(deps): update golang.org/x by @renovate[bot] in #9536
  • chore(deps): update module github.com/uudashr/iface to v1.5.1 by @renovate[bot] in #9547
  • fix(deps): update module github.com/googlecloudplatform/opentelemetry-operations-go/detectors/gcp to v1.36.0 by @renovate[bot] in #9546
  • chore(deps): update module honnef.co/go/tools to v0.8.1 by @renovate[bot] in #9545
  • chore(deps): update mvdan.cc/unparam digest to 2fa3d84 by @renovate[bot] in #9550
  • fix(deps): update module go.mongodb.org/mongo-driver/v2 to v2.8.1 by @renovate[bot] in #9552
  • Added S3AttributeBuilder to otelaws orchestration by @hxyannay in #9292
  • chore(deps): update go-openapi packages to v0.29.1 by @renovate[bot] in #9540
  • chore: docker housekeeping by @thompson-tomo in #9303
  • chore(deps): update golang:1.27.0 docker digest to 0ecdc2a by @renovate[bot] in #9556
  • chore(deps): update module github.com/go-openapi/jsonreference to v1.0.1 by @renovate[bot] in #9557
  • otelrestful: record error.type on server span by @dashpole in #9387
  • fix(deps): update go.opentelemetry.io/otel to v1.46.0 by @pellared in #9558
  • Deprecate otelecho by @macayu17 in #9136
  • otelconf: register Prometheus reader with a MeterProvider in tests by @pujitha24 in #9475
  • fix(deps): update module github.com/aws/smithy-go to v1.28.0 by @renovate[bot] in #9560
  • fix(deps): update module github.com/sirupsen/logrus to v1.10.2 by @renovate[bot] in #9561
  • fix(deps): update module google.golang.org/grpc to v1.83.2 by @renovate[bot] in #9562
  • Add docker resource detector by @ps-mir in #9001
  • chore(deps): update module github.com/felixge/httpsnoop to v1.1.0 by @renovate[bot] in #9572
  • chore(deps): update module github.com/docker/go-connections to v0.8.1 by @renovate[bot] in #9571
  • fix(deps): update module github.com/aws/smithy-go to v1.28.0 by @renovate[bot] in #9569
  • chore(deps): update open-telemetry/shared-workflows action to v0.11.0 by @renovate[bot] in #9568
  • chore(deps): update jaegertracing/jaeger docker tag to v2.20.0 by @renovate[bot] in #9567
  • chore(deps): update googleapis to da73d73 by @renovate[bot] in #9565
  • fix(deps): update module github.com/moby/moby/api to v1.55.0 by @renovate[bot] in #9574
  • chore(deps): update module go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp to v0.70.0 by @renovate[bot] in #9573
  • fix(deps): update aws-sdk-go-v2 monorepo by @renovate[bot] in #9566
  • Release v1.46.0/v2.5.3/v0.71.0/v0.37.3/v0.26.0/v0.20.1/v0.16.3/v0.18.0 by @pellared in #9563

New Contributors

Full Changelog: v1.45.0...v1.46.0

Don't miss a new opentelemetry-go-contrib release

NewReleases is sending notifications on new releases.