Skip to main content

Module idelta

Module idelta 

Source

Structsยง

IDelta
The funcIdelta in Promql, from https://github.com/prometheus/prometheus/blob/6bdecf377cea8e856509914f35234e948c4fcb80/promql/functions.go#L235

Functionsยง

instant_delta ๐Ÿ”’
irate (IS_RATE) or idelta of the last two samples of a window, as (timestamp, value) pairs.
last_two_samples ๐Ÿ”’
Locates the last two samples inside [offset, offset + len), returning their positions relative to offset. Returns None when the window holds fewer than two samples.