The article’s counter samples rise, reset sharply, and rise again inside a five-minute range. The first sample is outside the left-open boundary. An arrow leads from selected observations to the source fixture’s rate estimate, 5/6 per second.

Prometheus rate estimates counter growth per second

A request counter answers how many events an instrumented process has accumulated. A rate answers how quickly those events are arriving. Prometheus rate estimates average growth per second over a selected range, adjusts observed counter resets, and extrapolates toward the range boundaries. The result is useful precisely because it has a time unit, but it is not an exact reconstruction of every event between scrapes. ...

December 24, 2027 · 5 min · XB Field Notes
Eight large bounded-label tiles contrast with a dense grid of four hundred request-ID labels; the same nine-component and twenty-replica factors produce 1,440 versus 72,000 series.

Cardinality is a metric budget

A metric costs more than its short name suggests. Prometheus identifies a time series by its metric name and complete label set. A new observed label combination creates a different series, which must be ingested, indexed, retained, and queried. Cardinality budgeting asks which distinctions are worth paying for and whether their number stays bounded as the service grows. ...

July 21, 2027 · 4 min · XB Field Notes
A short batch job pushes metrics into Pushgateway. Prometheus independently pulls from the gateway. A retained-data tray remains after the job ends, with explicit cleanup rather than automatic expiry.

Pushgateway retains batch metrics until their lifecycle is handled

A short-lived job can finish before Prometheus next scrapes it. Pushgateway offers an intermediary that retains pushed metrics for later scraping, but it is not the default answer for every short process. Prometheus recommends it primarily for suitable service-level batch outcomes. The retained data has a lifecycle independent of the job, so successful scraping does not prove the job recently ran or succeeded. ...

May 13, 2027 · 6 min · XB Field Notes
Two instance cumulative-bucket staircases merge into one fleet staircase before estimating p99. Matching le bucket identity is retained.

Prometheus histograms retain a bucketed distribution

A latency mean can conceal a slow subset of requests. A histogram retains more distribution information by counting observations into buckets, but it still discards detail within each bucket. Prometheus can estimate quantiles from those counts without storing every observation. The estimate depends on bucket boundaries and aggregation; it is not a recovery of the complete original latency distribution. ...

January 6, 2027 · 6 min · XB Field Notes
The same input, 250 milliseconds, takes two paths. Dividing by 1000 yields 0.250 seconds; changing only the suffix leaves 250, incorrectly interpreted as seconds. The upper conversion path and lower rename-only path stay visibly distinct.

Put the unit in the metric name

A metric named request_duration leaves readers guessing whether 250 means seconds, milliseconds, or something else. A Prometheus-facing name such as http_request_duration_seconds carries that contract into queries, recording rules, and alerts. The contract still needs a correct implementation. Appending _seconds to measurements collected in milliseconds changes the spelling, not the magnitude, and can create a thousandfold monitoring error. ...

October 30, 2026 · 4 min · XB Field Notes
A wide one-to-five-second interval and a narrow one-to-two-second interval give different p99 estimates for the same raw two-second p99: 4.2 and 1.8 seconds.

Histograms preserve the latency shape

A mean can make an uncomfortable service look fast. If ninety-five requests take 50 milliseconds and five take two seconds, the average is only 147.5 milliseconds. A latency histogram retains more information about that slow minority without storing every request. What it preserves is a bucketed approximation of the distribution, not the complete original observations or an automatically exact percentile. ...

September 20, 2026 · 5 min · XB Field Notes