Skip to content

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

07 Apr 08:58
Immutable release. Only release title and notes can be modified.
v1.43.0
45977a4

Choose a tag to compare

Added

  • Add Resource method to SDK in go.opentelemetry.io/contrib/otelconf/v0.3.0 to expose the resolved SDK resource from declarative configuration. (#8660)
  • Add support to set the configuration file via OTEL_CONFIG_FILE in go.opentelemetry.io/contrib/otelconf. (#8639)
  • Add support for service resource detector in go.opentelemetry.io/contrib/otelconf. (#8674)
  • Add support for attribute_count_limit and attribute_value_length_limit in tracer provider configuration in go.opentelemetry.io/contrib/otelconf. (#8687)
  • Add support for attribute_count_limit and attribute_value_length_limit in logger provider configuration in go.opentelemetry.io/contrib/otelconf. (#8686)
  • Add support for server.address and server.port attributes in go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc. (#8723)
  • Add support for OTEL_SEMCONV_STABILITY_OPT_IN in go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc. Supported values are rpc (default), rpc/dup and rpc/old. (#8726)
  • Add the http.route metric attribute to go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp. (#8632)

Changed

  • Prepend _ to the normalized environment variable name when the key starts with a digit in go.opentelemetry.io/contrib/propagators/envcar, ensuring POSIX compliance. (#8678)
  • Move experimental types from go.opentelemetry.io/contrib/otelconf to go.opentelemetry.io/contrib/otelconf/x. (#8529)
  • Normalize cached environment variable names in go.opentelemetry.io/contrib/propagators/envcar, aligning Carrier.Keys output with the carrier's normalized key format. (#8761)

Fixed

  • Fix go.opentelemetry.io/contrib/otelconf Prometheus reader converting OTel dot-style label names (e.g. service.name) to underscore-style (service_name) in target_info when both without_type_suffix and without_units are set. Use NoTranslation instead of UnderscoreEscapingWithoutSuffixes to 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.address and server.port attributes in go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc. (#8723)

Removed

  • Host ID resource detector has been removed when configuring the host resource detector in go.opentelemetry.io/contrib/otelconf. (#8581)

Deprecated

  • Deprecate OTEL_EXPERIMENTAL_CONFIG_FILE in favour of OTEL_CONFIG_FILE in go.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.Route by @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...
Read more

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

06 Mar 20:33
Immutable release. Only release title and notes can be modified.
v1.42.0
d8dabf6

Choose a tag to compare

Added

  • Add environment variables propagation carrier in go.opentelemetry.io/contrib/propagators/envcar. (#8442)

Changed

  • Upgrade go.opentelemetry.io/otel/semconv to v1.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, or network.transport attributes.
      • rpc.client.request.size, rpc.client.response.size, rpc.server.request.size, and rpc.server.response.size are no longer emitted in go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc.
      • rpc.message span events and their message attributes are no longer emitted in go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc (including when WithMessageEvents is configured).

    See semantic-conventions v1.40.0 release for complete details.

Fixed

  • Ignore informational response status codes (100-199) except 101 Switching Protocols when storing the HTTP status code in go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp and go.opentelemetry.io/contrib/instrumentation/github.com/gorilla/mux/otelmux. (#6913)
  • Make Body handling in Transport consistent with stdlib in go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp. (#8618)
  • Fix bucket boundaries for rpc.server.call.duration and rpc.client.call.duration in go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc. (#8642)
  • Host resource detector in go.opentelemetry.io/contrib/otelconf now includes os. 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.0 by @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

02 Mar 21:19
Immutable release. Only release title and notes can be modified.
v1.41.0
07fa424

Choose a tag to compare

This release is the last to support Go 1.24.
The next release will require at least Go 1.25.

Added

  • Add WithSpanKind option in go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc to override the default span kind. (#8506)
  • Add const Version in go.opentelemetry.io/contrib/bridges/otelzap. (#8544)
  • Support testing of Go 1.26. (#8549)
  • Add const Version in go.opentelemetry.io/contrib/detectors/autodetect. (#8555)
  • Add const Version in go.opentelemetry.io/contrib/detectors/azure/azurevm. (#8553)
  • Add const Version in go.opentelemetry.io/contrib/processors/baggagecopy. (#8557)
  • Add const Version in go.opentelemetry.io/contrib/detectors/aws/lambda. (#8510)
  • Add const Version in go.opentelemetry.io/contrib/propagators/autoprop. (#8488)
  • Add const Version in go.opentelemetry.io/contrib/processors/minsev. (#8590)
  • Add const Version in go.opentelemetry.io/contrib/exporters/autoexport. (#8612)

Fixed

  • Change the rpc.server.call.duration metric value from milliseconds to seconds in go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc. (#8509)
  • Change the rpc.response.status_code attribute to the canonical UPPER_SNAKE_CASE format in go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc. (#8565)
  • Enforce that client_certificate_file and client_key_file are provided together in go.opentelemetry.io/contrib/otelconf. (#8450)
  • Fix broken CSS and JavaScript CDN URLs in go.opentelemetry.io/contrib/zpages by 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/semconv packages. (#8511)
    Updated modules include:
    • go.opentelemetry.io/contrib/instrumentation/github.com/emicklei/go-restful/otelrestful
    • go.opentelemetry.io/contrib/instrumentation/github.com/gin-gonic/gin/otelgin
    • go.opentelemetry.io/contrib/instrumentation/github.com/gorilla/mux/otelmux
    • go.opentelemetry.io/contrib/instrumentation/github.com/labstack/echo/otelecho
    • go.opentelemetry.io/contrib/instrumentation/net/http/httptrace/otelhttptrace
    • go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp
  • Update the configuration schema used in go.opentelemetry.io/contrib/otelconf to rc.3. (#8505)

Deprecated

  • WithMetricAttributesFn in go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp is deprecated and will be removed in a future release. Use Labeler instead. (#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 elapsedTime records 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...
Read more

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

02 Feb 19:20
Immutable release. Only release title and notes can be modified.
v1.40.0
a89d958

Choose a tag to compare

Overview

Added

  • WithMetricAttributesFn option in go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc to define dynamic attributes on auto-instrumented metrics. (#8191)
  • Add support for configuring propagators in go.opentelemetry.io/contrib/otelconf. (#8281)
  • Add const Version in go.opentelemetry.io/contrib/bridges/prometheus. (#8401)
  • Add const Version in go.opentelemetry.io/contrib/otelconf. (#8461)
  • Add const Version in go.opentelemetry.io/contrib/bridges/otellogr. (#8477)
  • Add const Version in go.opentelemetry.io/contrib/bridges/otellogrus. (#8485)
  • Add const Version in go.opentelemetry.io/contrib/bridges/otelslog. (#8480)

Fixed

  • Fix panic when passing nil TracerProvider or MeterProvider to WithTracerProvider or WithMeterProvider in go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc. (#8323)
  • Transport in go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp now supports reading request body multiple times for subsequent requests that reuse http.Request. (#8352)

Changed

  • The Version() function in go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp has been replaced by const Version. (#8142)
  • The Version() function in go.opentelemetry.io/contrib/instrumentation/net/http/httptrace/otelhttptrace has been replaced by const Version. (#8302)
  • The Version() function in go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc has been replaced by const Version. (#8317)
  • The Version() function in go.opentelemetry.io/contrib/zpages has been replaced by const Version. (#8325)
  • The Version() function in go.opentelemetry.io/contrib/instrumentation/go.mongodb.org/mongo-driver/mongo/otelmongo has been replaced by const Version. (#8340)
  • The Version() function in go.opentelemetry.io/contrib/instrumentation/github.com/gin-gonic/gin/otelgin has been replaced by const Version. (#8341)
  • The Version() function in go.opentelemetry.io/contrib/instrumentation/runtime has been replaced by const Version string. (#8349)
  • The Version() function in go.opentelemetry.io/contrib/instrumentation/github.com/aws/aws-sdk-go-v2/otelaws has been replaced by const Version. (#8356)
  • The Version() function in go.opentelemetry.io/contrib/instrumentation/github.com/aws/aws-lambda-go/otellambda has been replaced by const Version. (#8357)
  • The Version() function in go.opentelemetry.io/contrib/instrumentation/host has been replaced by const Version. (#8358)
  • The Version() function in go.opentelemetry.io/contrib/instrumentation/github.com/emicklei/go-restful/otelrestful has been replaced by const Version. (#8360)
  • The Version() function in go.opentelemetry.io/contrib/propagators/opencensus has been replaced by const Version. (#8361)
  • The Version() function in go.opentelemetry.io/contrib/instrumentation/github.com/labstack/echo/otelecho has been replaced by const Version. (#8365)
  • The Version() function in go.opentelemetry.io/contrib/samplers/probability/consistent has been replaced by const Version. (#8366)
  • The Version() function in go.opentelemetry.io/contrib/instrumentation/go.mongodb.org/mongo-driver/v2/mongo/otelmongo has been replaced by const Version. (#8370)
  • Set error.type attribute instead of adding exception span events in go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp. (#8386)
  • Set error.type attribute instead of adding exception span events in go.opentelemetry.io/contrib/instrumentation/github.com/aws/aws-sdk-go-v2/otelaws. (#8386)
  • Upgrade go.opentelemetry.io/otel/semconv to v1.39.0, including updates across all instrumentation and detector modules. (#8404)
    • The semantic conventions v1.39.0 release introduces breaking changes, including:

      • rpc span and metric attributes have been renamed to align with naming guidelines:
        • rpc.systemrpc.system.name (values: grpc, grpc_web, connectrpc, thrift, dubbo, etc.)
        • rpc.method and rpc.service have been merged into a fully-qualified rpc.method attribute
        • rpc.client|server.durationrpc.client|server.call.duration (unit changed to seconds)
        • rpc.grpc.request.metadata/rpc.grpc.response.metadatarpc.request.metadata/rpc.response.metadata
        • rpc.grpc.status_code → deprecated in favor of rpc.response.status_code
        • rpc.jsonrpc.request_idjsonrpc.request.id
        • rpc.jsonrpc.versionjsonrpc.protocol.version
      • system and process metrics:
        • *.linux.memory metrics renamed to *.memory.linux
        • system.process.statusprocess.state
        • system.paging.type and process.paging.fault_typesystem.paging.fault.type
      • peer.service attribute has been deprecated in favor of service.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/otellogr
      • go.opentelemetry.io/contrib/bridges/otellogrus
      • go.opentelemetry.io/contrib/bridges/otelslog
      • go.opentelemetry.io/contrib/bridges/otelzap
      • go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp
        • Uses service.peer.name attribute (deprecated peer.service)
      • go.opentelemetry.io/contrib/instrumentation/net/http/httptrace/otelhttptrace
      • go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc
        • Merged rpc.method and rpc.service into fully-qualified rpc.method (e.g., grpc.testing.TestService/EmptyCall)
        • rpc.systemrpc.system.name with updated values (e.g., RPCSystemNameGRPC)
        • rpc.grpc.status_coderpc.response.status_code (e.g., RPCResponseStatusCode("OK"))
      • go.opentelemetry.io/contrib/instrumentation/github.com/aws/aws-sdk-go-v2/otelaws
        • Merged rpc.method and rpc.service attributes (service/operation → fully-qualified method)
        • rpc.systemrpc.system.name with AWSSystemVal
        • New MethodAttr() function for combined service/operation attribute
      • go.opentelemetry.io/contrib/instrumentation/github.com/aws/aws-lambda-go/otellambda
      • go.opentelemetry.io/contrib/instrumentation/runtime
      • go.opentelemetry.io/contrib/instrumentation/host
      • go.opentelemetry.io/contrib/instrumentation/go.mongodb.org/mongo-driver (both v1 and v2)
      • go.opentelemetry.io/contrib/instrumentation/github.com/gin-gonic/gin/otelgin
      • go.opentelemetry.io/contrib/instrumentation/github.com/emicklei/go-restful/otelrestful
      • go.opentelemetry.io/contrib/instrumentation/github.com/labstack/echo/otelecho
      • go.opentelemetry.io/contrib/instrumentation/github.com/gorilla/mux/otelmux
      • go.opentelemetry.io/contrib/detectors/gcp
      • go.opentelemetry.io/contrib/detectors/aws/ec2/v2
      • go.opentelemetry.io/contrib/detectors/aws/ecs
      • go.opentelemetry.io/contrib/detectors/aws/eks
      • go.opentelemetry.io/contrib/detectors/azure/azurevm
      • go.opentelemetry.io/contrib/otelconf

Deprecated

  • ServiceAttr() function in go.opentelemetry.io/contrib/instrumentation/github.com/aws/aws-sdk-go-v2/otelaws is deprecated. Use MethodAttr() instead, as rpc.service has been merged into rpc.method in semantic conventions v1.39.0. (#8404)
  • OperationAttr() function in go.opentelemetry.io/contrib/instrumentation/github.com/aws/aws-sdk-go-v2/otelaws is deprecated. Use MethodAttr() instead, as rpc.service has been merged into rpc.method in semantic conventions v1.39.0. (#8404)

Removed

  • The deprecated DefaultClient, Get, Head, Post, and PostForm in go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp. Use a custom *http.Client with otelhttp.NewTransport(http.DefaultTransport) instead. (#8266)
  • The deprecated WithPublicEndpoint in go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp. Use WithPublicEndpointFn instead. (#8267)
  • The deprecated WithRouteTag in go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp. The route is already added automatically for spans. For metrics, the alternative is to use the WithMetricAttributesFn option. (#8268)

What's Changed

Read more

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

08 Dec 20:24
Immutable release. Only release title and notes can be modified.
v1.39.0
9a6a4d7

Choose a tag to compare

Overview

Added

  • ParseYAML in go.opentelemetry.io/contrib/otelconf now supports environment variables substitution in the format ${[env:]VAR_NAME[:-defaultvalue]}. (#6215)
  • Add the http.route metric attribute to go.opentelemetry.io/contrib/instrumentation/github.com/gorilla/mux/otelmux. (#7966)
  • Support db.client.operation.duration metric for go.opentelemetry.io/contrib/instrumentation/go.mongodb.org/mongo-driver/v2/mongo/otelmongo. (#7983)
  • Add a WithSpanNameFormatter option to go.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/otelecho to specify the behavior when an error occurs. (#8025)
  • Updated go.opentelemetry.io/contrib/otelconf to 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 CardinalityLimits and SpanLimits to v1.0.0 model in go.opentelemetry.io/contrib/otelconf. (#8043)
  • Add unmarshaling and validation for BatchLogRecordProcessor, BatchSpanProcessor, and PeriodicMetricReader to v1.0.0 model in go.opentelemetry.io/contrib/otelconf. (#8049)
  • Add unmarshaling and validation for TextMapPropagator to v1.0.0 model in go.opentelemetry.io/contrib/otelconf. (#8052)
  • Add jaeger.sampler.type/jaeger.sampler.param attributes for adaptive sampling support and option WithAttributesDisabled in go.opentelemetry.io/contrib/samplers/jaegerremote. (#8073)
  • Add support for OTEL_EXPERIMENTAL_CONFIG_FILE via the NewSDK function in go.opentelemetry.io/contrib/otelconf (#8106)
  • Add unmarshaling and validation for OTLPHttpExporter, OTLPGrpcExporter, OTLPGrpcMetricExporter and OTLPHttpMetricExporter to v1.0.0 model in go.opentelemetry.io/contrib/otelconf. (#8112)
  • Add unmarshaling and validation for AttributeType, AttributeNameValue, SimpleSpanProcessor, SimpleLogRecordProcessor, ZipkinSpanExporter, NameStringValuePair, InstrumentType, ExperimentalPeerInstrumentationServiceMappingElem, ExporterDefaultHistogramAggregation, PullMetricReader to v1.0.0 model in go.opentelemetry.io/contrib/otelconf. (#8127)
  • Add support for container, host, process resource detectors in go.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 ReadEvents and WriteEvents constants in go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp so they can be used in WithMessageEvents. (#8153)
  • Switched the default for OTEL_SEMCONV_STABILITY_OPT_IN to emit the v1.37.0 semantic conventions by default in go.opentelemetry.io/contrib/instrumentation/go.mongodb.org/mongo-driver/mongo/otelmongo. Use the environment variable OTEL_SEMCONV_STABILITY_OPT_IN to configure duplication with old semantic conventions if needed (i.e. OTEL_SEMCONV_STABILITY_OPT_IN="database/dup"). (#8230)

Deprecated

  • WithRouteTag in go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp is deprecated. The route is already added automatically for spans. For metrics, the alternative is to use the WithMetricAttributesFn option. (#8117)
  • WithPublicEndpoint in go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp is deprecated. Use WithPublicEndpointFn instead. (#8152)
  • DefaultClient, Get, Head, Post, and PostForm in go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp are deprecated. Use a custom *http.Client with otelhttp.NewTransport(http.DefaultTransport) instead. (#8140, #8201)

Removed

  • Drop support for Go 1.23. (#7831)
  • Remove deprecated go.opentelemetry.io/contrib/detectors/aws/ec2 module, please use go.opentelemetry.io/contrib/detectors/aws/ec2/v2 instead. (#7841)
  • Remove the deprecated Extract and Inject functions from go.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/dup flag 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...
Read more

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

29 Aug 21:02
v1.38.0
80c9316

Choose a tag to compare

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/v2 due to deprecation of github.com/aws/aws-sdk-go. (#6961)
  • Add the unit ns to deprecated runtime metrics process.runtime.go.gc.pause_total_ns and process.runtime.go.gc.pause_ns in go.opentelemetry.io/contrib/instrumentation/runtime. (#7490)
  • The go.opentelemetry.io/contrib/detectors/autodetect package is added to automatically compose user defined resource.Detectors at runtime. (#7522)
  • Add the WithLoggerProviderOptions, WithMeterProviderOptions and WithTracerProviderOptions options to NewSDK to allow passing custom options to providers in go.opentelemetry.io/contrib/otelconf. (#7552)
  • Set SeverityText field to logrus hook in go.opentelemetry.io/contrib/bridges/otellogrus. (#7553)
  • Add the WithTraceAttributeFn option to go.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 /path so it complies with the HTTP semantic conventions in go.opentelemetry.io/contrib/instrumentation/github.com/gorilla/mux/otelmux. (#7551)
  • Transform attribute values of go.opentelemetry.io/otel/attribute.Value and go.opentelemetry.io/otel/log.Value types to appropriate go.opentelemetry.io/otel/log.Value type instead of log.StringValue in the modules below. (#7660)
    • go.opentelemetry.io/contrib/bridges/otellogr
    • go.opentelemetry.io/contrib/bridges/otellogrus
    • go.opentelemetry.io/contrib/bridges/otelslog
    • go.opentelemetry.io/contrib/bridges/otelzap
  • The Severity type from go.opentelemetry.io/contrib/processors/minsev now implements the fmt.Stringer, encoding.TextMarshaler, encoding.TextUnmarshaler, encoding.TextAppender, json.Marshaler, and json.Unmarshaler interfaces. (#7652)
  • The SeverityVar type from go.opentelemetry.io/contrib/processors/minsev now implements the fmt.Stringer, encoding.TextMarshaler, encoding.TextUnmarshaler, and encoding.TextAppender interfaces. (#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() in go.opentelemetry.io/contrib/processors/minsev now returns log.SeverityTrace1 for severities less than minsev.SeverityTrace1 and log.SeverityFatal4 for severities greater than minsev.SeverityFatal4 instead of log.SeverityUndefined. All other conversions are the same. (#7748)

Fixed

  • Improve the ECS detector correctness in go.opentelemetry.io/contrib/detectors/aws/ecs. (#7607)

Deprecated

  • WithSpanOptions in go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc is deprecated. It is only used by the deprecated interceptor, and is unused by NewClientHandler and NewServerHandler. (#7601)
  • Extract and Inject in go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc are deprecated. These functions were initially exposed in the public API, but are now considered unnecessary. (#7689)
  • The go.opentelemetry.io/contrib/detectors/aws/ec2 package is deprecated, use go.opentelemetry.io/contrib/detectors/aws/ec2/v2 instead. (#7725)

Removed

  • Remove support for the OTEL_SEMCONV_STABILITY_OPT_IN environment 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/otelrestful
    • go.opentelemetry.io/contrib/instrumentation/github.com/gin-gonic/gin/otelgin
    • go.opentelemetry.io/contrib/instrumentation/github.com/gorilla/mux/otelmux
    • go.opentelemetry.io/contrib/instrumentation/github.com/labstack/echo/otelecho
    • go.opentelemetry.io/contrib/instrumentation/net/http/httptrace/otelhttptrace
    • go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp
  • The deprecated StreamClientInterceptor function from go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc is 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-...
Read more

Release 1.37.0/0.62.0/0.31.0/0.17.0/0.12.0/0.10.0/0.9.0

25 Jun 19:40
v1.37.0
45af925

Choose a tag to compare

Added

  • Add the WithPublicEndpoint and WithPublicEndpointFn options to go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc. (#7407)

Changed

  • go.opentelemetry.io/contrib/instrumentation/runtime now produces the new metrics by default. Set OTEL_GO_X_DEPRECATED_RUNTIME_METRICS=true environment variable to additionally produce the deprecated metrics. (#7418)
  • The semantic conventions have been upgraded from v1.30.0 to v1.34.0 in go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc. (#7361)
  • The semantic conventions have been upgraded from v1.26.0 to v1.34.0 in go.opentelemetry.io/contrib/detectors/aws/ec2. (#7373, #7484)
  • The semantic conventions have been upgraded from v1.26.0 to v1.34.0 in go.opentelemetry.io/contrib/detectors/aws/eks. (#7375, #7484)
  • The semantic conventions have been upgraded from v1.26.0 to v1.34.0 in go.opentelemetry.io/contrib/detectors/aws/ecs. (#7374, #7484)
  • The semantic conventions have been upgraded from v1.26.0 to v1.34.0 in go.opentelemetry.io/contrib/detectors/aws/lambda. (#7376, #7484)
  • The semantic conventions have been upgraded from v1.26.0 to v1.34.0 in go.opentelemetry.io/contrib/detectors/azure/azurevm. (#7377, #7484)
  • The semantic conventions have been upgraded from v1.26.0 to v1.34.0 in go.opentelemetry.io/contrib/bridges/otelslog. (#7361, #7484)
  • The semantic conventions have been upgraded from v1.27.0 to v1.34.0 in go.opentelemetry.io/contrib/bridges/otellogr. (#7387, #7484)
  • The semantic conventions have been upgraded from v1.26.0 to v1.34.0 in go.opentelemetry.io/contrib/bridges/otelzap. (#7389, #7484)
  • The semantic conventions have been upgraded from v1.26.0 to v1.34.0 in go.opentelemetry.io/contrib/detectors/gcp. (#7378, #7484)
  • The semantic conventions have been upgraded from v1.26.0 to v1.34.0 in go.opentelemetry.io/contrib/instrumentation/github.com/emicklei/go-restful/otelrestful. (#7383, #7484)
  • The semantic conventions have been upgraded from v1.26.0 to v1.34.0 in go.opentelemetry.io/contrib/instrumentation/github.com/gin-gonic/gin/otelgin. (#7383, #7484)
  • The semantic conventions have been upgraded from v1.26.0 to v1.34.0 in go.opentelemetry.io/contrib/instrumentation/github.com/gorilla/mux/otelmux. (#7383, #7484)
  • The semantic conventions have been upgraded from v1.26.0 to v1.34.0 in go.opentelemetry.io/contrib/instrumentation/net/http/httptrace/otelhttptrace. (#7383, #7484)
  • The semantic conventions have been upgraded from v1.26.0 to v1.34.0 in go.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/otelmongo to v1.34.0. (#7393, #7484)
  • The semantic conventions have been upgraded in go.opentelemetry.io/contrib/instrumentation/go.mongodb.org/mongo-driver/v2/mongo/otelmongo to v1.34.0. (#7393, #7484)
  • The semantic conventions have been upgraded in go.opentelemetry.io/contrib/instrumentation/github.com/aws/aws-sdk-go-v2/otelaws to v1.34.0. (#7394, #7484)
    • The messaging.system=AmazonSQS attribute has been corrected to messaging.system=aws.sqs.
    • The net.peer.addr attribute key has been upgraded to server.address.
    • The http.status_code attribute key has been upgraded to http.response.status_code.
    • The db.system=dynamodb attribute has been corrected to db.system.name=aws.dynamodb.
    • The deprecated messaging.operation.type=publish attribute has been corrected to messaging.operation.type=send.
  • The semantic conventions have been upgraded from v1.21.0 to v1.34.0 in go.opentelemetry.io/contrib/instrumentation/github.com/aws/aws-lambda-go/otellambda. (#7400, #7484)
  • The semantic conventions in go.opentelemetry.io/contrib/instrumentation/host have been upgraded to v1.34.0. (#7390, #7484)
    • The description of process.cpu.time is updated to comply with semantic conventions.
    • process.cpu.time now uses the state attribute instead of cpu.mode.
    • The system.cpu.time metric is renamed to cpu.time.
    • cpu.time now uses the state attribute instead of cpu.mode.
    • system.memory.usage now uses the state attribute instead of system.memory.state.
    • system.memory.utilization now uses the state attribute instead of system.memory.state.
    • The system.memory.state attribute (now state) value of available is now free instead.

Deprecated

  • AttributeCPUTimeUser in go.opentelemetry.io/contrib/instrumentation/host is deprecated.
    Use go.opentelemetry.io/otel/semconv instead. (#7390)
  • AttributeCPUTimeSystem in go.opentelemetry.io/contrib/instrumentation/host is deprecated.
    Use go.opentelemetry.io/otel/semconv instead. (#7390)
  • AttributeCPUTimeOther in go.opentelemetry.io/contrib/instrumentation/host is deprecated.
    Use go.opentelemetry.io/otel/semconv instead. (#7390)
  • AttributeCPUTimeIdle in go.opentelemetry.io/contrib/instrumentation/host is deprecated.
    Use go.opentelemetry.io/otel/semconv instead. (#7390)
  • AttributeMemoryAvailable in go.opentelemetry.io/contrib/instrumentation/host is deprecated.
    Use go.opentelemetry.io/otel/semconv instead. (#7390)
  • AttributeMemoryUsed in go.opentelemetry.io/contrib/instrumentation/host is deprecated.
    Use go.opentelemetry.io/otel/semconv instead. (#7390)
  • AttributeNetworkTransmit in go.opentelemetry.io/contrib/instrumentation/host is deprecated.
    Use go.opentelemetry.io/otel/semconv instead. (#7390)
  • AttributeNetworkReceive in go.opentelemetry.io/contrib/instrumentation/host is deprecated.
    Use go.opentelemetry.io/otel/semconv instead. (#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.Context fields in go.opentelemetry.io/contrib/bridges/otelzap. (#7368)
  • Fix nil pointer dereference when ClientTracer did not have a span in go.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 StreamServerInterceptor function from go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc is 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 StreamServerInterceptor function 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
  • ...
Read more

Release v1.36.0/v0.61.0/v0.30.0/v0.16.0/v0.11.0/v0.9.0/v0.8.0

22 May 14:38
v1.36.0
934fb13

Choose a tag to compare

Overview

Added

  • http.route attribute to otelhttp server request spans, when net/http.Request.Pattern is set in the modules below. (#6905, #6937)
    • go.opentelemetry.io/contrib/instrumentation/github.com/emicklei/go-restful/otelrestful
    • go.opentelemetry.io/contrib/instrumentation/github.com/gin-gonic/gin/otelgin
    • go.opentelemetry.io/contrib/instrumentation/github.com/gorilla/mux/otelmux
    • go.opentelemetry.io/contrib/instrumentation/github.com/labstack/echo/otelecho
    • go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp
  • Add WithAttributes option to set instrumentation scope attributes on the created log.Logger in go.opentelemetry.io/contrib/bridges/otelzap. (#6962)
  • Add WithAttributes option to set instrumentation scope attributes on the created log.Logger in go.opentelemetry.io/contrib/bridges/otelslog. (#6965)
  • Add WithAttributes option to set instrumentation scope attributes on the created log.Logger in go.opentelemetry.io/contrib/bridges/otellogrus. (#6966)
  • Add WithAttributes option to set instrumentation scope attributes on the created log.Logger in go.opentelemetry.io/contrib/bridges/otellogr. (#6967)
  • Add the WithGinMetricAttributes option to allow setting dynamic, per-request metric attributes based on *gin.Context in go.opentelemetry.io/contrib/instrumentation/github.com/gin-gonic/gin/otelgin. (#6932)
  • Use Gin's own ClientIP method to detect the client's IP, which supports custom proxy headers in go.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 SeverityText attribute using source value in go.opentelemetry.io/contrib/bridges/otelslog. (#7198)
  • Add http.route metric attribute in go.opentelemetry.io/contrib/instrumentation/github.com/gin-gonic/gin/otelgin. (#7275)
  • Add the WithSpanStartOptions option to add custom options to new spans go.opentelemetry.io/contrib/instrumentation/github.com/gin-gonic/gin/otelgin. (#7261)
  • Add instrumentation support for go.mongodb.org/mongo-driver/v2 in go.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.Pattern is set, so the span name can include it in go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp. (#7192)

Changed

  • Jaeger remote sampler's probabilistic strategy now uses the same sampling algorithm as trace.TraceIDRatioBased in go.opentelemetry.io/contrib/samplers/jaegerremote. (#6892)

  • Switched the default for OTEL_SEMCONV_STABILITY_OPT_IN to emit the v1.26.0 semantic conventions by default in the following modules.

    • go.opentelemetry.io/contrib/instrumentation/github.com/emicklei/go-restful/otelrestful
    • go.opentelemetry.io/contrib/instrumentation/github.com/gin-gonic/gin/otelgin
    • go.opentelemetry.io/contrib/instrumentation/github.com/gorilla/mux/otelmux
    • go.opentelemetry.io/contrib/instrumentation/github.com/labstack/echo/otelecho
    • go.opentelemetry.io/contrib/instrumentation/net/http/httptrace/otelhttptrace
    • go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp
      The OTEL_SEMCONV_STABILITY_OPT_IN=http/dup environment 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/dup in the modules below. (#7180)

    • go.opentelemetry.io/contrib/instrumentation/github.com/emicklei/go-restful/otelrestful
    • go.opentelemetry.io/contrib/instrumentation/github.com/gin-gonic/gin/otelgin
    • go.opentelemetry.io/contrib/instrumentation/github.com/gorilla/mux/otelmux
    • go.opentelemetry.io/contrib/instrumentation/github.com/labstack/echo/otelecho
    • go.opentelemetry.io/contrib/instrumentation/net/http/httptrace/otelhttptrace
    • go.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.route attribute to support request.Pattern in go.opentelemetry.io/contrib/instrumentation/github.com/gorilla/mux/otelmux. (#7108)

  • Change the default span name to be GET /path so it complies with the HTTP semantic conventions in go.opentelemetry.io/contrib/instrumentation/github.com/gin-gonic/gin/otelgin. (#6381)

  • Set url.scheme attribute to the request URL.Scheme when possible for HTTP client metrics in go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp. (#6938)

  • The semantic conventions have been upgraded from v1.17.0 to v1.30.0 in go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc. (#7270)

    • All net.peer.* and net.host.* attributes are now set to correct server.* attributes.
    • No net.socket.* attributes are set.
  • Only sample spans when Sampled=1 in go.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/otelrestful
    • go.opentelemetry.io/contrib/instrumentation/github.com/gin-gonic/gin/otelgin
    • go.opentelemetry.io/contrib/instrumentation/github.com/gorilla/mux/otelmux
    • go.opentelemetry.io/contrib/instrumentation/github.com/labstack/echo/otelecho
    • go.opentelemetry.io/contrib/instrumentation/net/http/httptrace/otelhttptrace
    • go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp
  • Cleaned up indentations under Unreleased/Fixed of ./CHANGELOG.md. (#7163)
  • Removed a duplicate instance of the Changed subheader under 1.18.0/0.43.0/0.12.0 in ./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_IN environment variable in go.opentelemetry.io/contrib/instrumentation/github.com/gin-gonic/gin/otelgin. (#7215)
  • Support mixed categories for OTEL_SEMCONV_STABILITY_OPT_IN opt-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/config package is removed, use go.opentelemetry.io/contrib/otelconf instead. (#6894)
  • The deprecated SemVersion function is removed in go.opentelemetry.io/contrib/instrumentation/github.com/aws/aws-lambda-go/otellambda, use Version function instead. (#7058)
  • The deprecated SemVersion function in go.opentelemetry.io/contrib/samplers/probability/consistent is removed, use Version instead. (#7072)
  • The deprecated SemVersion function is removed in go.opentelemetry.io/contrib/instrumentation/github.com/aws/aws-sdk-go-v2/otelaws/test package, use Version instead. (#7077)
  • The deprecated SemVersion function is removed in go.opentelemetry.io/contrib/instrumentation/github.com/gorilla/mux/otelmux, use Version function instead. (#7084)
  • The deprecated SemVersion function is removed in go.opentelemetry.io/contrib/instrumentation/github.com/gin-gonic/gin/otelgin, use Version function instead. (#7085)
  • The deprecated SemVersion function is removed in go.opentelemetry.io/contrib/instrumentation/go.mongodb.org/mongo-driver/mongo/otelmongo/test, use Version function instead. (#7142)
  • The deprecated SemVersion function is removed in go.opentelemetry.io/contrib/instrumentation/github.com/gorilla/mux/otelmux/test, use Version function instead. (#7086)
  • The deprecated SemVersion function is removed in go.opentelemetry.io/contrib/instrumentation/go.mongodb.org/mongo-driver/mongo/otelmongo, use Version function instead. (#7140)
  • The deprecated SemVersion function is removed in go.opentelemetry.io/contrib/instrumentation/github.com/gin-gonic/gin/otelgin/test, use Version function instead. (#7087)
  • The deprecated SemVersion function is removed in go.opentelemetry.io/contrib/instrumentation/github.com/labstack/echo/otelecho, use Version function instead. (#7089)
  • The deprecated SemVersion function is removed in go.opentelemetry.io/contrib/instrumentation/github.com/labstack/echo/otelecho/test, use Version function instead. (#7090)
  • The deprecated SemVersion function is removed in go.opentelemetry.io/contrib/instrumentation/github.com/emicklei/go-restful/otelrestful, use Version function instead. (#7091)
  • The deprecated SemVersion function is removed in go.opentelemetry.io/contrib/instrumentation/github.com/emicklei/go-restful/otelrestful/test, use Version function instead. (#70...
Read more

Release v1.35.0/v0.60.0/v0.29.0/v0.15.0/v0.10.0/v0.8.0/v0.7.0

06 Mar 01:56
v1.35.0
bc53d2b

Choose a tag to compare

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 ClientCertificate and ClientKey field for OTLP exporters in go.opentelemetry.io/contrib/config. (#6378)
  • Add WithAttributeBuilder, AttributeBuilder, DefaultAttributeBuilder, DynamoDBAttributeBuilder, SNSAttributeBuilder to support adding attributes based on SDK input and output in go.opentelemetry.io/contrib/instrumentation/github.com/aws/aws-sdk-go-v2/otelaws. (#6543)
  • Support for the OTEL_SEMCONV_STABILITY_OPT_IN=http/dup environment variable in go.opentelemetry.io/contrib/instrumentation/github.com/gorilla/mux/otelmux to emit attributes for both the v1.20.0 and v1.26.0 semantic conventions. (#6652)
  • Added the WithMeterProvider option to allow passing a custom meter provider to go.opentelemetry.io/contrib/instrumentation/github.com/gorilla/mux/otelmux. (#6648)
  • Added the WithMetricAttributesFn option to allow setting dynamic, per-request metric attributes in go.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 Insecure field for OTLP exporters in go.opentelemetry.io/contrib/config. (#6658)
  • Support for the OTEL_SEMCONV_STABILITY_OPT_IN=http/dup environment variable in instrumentation/net/http/httptrace/otelhttptrace to emit attributes for both the v1.20.0 and v1.26.0 semantic conventions. (#6720)
  • Support for the OTEL_SEMCONV_STABILITY_OPT_IN=http/dup environment variable in instrumentation/github.com/emicklei/go-restful/otelrestful to 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/dup environment variable in go.opentelemetry.io/contrib/instrumentation/github.com/gin-gonic/gin/otelgin to emit attributes for both the v1.20.0 and v1.26.0 semantic conventions. (#6778)
  • Support OTEL_SEMCONV_STABILITY_OPT_IN to emit telemetry following both go.opentelemetry.io/otel/semconv/v1.21.0 (default) and go.opentelemetry.io/otel/semconv/v1.26.0 (opt-in) in go.opentelemetry.io/contrib/instrumentation/go.mongodb.org/mongo-driver/mongo/otelmongo per the Database semantic convention stability migration guide. (#6172)
  • Support Go 1.24. (#6765)
  • Add support for configuring HeadersList field for OTLP exporters in go.opentelemetry.io/contrib/config. (#6657)
  • Add go.opentelemetry.io/contrib/otelconf module which is a replacement for go.opentelemetry.io/contrib/config. (#6796)
  • Added WithFallbackLogExporter to allow setting a fallback log exporter when OTEL_LOGS_EXPORTER is unset in go.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.function attribute emitted by go.opentelemetry.io/contrib/bridges/otelslog now stores the package path-qualified function name instead of just the function name.
    The code.namespace attribute is no longer added. (#6870)
  • The code.function attribute emitted by go.opentelemetry.io/contrib/bridges/otelzap now stores the package path-qualified function name instead of just the function name.
    The code.namespace attribute 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/otelrestful
    • go.opentelemetry.io/contrib/instrumentation/github.com/gin-gonic/gin/otelgin
    • go.opentelemetry.io/contrib/instrumentation/github.com/gorilla/mux/otelmux
    • go.opentelemetry.io/contrib/instrumentation/github.com/labstack/echo/otelecho
    • go.opentelemetry.io/contrib/instrumentation/net/http/httptrace/otelhttptrace
    • go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp

Deprecated

  • Deprecate WithAttributeSetter, AttributeSetter, DefaultAttributeSetter, DynamoDBAttributeSetter, SNSAttributeSetter in favor of WithAttributeBuilder, AttributeBuilder, DefaultAttributeBuilder, DynamoDBAttributeBuilder, SNSAttributeBuilder in go.opentelemetry.io/contrib/instrumentation/github.com/aws/aws-sdk-go-v2/otelaws. (#6543)
  • Deprecate go.opentelemetry.io/contrib/config module in favor of go.opentelemetry.io/contrib/otelconf. This is the last release of this module. (#6796)

Fixed

  • Use context.Background() as default context instead of nil in go.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 NewSDK of go.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...
Read more

Release v1.34.0/v0.59.0/v0.28.0/v0.14.0/v0.9.0/v0.7.0/v0.6.0

17 Jan 19:36
v1.34.0
e6e7902

Choose a tag to compare

Overview

Added

  • Generate server metrics with semantic conventions v1.26.0 in go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp when OTEL_SEMCONV_STABILITY_OPT_IN is set to http/dup. (#6411)
  • Generate client metrics with semantic conventions v1.26.0 in go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp when OTEL_SEMCONV_STABILITY_OPT_IN is set to http/dup. (#6607)

Fixed

  • Fix error logged by Jaeger remote sampler on empty or unset OTEL_TRACES_SAMPLER_ARG environment variable (#6511)
  • Relax minimum Go version to 1.22.0 in various modules. (#6595)
  • NewSDK handles empty OpenTelemetryConfiguration.Resource properly in go.opentelemetry.io/contrib/config/v0.3.0. (#6606)
  • Fix a possible nil dereference panic in NewSDK of go.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 otelhttp by @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...
Read more