github open-telemetry/opentelemetry-go-contrib v1.43.0
v1.43.0 / v2.5.0 / v0.68.0 / v0.37.0 / v0.23.0 / v0.18.0 / v0.16.0 / v0.15.0

12 hours ago

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): update module github.com/fatih/color to v1.19.0 by @renovate[bot] in #8708
  • chore(deps): update otel/opentelemetry-collector-contrib docker tag to v0.148.0 by @renovate[bot] in #8709
  • fix(deps): update module google.golang.org/grpc to v1.79.3 [security] by @renovate[bot] in #8694
  • chore(deps): update googleapis to d00831a by @renovate[bot] in #8697
  • chore(deps): update golang.org/x/telemetry digest to b6b0c46 by @renovate[bot] in #8695
  • otelconf: add support for logger provider limits by @codeboten in #8686
  • otelconf: update strings to use defined values by @codeboten in #8685
  • fix: Flaky test TestStatsHandler/Recorded/ServerSpans by @sonalgaud12 in #8676
  • chore(deps): update github/codeql-action action to v4.34.0 by @renovate[bot] in #8710
  • chore(deps): update module github.com/klauspost/compress to v1.18.5 by @renovate[bot] in #8711
  • fix(deps): update module github.com/aws/aws-sdk-go-v2/service/dynamodb to v1.57.0 by @renovate[bot] in #8713
  • chore(deps): update github/codeql-action action to v4.34.1 by @renovate[bot] in #8712
  • fix(deps): update module github.com/golangci/golangci-lint/v2 to v2.11.4 by @renovate[bot] in #8717
  • fix(deps): update module github.com/aws/aws-lambda-go to v1.54.0 by @renovate[bot] in #8720
  • otelconf: add support for tracer provider limits by @codeboten in #8687
  • fix(deps): update aws-sdk-go-v2 monorepo by @renovate[bot] in #8721
  • chore(deps): update github.com/lufia/plan9stats digest to 156f7da by @renovate[bot] in #8722
  • chore(deps): update module github.com/pelletier/go-toml/v2 to v2.3.0 by @renovate[bot] in #8724
  • chore(deps): update module github.com/montanaflynn/stats to v0.9.0 by @renovate[bot] in #8725
  • chore(deps): update codecov/codecov-action action to v5.5.4 by @renovate[bot] in #8727
  • chore(deps): update codecov/codecov-action action to v6 by @renovate[bot] in #8728
  • fix(deps): update aws-sdk-go-v2 monorepo by @renovate[bot] in #8729
  • chore(deps): update module github.com/bytedance/sonic/loader to v0.5.1 by @renovate[bot] in #8730
  • chore(deps): update module github.com/tetafro/godot to v1.5.6 by @renovate[bot] in #8731
  • chore(deps): update module github.com/butuzov/ireturn to v0.4.1 by @renovate[bot] in #8732
  • chore(deps): update github/codeql-action action to v4.35.0 by @renovate[bot] in #8733
  • chore(deps): update module github.com/go-git/go-git/v5 to v5.17.1 by @renovate[bot] in #8739
  • otelgrpc: add server.address and server.port by @dashpole in #8723
  • fix(deps): update module github.com/atombender/go-jsonschema to v0.23.0 by @renovate[bot] in #8737
  • chore(deps): update module github.com/lucasb-eyer/go-colorful to v1.4.0 by @renovate[bot] in #8736
  • chore(deps): update module github.com/gin-contrib/sse to v1.1.1 by @renovate[bot] in #8735
  • chore(deps): update github/codeql-action action to v4.35.1 by @renovate[bot] in #8734
  • chore(deps): update module github.com/hashicorp/go-version to v1.9.0 by @renovate[bot] in #8740
  • otelgrpc: support OTEL_SEMCONV_STABILITY_OPT_IN by @dashpole in #8726
  • chore(deps): update module github.com/go-playground/validator/v10 to v10.30.2 by @renovate[bot] in #8745
  • chore(deps): update module github.com/fxamacker/cbor/v2 to v2.9.1 by @renovate[bot] in #8744
  • chore(deps): update googleapis to d5a96ad by @renovate[bot] in #8743
  • chore(deps): update github.com/lufia/plan9stats digest to c963978 by @renovate[bot] in #8741
  • chore(deps): update k8s.io/kube-openapi digest to 16be699 by @renovate[bot] in #8742
  • Add SDK.Resource() to otelconf/v0.3.0 by @iblancasa in #8660
  • fix(deps): update module github.com/shirou/gopsutil/v4 to v4.26.3 by @renovate[bot] in #8753
  • chore(deps): update otel/opentelemetry-collector-contrib docker tag to v0.149.0 by @renovate[bot] in #8754
  • chore(deps): update googleapis to 9d38bb4 by @renovate[bot] in #8751
  • chore(deps): update fossas/fossa-action action to v1.9.0 by @renovate[bot] in #8752
  • fix(deps): update module github.com/aws/aws-sdk-go-v2/service/s3 to v1.98.0 by @renovate[bot] in #8750
  • chore(deps): update module github.com/go-git/go-git/v5 to v5.17.2 by @renovate[bot] in #8749
  • chore(deps): update github.com/golangci/dupl digest to c99c5cf by @renovate[bot] in #8755
  • chore(deps): update module github.com/itchyny/timefmt-go to v0.1.8 by @renovate[bot] in #8756
  • fix(deps): update module google.golang.org/grpc to v1.80.0 by @renovate[bot] in #8757
  • fix(deps): update module github.com/itchyny/gojq to v0.12.19 by @renovate[bot] in #8758
  • feat(net/http/otelhttp): Add http.route attribute by @gaiaz-iusipov in #8632
  • chore(deps): update prom/prometheus docker tag to v3.11.0 by @renovate[bot] in #8762
  • fix(deps): update module github.com/aws/smithy-go to v1.24.3 by @renovate[bot] in #8765
  • envcar: normalize cached environment variable names by @pellared in #8761
  • chore(deps): update module github.com/mattn/go-runewidth to v0.0.22 by @renovate[bot] in #8766
  • fix(deps): update aws-sdk-go-v2 monorepo by @renovate[bot] in #8764
  • otelconf: move experimental types to otelconf/x by @codeboten in #8529
  • Fix otelconf prometheus label escaping by @codeboten in #8763
  • chore(deps): update module github.com/jgautheron/goconst to v1.10.0 by @renovate[bot] in #8771
  • chore(deps): update googleapis to 6f92a3b by @renovate[bot] in #8776
  • fix(deps): update module github.com/googlecloudplatform/opentelemetry-operations-go/detectors/gcp to v1.32.0 by @renovate[bot] in #8777
  • 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 by @dmathieu in #8769

New Contributors

Full Changelog: v1.42.0...v1.43.0

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

NewReleases is sending notifications on new releases.