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 #8510
- chore(deps): update module github.com/grpc-ecosystem/grpc-gateway/v2 to v2.28.0 by @renovate[bot] in #8569
- fix(deps): update aws-sdk-go-v2 monorepo by @renovate[bot] in #8572
- chore(deps): update otel/opentelemetry-collector-contrib docker tag to v0.146.1 by @renovate[bot] in #8579
- Skip flaky test on macos too by @dmathieu in #8580
- fix(deps): update aws-sdk-go-v2 monorepo by @renovate[bot] in #8577
- add version file for autoprop propagator by @pransoft7 in #8488
- Add version file for minsev processor by @ElenaZvereva in #8590
- chore(deps): update github/codeql-action action to v4.32.4 by @renovate[bot] in #8584
- fix(deps): update module github.com/aws/smithy-go to v1.24.1 by @renovate[bot] in #8585
- chore(deps): update module github.com/mirrexone/unqueryvet to v1.5.4 by @renovate[bot] in #8588
- fix(deps): update module github.com/labstack/echo/v4 to v4.15.1 by @renovate[bot] in #8589
- chore(deps): update module github.com/sosodev/duration to v1.4.0 by @renovate[bot] in #8591
- chore(deps): update module github.com/ebitengine/purego to v0.10.0 by @renovate[bot] in #8592
- chore(deps): update module github.com/alexkohler/prealloc to v1.0.3 by @renovate[bot] in #8596
- chore(deps): update lycheeverse/lychee-action action to v2.8.0 by @renovate[bot] in #8599
- chore(deps): update module github.com/uudashr/gocognit to v1.2.1 by @renovate[bot] in #8597
- chore(deps): update module github.com/go-git/go-git/v5 to v5.17.0 by @renovate[bot] in #8601
- chore(deps): update prom/prometheus docker tag to v3.10.0 by @renovate[bot] in #8603
- ci: add govulncheck job to CI workflow and update lint target by @pellared in #8613
- Add version file for autoexport module by @ElenaZvereva in #8612
- otelconf: use translation strategy instead of deprecated funcs by @codeboten in #8595
- otelhttp: Deprecate WithMetricAttributesFn in favor of Labeler by @sonalgaud12 in #8587
- google.golang.org/grpc/otelgrpc: Use canonical string status codes by @haines in #8565
- internal/shared/semconv: Reduce allocations by @gaiaz-iusipov in #8511
- add version file for Autodetect detector by @bamdadam in #8555
- HTTP instrumentations cleanup by @ash2k in #8532
- Release 1.41.0/2.3.0/0.66.0/0.35.0/0.21.0/0.16.0/0.14.0/0.13.0 by @pellared in #8617
New Contributors
- @sandy2008 made their first contribution in #8450
- @pradhyum6144 made their first contribution in #8501
- @rauanmayemir made their first contribution in #8506
- @bamdadam made their first contribution in #8553
- @haines made their first contribution in #8565
Full Changelog: v1.40.0...v1.41.0