time reqs, 2
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
ci/woodpecker/tag/woodpecker Pipeline was successful

This commit is contained in:
Wolfgang Hottgenroth 2025-02-13 11:09:18 +01:00
parent 4db989022e
commit d19ac55dea
Signed by: wn
GPG Key ID: 18FDFA577A8871AD

View File

@ -199,7 +199,7 @@ def ntpserver():
query = """
select time_bucket('5 minutes', time) as bucket,
device,
avg(cast(values->'time-reqs-pkts'->>'value' as float)) as packets
avg(cast(values->'time-req-pkts'->>'value' as float)) as packets
from measurements
where time >= date_trunc('day', now()) AND time < date_trunc('day', now()) + '1 day'::interval and
application = 'SNMP' and attributes->>'Label' = 'david'