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 https://github.com/open-telemetry/opentelemetry-go-contrib/pull/8651
- chore(deps): update module go.yaml.in/yaml/v2 to v2.4.4 by @renovate[bot] in https://github.com/open-telemetry/opentelemetry-go-contrib/pull/8652
- chore(deps): update golang.org/x/telemetry digest to e526e8a by @renovate[bot] in https://github.com/open-telemetry/opentelemetry-go-contrib/pull/8647
- chore(deps): update module k8s.io/klog/v2 to v2.140.0 by @renovate[bot] in https://github.com/open-telemetry/opentelemetry-go-contrib/pull/8650
- chore(deps): update module github.com/mgechev/revive to v1.14.0 by @mmorel-35 in https://github.com/open-telemetry/opentelemetry-go-contrib/pull/8646
- chore(deps): update module github.com/mgechev/revive to v1.15.0 by @renovate[bot] in https://github.com/open-telemetry/opentelemetry-go-contrib/pull/8539
- chore: fix noctx issues by @mmorel-35 in https://github.com/open-telemetry/opentelemetry-go-contrib/pull/8645
- chore(deps): update golang.org/x by @renovate[bot] in https://github.com/open-telemetry/opentelemetry-go-contrib/pull/8655
- chore(deps): update module codeberg.org/chavacava/garif to v0.2.1 by @renovate[bot] in https://github.com/open-telemetry/opentelemetry-go-contrib/pull/8654
- chore(deps): update module github.com/mattn/go-runewidth to v0.0.21 by @renovate[bot] in https://github.com/open-telemetry/opentelemetry-go-contrib/pull/8653
- fix(deps): update module go.opentelemetry.io/proto/otlp to v1.10.0 by @renovate[bot] in https://github.com/open-telemetry/opentelemetry-go-contrib/pull/8657
- Limit the number of bytes read from the zpages body by @dmathieu in https://github.com/open-telemetry/opentelemetry-go-contrib/pull/8656
- fix(deps): update module github.com/golangci/golangci-lint/v2 to v2.11.2 by @renovate[bot] in https://github.com/open-telemetry/opentelemetry-go-contrib/pull/8648
- fix(deps): update module github.com/golangci/golangci-lint/v2 to v2.11.3 by @renovate[bot] in https://github.com/open-telemetry/opentelemetry-go-contrib/pull/8661
- chore(deps): update github.com/securego/gosec/v2 digest to 8895462 by @renovate[bot] in https://github.com/open-telemetry/opentelemetry-go-contrib/pull/8663
- otelconf: support OTEL_CONFIG_FILE as it is no longer experimental by @codeboten in https://github.com/open-telemetry/opentelemetry-go-contrib/pull/8639
- chore(deps): update module github.com/sonatard/noctx to v0.5.1 by @renovate[bot] in https://github.com/open-telemetry/opentelemetry-go-contrib/pull/8664
- chore(deps): update github.com/securego/gosec/v2 digest to 6e66a94 by @renovate[bot] in https://github.com/open-telemetry/opentelemetry-go-contrib/pull/8665
- chore(deps): update golang.org/x by @renovate[bot] in https://github.com/open-telemetry/opentelemetry-go-contrib/pull/8667
- chore(deps): update module github.com/montanaflynn/stats to v0.8.2 by @renovate[bot] in https://github.com/open-telemetry/opentelemetry-go-contrib/pull/8669
- chore(deps): update googleapis to 84a4fc4 by @renovate[bot] in https://github.com/open-telemetry/opentelemetry-go-contrib/pull/8668
- otelconf: remove host ID detector in host configuration by @codeboten in https://github.com/open-telemetry/opentelemetry-go-contrib/pull/8581
- chore(deps): update module github.com/goccy/go-json to v0.10.6 by @renovate[bot] in https://github.com/open-telemetry/opentelemetry-go-contrib/pull/8672
- fix(deps): update module golang.org/x/tools to v0.43.0 by @renovate[bot] in https://github.com/open-telemetry/opentelemetry-go-contrib/pull/8670
- fix(deps): update module github.com/aws/aws-sdk-go-v2/service/s3 to v1.97.0 by @renovate[bot] in https://github.com/open-telemetry/opentelemetry-go-contrib/pull/8675
- fix(deps): update golang.org/x by @renovate[bot] in https://github.com/open-telemetry/opentelemetry-go-contrib/pull/8673
- chore(deps): update github.com/securego/gosec/v2 digest to c2dfcec by @renovate[bot] in https://github.com/open-telemetry/opentelemetry-go-contrib/pull/8666
- chore(deps): update github.com/securego/gosec/v2 digest to dec52c4 by @renovate[bot] in https://github.com/open-telemetry/opentelemetry-go-contrib/pull/8680
- fix(deps): update aws-sdk-go-v2 monorepo by @renovate[bot] in https://github.com/open-telemetry/opentelemetry-go-contrib/pull/8679
- chore(deps): update github/codeql-action action to v4.33.0 by @renovate[bot] in https://github.com/open-telemetry/opentelemetry-go-contrib/pull/8682
- envcar: refine normalization by @pellared in https://github.com/open-telemetry/opentelemetry-go-contrib/pull/8678
- chore(deps): update github.com/securego/gosec/v2 digest to 744bfb5 by @renovate[bot] in https://github.com/open-telemetry/opentelemetry-go-contrib/pull/8681
- otelconf: support service resource detector by @codeboten in https://github.com/open-telemetry/opentelemetry-go-contrib/pull/8674
- fix(otelgin,otelecho): use
MetricAttributes.Routeby @gaiaz-iusipov in https://github.com/open-telemetry/opentelemetry-go-contrib/pull/8677 - build(deps): bump google.golang.org/grpc from 1.79.2 to 1.79.3 in /samplers/jaegerremote by @dependabot[bot] in https://github.com/open-telemetry/opentelemetry-go-contrib/pull/8693
- build(deps): bump google.golang.org/grpc from 1.79.2 to 1.79.3 in /propagators/opencensus/examples by @dependabot[bot] in https://github.com/open-telemetry/opentelemetry-go-contrib/pull/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 https://github.com/open-telemetry/opentelemetry-go-contrib/pull/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 https://github.com/open-telemetry/opentelemetry-go-contrib/pull/8692
- chore(deps): update actions/cache action to v5.0.4 by @renovate[bot] in https://github.com/open-telemetry/opentelemetry-go-contrib/pull/8700
- chore(deps): update module github.com/bytedance/gopkg to v0.1.4 by @renovate[bot] in https://github.com/open-telemetry/opentelemetry-go-contrib/pull/8703
- chore(deps): update codecov/codecov-action action to v5.5.3 by @renovate[bot] in https://github.com/open-telemetry/opentelemetry-go-contrib/pull/8702
- fix(deps): update kubernetes monorepo to v0.35.3 by @renovate[bot] in https://github.com/open-telemetry/opentelemetry-go-contrib/pull/8705
- chore(deps): update module github.com/protonmail/go-crypto to v1.4.1 by @renovate[bot] in https://github.com/open-telemetry/opentelemetry-go-contrib/pull/8704
- chore(deps): update module github.com/securego/gosec/v2 to v2.25.0 by @renovate[bot] in https://github.com/open-telemetry/opentelemetry-go-contrib/pull/8707
- chore(deps): update module github.com/ryanrolds/sqlclosecheck to v0.6.0 by @renovate[bot] in https://github.com/open-telemetry/opentelemetry-go-contrib/pull/8706
- chore(deps): update k8s.io/utils digest to 28399d8 by @renovate[bot] in https://github.com/open-telemetry/opentelemetry-go-contrib/pull/8699
- chore(deps): update k8s.io/kube-openapi digest to 5883c5e by @renovate[bot] in https://github.com/open-telemetry/opentelemetry-go-contrib/pull/8698
- chore(deps): update module github.com/fatih/color to v1.19.0 by @renovate[bot] in https://github.com/open-telemetry/opentelemetry-go-contrib/pull/8708
- chore(deps): update otel/opentelemetry-collector-contrib docker tag to v0.148.0 by @renovate[bot] in https://github.com/open-telemetry/opentelemetry-go-contrib/pull/8709
- fix(deps): update module google.golang.org/grpc to v1.79.3 [security] by @renovate[bot] in https://github.com/open-telemetry/opentelemetry-go-contrib/pull/8694
- chore(deps): update googleapis to d00831a by @renovate[bot] in https://github.com/open-telemetry/opentelemetry-go-contrib/pull/8697
- chore(deps): update golang.org/x/telemetry digest to b6b0c46 by @renovate[bot] in https://github.com/open-telemetry/opentelemetry-go-contrib/pull/8695
- otelconf: add support for logger provider limits by @codeboten in https://github.com/open-telemetry/opentelemetry-go-contrib/pull/8686
- otelconf: update strings to use defined values by @codeboten in https://github.com/open-telemetry/opentelemetry-go-contrib/pull/8685
- fix: Flaky test TestStatsHandler/Recorded/ServerSpans by @sonalgaud12 in https://github.com/open-telemetry/opentelemetry-go-contrib/pull/8676
- chore(deps): update github/codeql-action action to v4.34.0 by @renovate[bot] in https://github.com/open-telemetry/opentelemetry-go-contrib/pull/8710
- chore(deps): update module github.com/klauspost/compress to v1.18.5 by @renovate[bot] in https://github.com/open-telemetry/opentelemetry-go-contrib/pull/8711
- fix(deps): update module github.com/aws/aws-sdk-go-v2/service/dynamodb to v1.57.0 by @renovate[bot] in https://github.com/open-telemetry/opentelemetry-go-contrib/pull/8713
- chore(deps): update github/codeql-action action to v4.34.1 by @renovate[bot] in https://github.com/open-telemetry/opentelemetry-go-contrib/pull/8712
- fix(deps): update module github.com/golangci/golangci-lint/v2 to v2.11.4 by @renovate[bot] in https://github.com/open-telemetry/opentelemetry-go-contrib/pull/8717
- fix(deps): update module github.com/aws/aws-lambda-go to v1.54.0 by @renovate[bot] in https://github.com/open-telemetry/opentelemetry-go-contrib/pull/8720
- otelconf: add support for tracer provider limits by @codeboten in https://github.com/open-telemetry/opentelemetry-go-contrib/pull/8687
- fix(deps): update aws-sdk-go-v2 monorepo by @renovate[bot] in https://github.com/open-telemetry/opentelemetry-go-contrib/pull/8721
- chore(deps): update github.com/lufia/plan9stats digest to 156f7da by @renovate[bot] in https://github.com/open-telemetry/opentelemetry-go-contrib/pull/8722
- chore(deps): update module github.com/pelletier/go-toml/v2 to v2.3.0 by @renovate[bot] in https://github.com/open-telemetry/opentelemetry-go-contrib/pull/8724
- chore(deps): update module github.com/montanaflynn/stats to v0.9.0 by @renovate[bot] in https://github.com/open-telemetry/opentelemetry-go-contrib/pull/8725
- chore(deps): update codecov/codecov-action action to v5.5.4 by @renovate[bot] in https://github.com/open-telemetry/opentelemetry-go-contrib/pull/8727
- chore(deps): update codecov/codecov-action action to v6 by @renovate[bot] in https://github.com/open-telemetry/opentelemetry-go-contrib/pull/8728
- fix(deps): update aws-sdk-go-v2 monorepo by @renovate[bot] in https://github.com/open-telemetry/opentelemetry-go-contrib/pull/8729
- chore(deps): update module github.com/bytedance/sonic/loader to v0.5.1 by @renovate[bot] in https://github.com/open-telemetry/opentelemetry-go-contrib/pull/8730
- chore(deps): update module github.com/tetafro/godot to v1.5.6 by @renovate[bot] in https://github.com/open-telemetry/opentelemetry-go-contrib/pull/8731
- chore(deps): update module github.com/butuzov/ireturn to v0.4.1 by @renovate[bot] in https://github.com/open-telemetry/opentelemetry-go-contrib/pull/8732
- chore(deps): update github/codeql-action action to v4.35.0 by @renovate[bot] in https://github.com/open-telemetry/opentelemetry-go-contrib/pull/8733
- chore(deps): update module github.com/go-git/go-git/v5 to v5.17.1 by @renovate[bot] in https://github.com/open-telemetry/opentelemetry-go-contrib/pull/8739
- otelgrpc: add server.address and server.port by @dashpole in https://github.com/open-telemetry/opentelemetry-go-contrib/pull/8723
- fix(deps): update module github.com/atombender/go-jsonschema to v0.23.0 by @renovate[bot] in https://github.com/open-telemetry/opentelemetry-go-contrib/pull/8737
- chore(deps): update module github.com/lucasb-eyer/go-colorful to v1.4.0 by @renovate[bot] in https://github.com/open-telemetry/opentelemetry-go-contrib/pull/8736
- chore(deps): update module github.com/gin-contrib/sse to v1.1.1 by @renovate[bot] in https://github.com/open-telemetry/opentelemetry-go-contrib/pull/8735
- chore(deps): update github/codeql-action action to v4.35.1 by @renovate[bot] in https://github.com/open-telemetry/opentelemetry-go-contrib/pull/8734
- chore(deps): update module github.com/hashicorp/go-version to v1.9.0 by @renovate[bot] in https://github.com/open-telemetry/opentelemetry-go-contrib/pull/8740
- otelgrpc: support OTEL_SEMCONV_STABILITY_OPT_IN by @dashpole in https://github.com/open-telemetry/opentelemetry-go-contrib/pull/8726
- chore(deps): update module github.com/go-playground/validator/v10 to v10.30.2 by @renovate[bot] in https://github.com/open-telemetry/opentelemetry-go-contrib/pull/8745
- chore(deps): update module github.com/fxamacker/cbor/v2 to v2.9.1 by @renovate[bot] in https://github.com/open-telemetry/opentelemetry-go-contrib/pull/8744
- chore(deps): update googleapis to d5a96ad by @renovate[bot] in https://github.com/open-telemetry/opentelemetry-go-contrib/pull/8743
- chore(deps): update github.com/lufia/plan9stats digest to c963978 by @renovate[bot] in https://github.com/open-telemetry/opentelemetry-go-contrib/pull/8741
- chore(deps): update k8s.io/kube-openapi digest to 16be699 by @renovate[bot] in https://github.com/open-telemetry/opentelemetry-go-contrib/pull/8742
- Add SDK.Resource() to otelconf/v0.3.0 by @iblancasa in https://github.com/open-telemetry/opentelemetry-go-contrib/pull/8660
- fix(deps): update module github.com/shirou/gopsutil/v4 to v4.26.3 by @renovate[bot] in https://github.com/open-telemetry/opentelemetry-go-contrib/pull/8753
- chore(deps): update otel/opentelemetry-collector-contrib docker tag to v0.149.0 by @renovate[bot] in https://github.com/open-telemetry/opentelemetry-go-contrib/pull/8754
- chore(deps): update googleapis to 9d38bb4 by @renovate[bot] in https://github.com/open-telemetry/opentelemetry-go-contrib/pull/8751
- chore(deps): update fossas/fossa-action action to v1.9.0 by @renovate[bot] in https://github.com/open-telemetry/opentelemetry-go-contrib/pull/8752
- fix(deps): update module github.com/aws/aws-sdk-go-v2/service/s3 to v1.98.0 by @renovate[bot] in https://github.com/open-telemetry/opentelemetry-go-contrib/pull/8750
- chore(deps): update module github.com/go-git/go-git/v5 to v5.17.2 by @renovate[bot] in https://github.com/open-telemetry/opentelemetry-go-contrib/pull/8749
- chore(deps): update github.com/golangci/dupl digest to c99c5cf by @renovate[bot] in https://github.com/open-telemetry/opentelemetry-go-contrib/pull/8755
- chore(deps): update module github.com/itchyny/timefmt-go to v0.1.8 by @renovate[bot] in https://github.com/open-telemetry/opentelemetry-go-contrib/pull/8756
- fix(deps): update module google.golang.org/grpc to v1.80.0 by @renovate[bot] in https://github.com/open-telemetry/opentelemetry-go-contrib/pull/8757
- fix(deps): update module github.com/itchyny/gojq to v0.12.19 by @renovate[bot] in https://github.com/open-telemetry/opentelemetry-go-contrib/pull/8758
- feat(net/http/otelhttp): Add
http.routeattribute by @gaiaz-iusipov in https://github.com/open-telemetry/opentelemetry-go-contrib/pull/8632 - chore(deps): update prom/prometheus docker tag to v3.11.0 by @renovate[bot] in https://github.com/open-telemetry/opentelemetry-go-contrib/pull/8762
- fix(deps): update module github.com/aws/smithy-go to v1.24.3 by @renovate[bot] in https://github.com/open-telemetry/opentelemetry-go-contrib/pull/8765
- envcar: normalize cached environment variable names by @pellared in https://github.com/open-telemetry/opentelemetry-go-contrib/pull/8761
- chore(deps): update module github.com/mattn/go-runewidth to v0.0.22 by @renovate[bot] in https://github.com/open-telemetry/opentelemetry-go-contrib/pull/8766
- fix(deps): update aws-sdk-go-v2 monorepo by @renovate[bot] in https://github.com/open-telemetry/opentelemetry-go-contrib/pull/8764
- otelconf: move experimental types to otelconf/x by @codeboten in https://github.com/open-telemetry/opentelemetry-go-contrib/pull/8529
- Fix otelconf prometheus label escaping by @codeboten in https://github.com/open-telemetry/opentelemetry-go-contrib/pull/8763
- chore(deps): update module github.com/jgautheron/goconst to v1.10.0 by @renovate[bot] in https://github.com/open-telemetry/opentelemetry-go-contrib/pull/8771
- chore(deps): update googleapis to 6f92a3b by @renovate[bot] in https://github.com/open-telemetry/opentelemetry-go-contrib/pull/8776
- fix(deps): update module github.com/googlecloudplatform/opentelemetry-operations-go/detectors/gcp to v1.32.0 by @renovate[bot] in https://github.com/open-telemetry/opentelemetry-go-contrib/pull/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 https://github.com/open-telemetry/opentelemetry-go-contrib/pull/8769
New Contributors
- @iblancasa made their first contribution in https://github.com/open-telemetry/opentelemetry-go-contrib/pull/8660
Full Changelog: https://github.com/open-telemetry/opentelemetry-go-contrib/compare/v1.42.0...v1.43.0