Skip to content

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Dec 12, 2025

⚠️ Dependabot is rebasing this PR ⚠️

Rebasing might not happen immediately, so don't worry if this takes some time.

Note: if you make any changes to this PR yourself, they will take precedence over the rebase.


Bumps go.opentelemetry.io/contrib from 1.38.0 to 1.39.0.

Changelog

Sourced from go.opentelemetry.io/contrib's changelog.

[1.39.0/2.1.0/0.64.0/0.33.0/0.19.0/0.14.0/0.12.0/0.11.0] - 2025-12-08

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)
Commits
  • 9a6a4d7 Release v1.39.0 (#8261)
  • 14c6a7a chore(deps): update module golang.org/x/sys to v0.39.0 (#8260)
  • 829f498 chore(deps): update module golang.org/x/sync to v0.19.0 (#8259)
  • a77cdda chore(deps): update module golang.org/x/oauth2 to v0.34.0 (#8257)
  • a98be56 chore(deps): update module github.com/go-git/go-billy/v5 to v5.7.0 (#8255)
  • 4385fbc chore(deps): update github/codeql-action action to v4.31.7 (#8253)
  • 3c3e7b2 otelconf: add support for parsing resource detectors (#8180)
  • 6497853 otelconf: add support for OTEL_EXPERIMENTAL_CONFIG_FILE (#8106)
  • 3f4d49c Fix flaky canceled context in otelconf/trace test (#8250)
  • 3ce5839 fix(deps): update module github.com/golangci/golangci-lint/v2 to v2.7.1 (#8252)
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

@dependabot dependabot bot added dependencies Pull requests that update a dependency file go Pull requests that update Go code labels Dec 12, 2025
@dependabot dependabot bot requested a review from dongjiang1989 as a code owner December 12, 2025 00:17
@dependabot dependabot bot added dependencies Pull requests that update a dependency file go Pull requests that update Go code labels Dec 12, 2025
@CLAassistant
Copy link

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

@lingma-agents
Copy link

lingma-agents bot commented Dec 12, 2025

升级 go.opentelemetry.io/contrib 依赖至 v1.39.0

变更概述
  • 依赖更新

    • go.opentelemetry.io/contrib 从版本 1.38.0 升级到 1.39.0
    • 此次升级引入了多项新特性,包括对 otelconf 模块中环境变量替换的支持、新增多种指标和导出器的验证支持以及对 Jaeger 自适应采样的增强。
    • 改进了 gRPC 统计处理程序中的性能,减少了内存分配。
    • 弃用了一些旧的功能,如 net/http 包装器中的部分函数,并删除了对 Go 1.23 的支持。
    • 更新了贡献者名单和构建配置文件以反映最新的维护状态。
  • 配置调整

    • .golangci.yml 中为 usetesting 添加新的检查规则,禁用 context.Backgroundcontext.TODO 使用。
    • .lycheeignore 文件中增加了多个本地和文件路径忽略项,用于链接检查工具排除特定 URL。
  • 文档

    • 更新了 CHANGELOG.md 文件记录本次版本变更详情。
    • 修改 README.md 删除了部分不再支持的操作系统平台信息。
    • 调整了 CODEOWNERS 文件更新模块负责人列表。
    • 更新 CONTRIBUTING.md 增加新的贡献者信息。
变更文件
文件路径 变更说明
go.mod 将 go.opentelemetry.io/contrib 依赖版本从 1.38.0 更新为 1.39.0。
go.sum 同步更新 go.opentelemetry.io/contrib 的校验和条目以匹配新版依赖。
vendor/​go.​opentelemetry.​io/​contrib/​.​golangci.​yml 在 linters 设置中增加 usetesting 规则,限制使用 context.Background 和 context.TODO。
vendor/​go.​opentelemetry.​io/​contrib/​.​lycheeignore 新增多个需要忽略的本地地址和文件路径,避免链接检测误报。
vendor/​go.​opentelemetry.​io/​contrib/​CHANGELOG.​md 详细列出 1.39.0 版本的新功能、改进、弃用及移除内容,并更新发布链接。
vendor/​go.​opentelemetry.​io/​contrib/​CODEOWNERS 更新部分模块的所有者信息,特别是 labstack/echo 相关模块。
vendor/​go.​opentelemetry.​io/​contrib/​CONTRIBUTING.​md 在贡献者列表中加入新成员 Cheng-Zhen Yang。
vendor/​go.​opentelemetry.​io/​contrib/​Makefile 更新生成 JSON Schema 所使用的 OpenTelemetry 配置版本为 v1.0.0-rc.2。
vendor/​go.​opentelemetry.​io/​contrib/​README.​md 精简支持的操作系统平台说明,移除了部分冗余条目。
vendor/​go.​opentelemetry.​io/​contrib/​version.​go 更新当前使用的 OpenTelemetry Contrib 版本号为 1.39.0。
vendor/​go.​opentelemetry.​io/​contrib/​versions.​yaml 更新各模块集对应的版本标签,确保与实际发布的版本一致。
vendor/modules.txt 更新 vendor/modules.txt 中关于 go.opentelemetry.io/contrib 的注释信息,标注其显式依赖并指定最低 Go 版本为 1.24.0。

💡 小贴士

与 lingma-agents 交流的方式

📜 直接回复评论
直接回复本条评论,lingma-agents 将自动处理您的请求。例如:

  • 在当前代码中添加详细的注释说明。

  • 请详细介绍一下你说的 LRU 改造方案,并使用伪代码加以说明。

📜 在代码行处标记
在文件的特定位置创建评论并 @lingma-agents。例如:

  • @lingma-agents 分析这个方法的性能瓶颈并提供优化建议。

  • @lingma-agents 对这个方法生成优化代码。

📜 在讨论中提问
在任何讨论中 @lingma-agents 来获取帮助。例如:

  • @lingma-agents 请总结上述讨论并提出解决方案。

  • @lingma-agents 请根据讨论内容生成优化代码。

Bumps [go.opentelemetry.io/contrib](https://github.com/open-telemetry/opentelemetry-go-contrib) from 1.38.0 to 1.39.0.
- [Release notes](https://github.com/open-telemetry/opentelemetry-go-contrib/releases)
- [Changelog](https://github.com/open-telemetry/opentelemetry-go-contrib/blob/main/CHANGELOG.md)
- [Commits](open-telemetry/opentelemetry-go-contrib@v1.38.0...v1.39.0)

---
updated-dependencies:
- dependency-name: go.opentelemetry.io/contrib
  dependency-version: 1.39.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot force-pushed the dependabot/go_modules/go.opentelemetry.io/contrib-1.39.0 branch from 0656195 to 3ce7858 Compare December 12, 2025 00:19
@github-actions github-actions bot merged commit 1a68229 into master Dec 12, 2025
9 of 10 checks passed
@dependabot dependabot bot deleted the dependabot/go_modules/go.opentelemetry.io/contrib-1.39.0 branch December 12, 2025 00:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file go Pull requests that update Go code size/XS

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant