Skip to content

Update histogram configuration #2980

Description

@marctc

Beyla exposes tuning controls for OTLP exponential histograms and Prometheus native histograms. These settings bound histogram resolution and memory usage.

Fields to document

  • metrics.exponential_histogram.max_scale
  • metrics.exponential_histogram.max_size
  • otel_metrics_export.exponential_histogram.max_scale / BEYLA_METRICS_EXPONENTIAL_HISTOGRAM_MAX_SCALE
  • otel_metrics_export.exponential_histogram.max_size / BEYLA_METRICS_EXPONENTIAL_HISTOGRAM_MAX_SIZE
  • prometheus_export.native_histogram.bucket_factor / BEYLA_PROMETHEUS_NATIVE_HISTOGRAM_BUCKET_FACTOR
  • prometheus_export.native_histogram.max_bucket_number / BEYLA_PROMETHEUS_NATIVE_HISTOGRAM_MAX_BUCKET_NUMBER
  • prometheus_export.native_histogram.min_reset_duration / BEYLA_PROMETHEUS_NATIVE_HISTOGRAM_MIN_RESET_DURATION

Document defaults, valid ranges, exporter prerequisites, and the resolution and resource-use trade-offs. Include one example for each histogram type.

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentation

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions