Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

Support configuring PeriodicMetricReader maxExportBatchSize in autoconfigure

Đang mở
#8,936 0 bình luận 0 reaction 1 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 2 ngày

@psx95 đang làm issue này rồi.

Từ ngày 12/10/2026.

  • #8935 của @psx95 — đang mở

Đánh giá

Issue này chưa được đánh giá.

Mô tả

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.

Ngôn ngữ chính
Java
Star
2.5k
Fork
1k
Merge trung bình
3 ngày 15 giờ
Pull request đã merge (30 ngày)
65

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của open-telemetry/opentelemetry-java

Tất cả issue của open-telemetry/opentelemetry-java

Issue tương tự

Thêm issue về Java

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.