Docker Observability

Counter rate and reset handling

Estimate a rate only for compatible samples within one counter lifetime; distinguish missing data and resets. Prometheus rate handles resets within a sampled series. The provided offline helper discards reset intervals rather than implementing PromQL extrapolation.

Formal Syntax & Structure

docker syntaxdocker
delta / elapsed_seconds

Working Example

Example Snippetdocker
(160000 - 100000) / 20 = 3000 B/s
Docker Reference