Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

Support configuring PeriodicMetricReader maxExportBatchSize in autoconfigure

未关闭
#8,936 0 条评论 0 个 reaction 已指派 1 人 在 GitHub 查看

维护者通常 2 天内回复

@psx95 已经在做这个了。

开始于 2026年10月12日。

  • #8935 来自 @psx95 —— 未关闭

评估

这个 Issue 还没有评估数据。

描述

Feature Request

Is your feature request related to a problem? Please describe.
PeriodicMetricReaderBuilder#setMaxExportBatchSize was added in #8296 and stabilized in #8829. While it is configurable programmatically and via Declarative Configuration (max_export_batch_size/development), there is currently no way to configure it via opentelemetry-sdk-extension-autoconfigure using environment variables or system properties.

Describe the solution you'd like
Support configuring PeriodicMetricReaderBuilder#setMaxExportBatchSize in MetricExporterConfiguration via the otel.experimental.metric.export.max.batch.size system property (OTEL_EXPERIMENTAL_METRIC_EXPORT_MAX_BATCH_SIZE environment variable).

Describe alternatives you've considered

  • Switching to Declarative Configuration YAML (max_export_batch_size/development), which is not always feasible for existing deployments standardized on environment variables / system properties.

Additional context

  • Related PRs: #8296, #8829
  • Because the environment variable is not yet standardized in the OpenTelemetry specification (and remains max_export_batch_size/development in opentelemetry-configuration), using the otel.experimental.* prefix avoids committing to a stable property name prematurely.

Tip: React with 👍 to help prioritize this issue. Please use comments to provide useful context, avoiding +1 or me too, to help us triage it. Learn more here.

主要语言
Java
星标
2.5k
派生
1k
平均合并
2 天 23 小时
30 天内合并 PR
68

环境准备

  • 没有 Dockerfile 或 Docker Compose 文件
  • 没有 Pull Request 模板
  • 阅读贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

open-telemetry/opentelemetry-java 的其他 Issue

查看 open-telemetry/opentelemetry-java 的全部 Issue

相似的 Issue

更多 Java Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。