XDS
XDS

Reputation: 4206

Calculate delta of traffic for the given $__range in Grafana

I can't wrap my head around how I can calculate the total http traffic generated between two specific timestamps defined by $__range.

I'm aware of posts like this one but I can't see them actually answering the question that I'm posing here:

Get delta between two custom timestamps in Prometheus

Upvotes: 0

Views: 1501

Answers (1)

XDS
XDS

Reputation: 4206

It's possible

     delta(vss_device_number[$__range])

Credit goes to @valyala for this tip.

Upvotes: 1

Related Questions