Support configuring PeriodicMetricReader maxExportBatchSize in autoconfigure
维护者通常 2 天内回复
评估
这个 Issue 还没有评估数据。
描述
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/developmentinopentelemetry-configuration), using theotel.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 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
open-telemetry/opentelemetry-java 的其他 Issue
-
OkHttpGrpcSender no longer logs retry attempts可能已有人在做 @thswlsqls 于 2 天前认领。 未关闭
难度 2/5 1-3 小时 新手友好度 82/100
open-telemetry/opentelemetry-java#8966 · 1 个 reaction ·
维护者通常 2 天内回复
-
JdkHttpSender passes CompletionException instead of the original exception to onError可能已有人在做 @thswlsqls 于 2 天前认领。 未关闭
难度 2/5 1-3 小时 新手友好度 76/100
open-telemetry/opentelemetry-java#8961 · 1 个 reaction ·
维护者通常 2 天内回复
-
Fix `otel.sdk.log.created` counting semantics可能已有人在做 @anuraaga 于 76 天前认领。 未关闭
难度 2/5 1-3 小时 新手友好度 76/100
open-telemetry/opentelemetry-java#8688 ·
维护者通常 2 天内回复
-
难度 1/5 1 小时以内 新手友好度 25/100
open-telemetry/opentelemetry-java#8972 ·
维护者通常 2 天内回复
-
难度 2/5 1-3 小时 新手友好度 35/100
open-telemetry/opentelemetry-java#8970 · 1 条评论 ·
维护者通常 2 天内回复
查看 open-telemetry/opentelemetry-java 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 76/100
-
难度 2/5 1-3 小时 新手友好度 78/100
apache/rocketmq-dashboard#7302 ·
维护者通常 3 天内回复
-
area: android good first issue help wanted testing
难度 2/5 1-3 小时 新手友好度 75/100
Gautam-aman/ResQNet#56 ·
维护者通常 1 天内回复
-
documentation hermes-queue
难度 2/5 1-3 小时 新手友好度 72/100
chrisalunlloyd2-sudo/mindpalace#294 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 78/100
QuicksilverMC/Argentum#31 ·