Releases: open-telemetry/opentelemetry-go-contrib
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-...
Release 1.37.0/0.62.0/0.31.0/0.17.0/0.12.0/0.10.0/0.9.0
Added
- Add the
WithPublicEndpointandWithPublicEndpointFnoptions togo.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc. (#7407)
Changed
go.opentelemetry.io/contrib/instrumentation/runtimenow produces the new metrics by default. SetOTEL_GO_X_DEPRECATED_RUNTIME_METRICS=trueenvironment variable to additionally produce the deprecated metrics. (#7418)- The semantic conventions have been upgraded from
v1.30.0tov1.34.0ingo.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc. (#7361) - The semantic conventions have been upgraded from
v1.26.0tov1.34.0ingo.opentelemetry.io/contrib/detectors/aws/ec2. (#7373, #7484) - The semantic conventions have been upgraded from
v1.26.0tov1.34.0ingo.opentelemetry.io/contrib/detectors/aws/eks. (#7375, #7484) - The semantic conventions have been upgraded from
v1.26.0tov1.34.0ingo.opentelemetry.io/contrib/detectors/aws/ecs. (#7374, #7484) - The semantic conventions have been upgraded from
v1.26.0tov1.34.0ingo.opentelemetry.io/contrib/detectors/aws/lambda. (#7376, #7484) - The semantic conventions have been upgraded from
v1.26.0tov1.34.0ingo.opentelemetry.io/contrib/detectors/azure/azurevm. (#7377, #7484) - The semantic conventions have been upgraded from
v1.26.0tov1.34.0ingo.opentelemetry.io/contrib/bridges/otelslog. (#7361, #7484) - The semantic conventions have been upgraded from
v1.27.0tov1.34.0ingo.opentelemetry.io/contrib/bridges/otellogr. (#7387, #7484) - The semantic conventions have been upgraded from
v1.26.0tov1.34.0ingo.opentelemetry.io/contrib/bridges/otelzap. (#7389, #7484) - The semantic conventions have been upgraded from
v1.26.0tov1.34.0ingo.opentelemetry.io/contrib/detectors/gcp. (#7378, #7484) - The semantic conventions have been upgraded from
v1.26.0tov1.34.0ingo.opentelemetry.io/contrib/instrumentation/github.com/emicklei/go-restful/otelrestful. (#7383, #7484) - The semantic conventions have been upgraded from
v1.26.0tov1.34.0ingo.opentelemetry.io/contrib/instrumentation/github.com/gin-gonic/gin/otelgin. (#7383, #7484) - The semantic conventions have been upgraded from
v1.26.0tov1.34.0ingo.opentelemetry.io/contrib/instrumentation/github.com/gorilla/mux/otelmux. (#7383, #7484) - The semantic conventions have been upgraded from
v1.26.0tov1.34.0ingo.opentelemetry.io/contrib/instrumentation/net/http/httptrace/otelhttptrace. (#7383, #7484) - The semantic conventions have been upgraded from
v1.26.0tov1.34.0ingo.opentelemetry.io/contrib/instrumentation/net/http/otelhttp. (#7383, #7484) - The semantic conventions have been upgraded in
go.opentelemetry.io/contrib/instrumentation/go.mongodb.org/mongo-driver/mongo/otelmongotov1.34.0. (#7393, #7484) - The semantic conventions have been upgraded in
go.opentelemetry.io/contrib/instrumentation/go.mongodb.org/mongo-driver/v2/mongo/otelmongotov1.34.0. (#7393, #7484) - The semantic conventions have been upgraded in
go.opentelemetry.io/contrib/instrumentation/github.com/aws/aws-sdk-go-v2/otelawstov1.34.0. (#7394, #7484)- The
messaging.system=AmazonSQSattribute has been corrected tomessaging.system=aws.sqs. - The
net.peer.addrattribute key has been upgraded toserver.address. - The
http.status_codeattribute key has been upgraded tohttp.response.status_code. - The
db.system=dynamodbattribute has been corrected todb.system.name=aws.dynamodb. - The deprecated
messaging.operation.type=publishattribute has been corrected tomessaging.operation.type=send.
- The
- The semantic conventions have been upgraded from
v1.21.0tov1.34.0ingo.opentelemetry.io/contrib/instrumentation/github.com/aws/aws-lambda-go/otellambda. (#7400, #7484) - The semantic conventions in
go.opentelemetry.io/contrib/instrumentation/hosthave been upgraded tov1.34.0. (#7390, #7484)- The description of
process.cpu.timeis updated to comply with semantic conventions. process.cpu.timenow uses thestateattribute instead ofcpu.mode.- The
system.cpu.timemetric is renamed tocpu.time. cpu.timenow uses thestateattribute instead ofcpu.mode.system.memory.usagenow uses thestateattribute instead ofsystem.memory.state.system.memory.utilizationnow uses thestateattribute instead ofsystem.memory.state.- The
system.memory.stateattribute (nowstate) value ofavailableis nowfreeinstead.
- The description of
Deprecated
AttributeCPUTimeUseringo.opentelemetry.io/contrib/instrumentation/hostis deprecated.
Usego.opentelemetry.io/otel/semconvinstead. (#7390)AttributeCPUTimeSystemingo.opentelemetry.io/contrib/instrumentation/hostis deprecated.
Usego.opentelemetry.io/otel/semconvinstead. (#7390)AttributeCPUTimeOtheringo.opentelemetry.io/contrib/instrumentation/hostis deprecated.
Usego.opentelemetry.io/otel/semconvinstead. (#7390)AttributeCPUTimeIdleingo.opentelemetry.io/contrib/instrumentation/hostis deprecated.
Usego.opentelemetry.io/otel/semconvinstead. (#7390)AttributeMemoryAvailableingo.opentelemetry.io/contrib/instrumentation/hostis deprecated.
Usego.opentelemetry.io/otel/semconvinstead. (#7390)AttributeMemoryUsedingo.opentelemetry.io/contrib/instrumentation/hostis deprecated.
Usego.opentelemetry.io/otel/semconvinstead. (#7390)AttributeNetworkTransmitingo.opentelemetry.io/contrib/instrumentation/hostis deprecated.
Usego.opentelemetry.io/otel/semconvinstead. (#7390)AttributeNetworkReceiveingo.opentelemetry.io/contrib/instrumentation/hostis deprecated.
Usego.opentelemetry.io/otel/semconvinstead. (#7390)
Fixed
- Fix EKS detector erroring outside of Kubernetes in
go.opentelemetry.io/contrib/detectors/aws/eks. (#7483) - Fix data race when writing log entries with
context.Contextfields ingo.opentelemetry.io/contrib/bridges/otelzap. (#7368) - Fix nil pointer dereference when
ClientTracerdid not have a span ingo.opentelemetry.io/contrib/instrumentation/net/http/httptrace/otelhttptrace. (#7464) - Record all non-failure metrics on transport round trip errors in
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp. (#7146)
Removed
- The deprecated
StreamServerInterceptorfunction fromgo.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpcis removed. (#7362)
What's Changed
- chore: log bridges move benchmarks to bench_test.go files by @pellared in #7351
- fix(deps): update aws-sdk-go-v2 monorepo by @renovate in #7355
- chore(deps): update module github.com/jgautheron/goconst to v1.8.2 by @renovate in #7357
- chore(deps): update module github.com/ebitengine/purego to v0.8.4 by @renovate in #7354
- chore(deps): update module github.com/protonmail/go-crypto to v1.3.0 by @renovate in #7358
- chore(deps): update module github.com/santhosh-tekuri/jsonschema/v6 to v6.0.2 by @renovate in #7360
- chore(deps): update module github.com/sashamelentyev/usestdlibvars to v1.29.0 by @renovate in #7363
- fix(deps): update module google.golang.org/grpc to v1.72.2 by @renovate in #7365
- Upgrade semconv to 1.32.0 in otelgrpc by @MrAlias in #7361
- chore(deps): update module github.com/golangci/plugin-module-register to v0.1.2 by @renovate in #7369
- chore(deps): update module github.com/ugorji/go/codec to v1.2.14 by @renovate in #7370
- chore(deps): update otel/opentelemetry-collector-contrib docker tag to v0.127.0 by @renovate in #7371
- fix(otelzap): write core.ctx only when init by @okhowang in #7368
- chore(deps): update module github.com/abirdcfly/dupword to v0.1.5 by @renovate in #7379
- Removed deprecated
StreamServerInterceptorfunction from otelgrpc by @sonalgaud12 in #7362 - fix(deps): update module github.com/go-logr/logr to v1.4.3 by @renovate in #7381
- chore(deps): update golang.org/x/telemetry digest to b2b9eea by @renovate in #7391
- Upgrade semconv to v1.32.0 in detectors/aws/ec2 by @MrAlias in #7373
- Upgrade semconv to v1.32.0 in detectors/aws/lambda by @MrAlias in #7376
- Upgrade semconv to 1.32.0 in detectors/aws/ecs by @MrAlias in #7374
- Upgrade semconv to v1.32.0 in detectors/gcp by @MrAlias in #7378
- Fix changelog entry for #7361 by @MrAlias in #7388
- chore(deps): update module github.com/goccy/go-yaml to v1.18.0 by @renovate in #7397
- ...
Release v1.36.0/v0.61.0/v0.30.0/v0.16.0/v0.11.0/v0.9.0/v0.8.0
Overview
Added
http.routeattribute to otelhttp server request spans, whennet/http.Request.Patternis set in the modules below. (#6905, #6937)go.opentelemetry.io/contrib/instrumentation/github.com/emicklei/go-restful/otelrestfulgo.opentelemetry.io/contrib/instrumentation/github.com/gin-gonic/gin/otelgingo.opentelemetry.io/contrib/instrumentation/github.com/gorilla/mux/otelmuxgo.opentelemetry.io/contrib/instrumentation/github.com/labstack/echo/otelechogo.opentelemetry.io/contrib/instrumentation/net/http/otelhttp
- Add
WithAttributesoption to set instrumentation scope attributes on the createdlog.Loggeringo.opentelemetry.io/contrib/bridges/otelzap. (#6962) - Add
WithAttributesoption to set instrumentation scope attributes on the createdlog.Loggeringo.opentelemetry.io/contrib/bridges/otelslog. (#6965) - Add
WithAttributesoption to set instrumentation scope attributes on the createdlog.Loggeringo.opentelemetry.io/contrib/bridges/otellogrus. (#6966) - Add
WithAttributesoption to set instrumentation scope attributes on the createdlog.Loggeringo.opentelemetry.io/contrib/bridges/otellogr. (#6967) - Add the
WithGinMetricAttributesoption to allow setting dynamic, per-request metric attributes based on*gin.Contextingo.opentelemetry.io/contrib/instrumentation/github.com/gin-gonic/gin/otelgin. (#6932) - Use Gin's own
ClientIPmethod to detect the client's IP, which supports custom proxy headers ingo.opentelemetry.io/contrib/instrumentation/github.com/gin-gonic/gin/otelgin. (#6095) - Added test for Fields in
go.opentelemetry.io/contrib/propagators/jaeger. (#7119) - Allow configuring samplers in
go.opentelemetry.io/contrib/otelconf. (#7148) - Slog log bridge now sets
SeverityTextattribute using source value ingo.opentelemetry.io/contrib/bridges/otelslog. (#7198) - Add
http.routemetric attribute ingo.opentelemetry.io/contrib/instrumentation/github.com/gin-gonic/gin/otelgin. (#7275) - Add the
WithSpanStartOptionsoption to add custom options to new spansgo.opentelemetry.io/contrib/instrumentation/github.com/gin-gonic/gin/otelgin. (#7261) - Add instrumentation support for
go.mongodb.org/mongo-driver/v2ingo.opentelemetry.io/contrib/instrumentation/go.mongodb.org/mongo-driver/v2/mongo/otelmongo. (#6539) - Rerun the span name formatter after the request ran if a
req.Patternis set, so the span name can include it ingo.opentelemetry.io/contrib/instrumentation/net/http/otelhttp. (#7192)
Changed
-
Jaeger remote sampler's probabilistic strategy now uses the same sampling algorithm as
trace.TraceIDRatioBasedingo.opentelemetry.io/contrib/samplers/jaegerremote. (#6892) -
Switched the default for
OTEL_SEMCONV_STABILITY_OPT_INto emit the v1.26.0 semantic conventions by default in the following modules.go.opentelemetry.io/contrib/instrumentation/github.com/emicklei/go-restful/otelrestfulgo.opentelemetry.io/contrib/instrumentation/github.com/gin-gonic/gin/otelgingo.opentelemetry.io/contrib/instrumentation/github.com/gorilla/mux/otelmuxgo.opentelemetry.io/contrib/instrumentation/github.com/labstack/echo/otelechogo.opentelemetry.io/contrib/instrumentation/net/http/httptrace/otelhttptracego.opentelemetry.io/contrib/instrumentation/net/http/otelhttp
TheOTEL_SEMCONV_STABILITY_OPT_IN=http/dupenvironment variable can be still used to emit both the v1.20.0 and v1.26.0 semantic conventions.
It is however impossible to emit only the 1.20.0 semantic conventions, as the next release will drop support for that environment variable. (#6899)
-
Improve performance by reducing allocations for http request when using
OTEL_SEMCONV_STABILITY_OPT_IN=http/dupin the modules below. (#7180)go.opentelemetry.io/contrib/instrumentation/github.com/emicklei/go-restful/otelrestfulgo.opentelemetry.io/contrib/instrumentation/github.com/gin-gonic/gin/otelgingo.opentelemetry.io/contrib/instrumentation/github.com/gorilla/mux/otelmuxgo.opentelemetry.io/contrib/instrumentation/github.com/labstack/echo/otelechogo.opentelemetry.io/contrib/instrumentation/net/http/httptrace/otelhttptracego.opentelemetry.io/contrib/instrumentation/net/http/otelhttp
-
Update the Jaeger remote sampler to use "github.com/jaegertracing/jaeger-idl/proto-gen/api_v2" in
go.opentelemetry.io/contrib/samplers/jaegerremote. (#7061) -
Improve performance by reducing allocations in the gRPC stats handler in
go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc. (#7186) -
Update
http.routeattribute to supportrequest.Patterningo.opentelemetry.io/contrib/instrumentation/github.com/gorilla/mux/otelmux. (#7108) -
Change the default span name to be
GET /pathso it complies with the HTTP semantic conventions ingo.opentelemetry.io/contrib/instrumentation/github.com/gin-gonic/gin/otelgin. (#6381) -
Set
url.schemeattribute to the request URL.Scheme when possible for HTTP client metrics ingo.opentelemetry.io/contrib/instrumentation/net/http/otelhttp. (#6938) -
The semantic conventions have been upgraded from
v1.17.0tov1.30.0ingo.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc. (#7270)- All
net.peer.*andnet.host.*attributes are now set to correctserver.*attributes. - No
net.socket.*attributes are set.
- All
-
Only sample spans when
Sampled=1ingo.opentelemetry.io/contrib/propagators/aws/xray. (#7318)
Fixed
- Record request duration in seconds rather than milliseconds for semconv v1.26.0, per the specifications in the following packages. (#6942)
go.opentelemetry.io/contrib/instrumentation/github.com/emicklei/go-restful/otelrestfulgo.opentelemetry.io/contrib/instrumentation/github.com/gin-gonic/gin/otelgingo.opentelemetry.io/contrib/instrumentation/github.com/gorilla/mux/otelmuxgo.opentelemetry.io/contrib/instrumentation/github.com/labstack/echo/otelechogo.opentelemetry.io/contrib/instrumentation/net/http/httptrace/otelhttptracego.opentelemetry.io/contrib/instrumentation/net/http/otelhttp
- Cleaned up indentations under
Unreleased/Fixedof./CHANGELOG.md. (#7163) - Removed a duplicate instance of the
Changedsubheader under1.18.0/0.43.0/0.12.0in./CHANGELOG.md. (#7163) - Check for TLS related options to be set before creating TLS config
go.opentelemetry.io/contrib/otelconf. (#6984) - Fixed handling of the
OTEL_SEMCONV_STABILITY_OPT_INenvironment variable ingo.opentelemetry.io/contrib/instrumentation/github.com/gin-gonic/gin/otelgin. (#7215) - Support mixed categories for
OTEL_SEMCONV_STABILITY_OPT_INopt-in in the following packages. (#7246)go.opentelemetry.io/contrib/instrumentation/github.com/emicklei/go-restful/otelrestful.go.opentelemetry.io/contrib/instrumentation/gin-gonic/gin/otelgin.go.opentelemetry.io/contrib/instrumentation/gorilla/mux/otelmux.go.opentelemetry.io/contrib/instrumentation/go.mongodb.org/mongo-driver/mongo/otelmongo.go.opentelemetry.io/contrib/instrumentation/net/http/httptrace/otelhttptrace.go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp.
Removed
- Drop support for [Go 1.22]. (#6853)
- The deprecated
go.opentelemetry.io/contrib/configpackage is removed, usego.opentelemetry.io/contrib/otelconfinstead. (#6894) - The deprecated
SemVersionfunction is removed ingo.opentelemetry.io/contrib/instrumentation/github.com/aws/aws-lambda-go/otellambda, useVersionfunction instead. (#7058) - The deprecated
SemVersionfunction ingo.opentelemetry.io/contrib/samplers/probability/consistentis removed, useVersioninstead. (#7072) - The deprecated
SemVersionfunction is removed ingo.opentelemetry.io/contrib/instrumentation/github.com/aws/aws-sdk-go-v2/otelaws/testpackage, useVersioninstead. (#7077) - The deprecated
SemVersionfunction is removed ingo.opentelemetry.io/contrib/instrumentation/github.com/gorilla/mux/otelmux, useVersionfunction instead. (#7084) - The deprecated
SemVersionfunction is removed ingo.opentelemetry.io/contrib/instrumentation/github.com/gin-gonic/gin/otelgin, useVersionfunction instead. (#7085) - The deprecated
SemVersionfunction is removed ingo.opentelemetry.io/contrib/instrumentation/go.mongodb.org/mongo-driver/mongo/otelmongo/test, useVersionfunction instead. (#7142) - The deprecated
SemVersionfunction is removed ingo.opentelemetry.io/contrib/instrumentation/github.com/gorilla/mux/otelmux/test, useVersionfunction instead. (#7086) - The deprecated
SemVersionfunction is removed ingo.opentelemetry.io/contrib/instrumentation/go.mongodb.org/mongo-driver/mongo/otelmongo, useVersionfunction instead. (#7140) - The deprecated
SemVersionfunction is removed ingo.opentelemetry.io/contrib/instrumentation/github.com/gin-gonic/gin/otelgin/test, useVersionfunction instead. (#7087) - The deprecated
SemVersionfunction is removed ingo.opentelemetry.io/contrib/instrumentation/github.com/labstack/echo/otelecho, useVersionfunction instead. (#7089) - The deprecated
SemVersionfunction is removed ingo.opentelemetry.io/contrib/instrumentation/github.com/labstack/echo/otelecho/test, useVersionfunction instead. (#7090) - The deprecated
SemVersionfunction is removed ingo.opentelemetry.io/contrib/instrumentation/github.com/emicklei/go-restful/otelrestful, useVersionfunction instead. (#7091) - The deprecated
SemVersionfunction is removed ingo.opentelemetry.io/contrib/instrumentation/github.com/emicklei/go-restful/otelrestful/test, useVersionfunction instead. (#70...
Release v1.35.0/v0.60.0/v0.29.0/v0.15.0/v0.10.0/v0.8.0/v0.7.0
Overview
This release is the last to support Go 1.22.
The next release will require at least Go 1.23.
Warning
This is the last version to use Semantic Conventions v1.20.0 for HTTP libraries
by default. The next version (0.61.0) will default to v1.26.0, and the
following one (0.62.0) will drop support for Semantic Conventions v1.20.0
You can switch to the new Semantic Conventions right now by setting the
OTEL_SEMCONV_STABILITY_OPT_IN=http/dup environment variable in your
application.
See also the HTTP semantic conventions stability
migration
Added
- Add support for configuring
ClientCertificateandClientKeyfield for OTLP exporters ingo.opentelemetry.io/contrib/config. (#6378) - Add
WithAttributeBuilder,AttributeBuilder,DefaultAttributeBuilder,DynamoDBAttributeBuilder,SNSAttributeBuilderto support adding attributes based on SDK input and output ingo.opentelemetry.io/contrib/instrumentation/github.com/aws/aws-sdk-go-v2/otelaws. (#6543) - Support for the
OTEL_SEMCONV_STABILITY_OPT_IN=http/dupenvironment variable ingo.opentelemetry.io/contrib/instrumentation/github.com/gorilla/mux/otelmuxto emit attributes for both the v1.20.0 and v1.26.0 semantic conventions. (#6652) - Added the
WithMeterProvideroption to allow passing a custom meter provider togo.opentelemetry.io/contrib/instrumentation/github.com/gorilla/mux/otelmux. (#6648) - Added the
WithMetricAttributesFnoption to allow setting dynamic, per-request metric attributes ingo.opentelemetry.io/contrib/instrumentation/github.com/gorilla/mux/otelmux. (#6648) - Added metrics support, and emit all stable metrics from the Semantic Conventions in
go.opentelemetry.io/contrib/instrumentation/github.com/gorilla/mux/otelmux. (#6648) - Add support for configuring
Insecurefield for OTLP exporters ingo.opentelemetry.io/contrib/config. (#6658) - Support for the
OTEL_SEMCONV_STABILITY_OPT_IN=http/dupenvironment variable ininstrumentation/net/http/httptrace/otelhttptraceto emit attributes for both the v1.20.0 and v1.26.0 semantic conventions. (#6720) - Support for the
OTEL_SEMCONV_STABILITY_OPT_IN=http/dupenvironment variable ininstrumentation/github.com/emicklei/go-restful/otelrestfulto emit attributes for both the v1.20.0 and v1.26.0 semantic conventions. (#6710) - Added metrics support, and emit all stable metrics from the Semantic Conventions in
go.opentelemetry.io/contrib/instrumentation/github.com/gin-gonic/gin/otelgin. (#6747) - Support for the
OTEL_SEMCONV_STABILITY_OPT_IN=http/dupenvironment variable ingo.opentelemetry.io/contrib/instrumentation/github.com/gin-gonic/gin/otelginto emit attributes for both the v1.20.0 and v1.26.0 semantic conventions. (#6778) - Support
OTEL_SEMCONV_STABILITY_OPT_INto emit telemetry following bothgo.opentelemetry.io/otel/semconv/v1.21.0(default) andgo.opentelemetry.io/otel/semconv/v1.26.0(opt-in) ingo.opentelemetry.io/contrib/instrumentation/go.mongodb.org/mongo-driver/mongo/otelmongoper the Database semantic convention stability migration guide. (#6172) - Support Go 1.24. (#6765)
- Add support for configuring
HeadersListfield for OTLP exporters ingo.opentelemetry.io/contrib/config. (#6657) - Add
go.opentelemetry.io/contrib/otelconfmodule which is a replacement forgo.opentelemetry.io/contrib/config. (#6796) - Added
WithFallbackLogExporterto allow setting a fallback log exporter whenOTEL_LOGS_EXPORTERis unset ingo.opentelemetry.io/contrib/exporters/autoexport. (#6844)
Changed
- Add custom attribute to the span after execution of the SDK rather than before in
go.opentelemetry.io/contrib/instrumentation/github.com/aws/aws-sdk-go-v2/otelaws. (#6543) - The
code.functionattribute emitted bygo.opentelemetry.io/contrib/bridges/otelslognow stores the package path-qualified function name instead of just the function name.
Thecode.namespaceattribute is no longer added. (#6870) - The
code.functionattribute emitted bygo.opentelemetry.io/contrib/bridges/otelzapnow stores the package path-qualified function name instead of just the function name.
Thecode.namespaceattribute is no longer added. (#6870) - Improve performance by reducing allocations for common request protocols in the modules below. (#6845)
go.opentelemetry.io/contrib/instrumentation/github.com/emicklei/go-restful/otelrestfulgo.opentelemetry.io/contrib/instrumentation/github.com/gin-gonic/gin/otelgingo.opentelemetry.io/contrib/instrumentation/github.com/gorilla/mux/otelmuxgo.opentelemetry.io/contrib/instrumentation/github.com/labstack/echo/otelechogo.opentelemetry.io/contrib/instrumentation/net/http/httptrace/otelhttptracego.opentelemetry.io/contrib/instrumentation/net/http/otelhttp
Deprecated
- Deprecate
WithAttributeSetter,AttributeSetter,DefaultAttributeSetter,DynamoDBAttributeSetter,SNSAttributeSetterin favor ofWithAttributeBuilder,AttributeBuilder,DefaultAttributeBuilder,DynamoDBAttributeBuilder,SNSAttributeBuilderingo.opentelemetry.io/contrib/instrumentation/github.com/aws/aws-sdk-go-v2/otelaws. (#6543) - Deprecate
go.opentelemetry.io/contrib/configmodule in favor ofgo.opentelemetry.io/contrib/otelconf. This is the last release of this module. (#6796)
Fixed
- Use
context.Background()as default context instead of nil ingo.opentelemetry.io/contrib/bridges/otellogr. (#6527) - Convert Prometheus histogram buckets to non-cumulative otel histogram buckets in
go.opentelemetry.io/contrib/bridges/prometheus. (#6685) - Don't start spans that never end for filtered out gRPC stats handler in
go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc. (#6695) - Fix a possible nil dereference panic in
NewSDKofgo.opentelemetry.io/contrib/config/v0.3.0. (#6752) - Fix prometheus endpoint with an IPv6 address in
go.opentelemetry.io/contrib/config. (#6815)
What's Changed
- chore(deps): update golang.org/x/telemetry digest to 04cd7ba by @renovate in #6642
- fix(deps): update aws-sdk-go-v2 monorepo by @renovate in #6643
- chore(deps): update module github.com/cloudwego/base64x to v0.1.5 by @renovate in #6647
- config: add tests for socket endpoint by @dmathieu in #6636
- otellogr: Fix nil context panic by @flc1125 in #6527
- config: add support for extra TLS configuration by @mattsains in #6378
- chore(deps): update module github.com/grpc-ecosystem/grpc-gateway/v2 to v2.26.0 by @renovate in #6655
- chore(deps): update module github.com/pjbgf/sha1cd to v0.3.2 by @renovate in #6656
- fix(deps): update module github.com/aws/aws-sdk-go-v2/service/sns to v1.33.14 by @renovate in #6659
- chore(deps): update dependency codespell to v2.4.0 by @renovate in #6660
- fix(deps): update module github.com/aws/smithy-go to v1.22.2 by @renovate in #6661
- chore(deps): update otel/opentelemetry-collector-contrib docker tag to v0.118.0 by @renovate in #6662
- chore(deps): update module go.opentelemetry.io/build-tools to v0.17.0 by @renovate in #6666
- fix(deps): update googleapis to 138b5a5 by @renovate in #6664
- chore(deps): update codecov/codecov-action action to v5.2.0 by @renovate in #6665
- fix(deps): update module github.com/aws/aws-sdk-go-v2/service/s3 to v1.74.0 by @renovate in #6667
- fix(deps): update module go.opentelemetry.io/build-tools/crosslink to v0.17.0 by @renovate in #6668
- fix(deps): update module go.opentelemetry.io/build-tools/gotmpl to v0.17.0 by @renovate in #6669
- chore: Group renovate build-tools update by @MrAlias in #6670
- fix(deps): update module go.opentelemetry.io/build-tools/multimod to v0.17.0 by @renovate in #6674
- chore(deps): update module github.com/go-git/go-git/v5 to v5.13.2 by @renovate in #6672
- Count code owners approvals towards the two required approvals by @dmathieu in #6675
- chore(deps): update codecov/codecov-action action to...
Release v1.34.0/v0.59.0/v0.28.0/v0.14.0/v0.9.0/v0.7.0/v0.6.0
Overview
Added
- Generate server metrics with semantic conventions
v1.26.0ingo.opentelemetry.io/contrib/instrumentation/net/http/otelhttpwhenOTEL_SEMCONV_STABILITY_OPT_INis set tohttp/dup. (#6411) - Generate client metrics with semantic conventions
v1.26.0ingo.opentelemetry.io/contrib/instrumentation/net/http/otelhttpwhenOTEL_SEMCONV_STABILITY_OPT_INis set tohttp/dup. (#6607)
Fixed
- Fix error logged by Jaeger remote sampler on empty or unset
OTEL_TRACES_SAMPLER_ARGenvironment variable (#6511) - Relax minimum Go version to 1.22.0 in various modules. (#6595)
NewSDKhandles emptyOpenTelemetryConfiguration.Resourceproperly ingo.opentelemetry.io/contrib/config/v0.3.0. (#6606)- Fix a possible nil dereference panic in
NewSDKofgo.opentelemetry.io/contrib/config/v0.3.0. (#6606)
What's Changed
- fix(deps): update module google.golang.org/grpc to v1.69.0 by @renovate in #6438
- [chore] Update go.opentelemetry.io/contrib packages in example/dice/instrumented by @MrAlias in #6439
- chore(deps): update k8s.io/kube-openapi digest to 2c72e55 by @renovate in #6445
- [chore] Add test coverage of version.go files by @MrAlias in #6443
- [chore] Have renovate update our tools dependencies by @MrAlias in #6444
- chore(deps): update module golang.org/x/crypto to v0.31.0 [security] by @renovate in #6429
- fix(deps): update module cloud.google.com/go/compute/metadata to v0.6.0 by @renovate in #6447
- chore(deps): update github.com/golang/groupcache digest to 2c02b82 by @renovate in #6449
- chore(deps): update github.com/matoous/godox digest to 94d1edd by @renovate in #6450
- chore(deps): update github.com/burntsushi/toml digest to b7406c0 by @renovate in #6448
- chore(deps): update github.com/timakin/bodyclose digest to adbc21e by @renovate in #6451
- [chore] Remove the renovate update for otel go by @XSAM in #6436
- chore(deps): update golang.org/x by @renovate in #6452
- chore(deps): update mvdan.cc/unparam digest to 57a3b42 by @renovate in #6453
- chore(deps): update module dario.cat/mergo to v1.0.1 by @renovate in #6454
- chore(deps): update module github.com/microsoft/go-winio to v0.6.2 by @renovate in #6460
- chore(deps): update module github.com/masterminds/semver/v3 to v3.3.1 by @renovate in #6459
- chore(deps): update module github.com/butuzov/ireturn to v0.3.1 by @renovate in #6455
- chore(deps): update module github.com/go-xmlfmt/xmlfmt to v1.1.3 by @renovate in #6456
- chore(deps): update module github.com/jjti/go-spancheck to v0.6.4 by @renovate in #6457
- chore(deps): update module github.com/ckaznocha/intrange to v0.3.0 by @renovate in #6466
- chore(deps): update module github.com/magiconair/properties to v1.8.9 by @renovate in #6458
- chore(deps): update module github.com/butuzov/mirror to v1.3.0 by @renovate in #6464
- chore(deps): update module github.com/goccy/go-yaml to v1.15.10 by @renovate in #6473
- chore(deps): update module github.com/go-git/go-billy/v5 to v5.6.0 by @renovate in #6472
- chore(deps): update module github.com/cespare/xxhash/v2 to v2.3.0 by @renovate in #6465
- chore(deps): update module github.com/ldez/gomoddirectives to v0.6.0 by @renovate in #6475
- chore(deps): update module github.com/prometheus/client_golang to v1.20.5 by @renovate in #6478
- chore(deps): update module github.com/ashanbrown/makezero to v1.2.0 by @renovate in #6463
- chore(deps): update module github.com/cloudflare/circl to v1.5.0 by @renovate in #6467
- chore(deps): update module github.com/curioswitch/go-reassign to v0.3.0 by @renovate in #6468
- chore(deps): update module github.com/cyphar/filepath-securejoin to v0.3.5 by @renovate in #6469
- chore(deps): update module github.com/sanposhiho/wastedassign/v2 to v2.1.0 by @renovate in #6484
- chore(deps): update module github.com/mailru/easyjson to v0.9.0 by @renovate in #6483
- chore(deps): update module github.com/sagikazarmark/locafero to v0.6.0 by @renovate in #6482
- chore(deps): update module github.com/spf13/cast to v1.7.0 by @renovate in #6486
- chore(deps): update module github.com/tdakkota/asciicheck to v0.3.0 by @renovate in #6488
- chore(deps): update module github.com/djarvur/go-err113 to v0.1.0 by @renovate in #6470
- chore(deps): update module github.com/tomarrell/wrapcheck/v2 to v2.10.0 by @renovate in #6490
- chore(deps): update module github.com/stbenjam/no-sprintf-host-port to v0.2.0 by @renovate in #6487
- chore(deps): update module github.com/prometheus/common to v0.61.0 by @renovate in #6479
- chore(deps): update module github.com/uudashr/iface to v1.3.0 by @renovate in #6493
- chore(deps): update module github.com/uudashr/gocognit to v1.2.0 by @renovate in #6492
- chore(deps): update module github.com/skeema/knownhosts to v1.3.0 by @renovate in #6485
- chore(deps): update module github.com/protonmail/go-crypto to v1.1.3 by @renovate in #6480
- chore(deps): update module github.com/fsnotify/fsnotify to v1.8.0 by @renovate in #6471
- chore(deps): update module github.com/alecthomas/go-check-sumtype to v0.3.1 by @renovate in #6489
- fix(deps): update golang.org/x to 4a55095 by @renovate in #6481
- chore(deps): update module github.com/bytedance/sonic to v1.12.6 by @renovate in #6491
- chore(deps): update module github.com/gostaticanalysis/comment to v1.5.0 by @renovate in #6474
- feat(otelhttp): generate New Server Metrics in
otelhttpby @flc1125 in #6411 - chore(deps): update module github.com/antonboom/nilnil to v1.0.1 by @renovate in #6499
- fix(deps): update module google.golang.org/protobuf to v1.36.0 by @renovate in #6501
- chore(deps): update golang.org/x/telemetry digest to 738f4b2 by @renovate in #6498
- fix(deps): update googleapis to 9240e9c by @renovate in #6500
- chore(deps): update module github.com/cyphar/filepath-securejoin to v0.3.6 by @renovate in #6502
- fix(deps): update golang.org/x to b2144cd by @renovate in #6503
- chore(deps): update otel/opentelemetry-collector-contrib docker tag to v0.116.0 by @renovate in #6505
- chore(deps): update otel/opentelemetry-collector-contrib docker tag to v0.116.1 by @renovate in #6506
- chore(deps): update module github.com/goccy/go-yaml to v1.15.11 by @renovate in https://github.com/open-telemetry/opentelem...