Need basic idea for creating alert bandwidth usage calculated from 1st of each month

I am using telegraf to collect total bandwidth usage,so I have metrics which sends total net_bytes_recv{interface="ens3"}

It basically sends total bytes. So I believe I need something like , total bytes used today - total bytes used on 1st of month which I can then compare with my threshold.

Can anyone give me basic idea how do create such grafana managed notification .


1 Like

Any insight ?
/ Friendly bump…

And you are pushing your data to influx? And what query language do you use? Influxql or flux?

My setup is simple, telegraf agent (like regular node_exporter) is running on servers, prometheous is scrapping data and storing it, which is then I am showing into grafana. Its simple promql I think.