﻿# Exponential histogram downscaling: exact bucket merging still reduces detail

A practical investigation of exponential histogram downscaling: exact bucket merging still reduces detail, with explicit observations, control cases and evidence limits.

Author: Retrivium team
Updated: 2026-11-06
Canonical URL: https://retrivium.ai/journal/field-observe-exponential-histogram-downscale-resolution/
Language: en

## The diagnostic situation

A serving latency dashboard becomes coarser after a broader workload range enters an exponential histogram. A reviewer sees changed quantile estimates and reports model instability. The histogram scale may have changed to remain within its bucket budget. Original request values need not have changed for the representation to support less precise inference about a small region of the distribution.

## Why the observation changes meaning

The OpenTelemetry model describes perfect subsetting: higher-scale exponential buckets map exactly into lower-scale buckets. Exact count merging does not retain the original within-bucket detail. The metrics SDK also describes scale adjustment under configured size constraints. Preserve these representation choices before interpreting a changed percentile estimate as a change in the application’s observed durations.

## Define the instrumentation contract

Define the question’s required resolution and the histogram configuration used at each stage. Record scale, bucket budget and any conversion or aggregation that can downscale. Keep counts and sums distinct from quantile interpolation. A consumer can preserve total observations faithfully while changing uncertainty around a threshold. Do not label both representations equally precise merely because neither lost count.

## A bounded verification procedure

Construct a synthetic duration inventory with a narrow cluster and a wider-range companion set. Retain raw values independently. Export under controlled scale and size settings, then compare bucket mapping, counts and the query’s estimates. Apply a known downscale as a separate fixture. The checker should recognize exact count conservation while demonstrating that individual positions inside merged buckets cannot be recovered.

## Evidence required for acceptance

Acceptance evidence includes raw fixture values, exported scales, bucket populations and query settings. Show both conservation checks and the resolution limit of the requested tail statement. Compare representations over the same source observations before attributing a change to performance. A quantile estimate moving after downscaling is evidence about representation sensitivity, not a new benchmark result from the inference engine.

## Failure cases and limits

The actual backend may use another histogram representation or conversion policy. Inspect it rather than assuming the SDK’s original scale survived. This protocol validates resolution provenance and interpretation; it does not prohibit downscaling or promise arbitrary precision from a fixed-size histogram. Population selection, timing boundaries and useful-request criteria still need separate validation even when the bucket mapping is mathematically consistent.

## Primary references and related reading

Downscaling can preserve bucket counts exactly while losing the resolution needed for a narrow latency question. [OpenTelemetry metrics data model](https://opentelemetry.io/docs/specs/otel/metrics/data-model/); [OpenTelemetry metrics SDK](https://opentelemetry.io/docs/specs/otel/metrics/sdk/).

The proposed investigation of exponential histogram downscale resolution is not an executed deployment benchmark. Related reading: [Fleet p95: aggregate histograms rather than precomputed percentiles](/journal/provider-latency-histogram-aggregation/); [From a slow histogram bucket to a trace through an exemplar](/journal/provider-metric-exemplar-trace-link/).
