Compare commits

..

2 Commits

Author SHA1 Message Date
1774bb11aa change public name
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
ci/woodpecker/tag/woodpecker Pipeline was successful
2025-02-13 11:37:13 +01:00
d19ac55dea time reqs, 2
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
ci/woodpecker/tag/woodpecker Pipeline was successful
2025-02-13 11:09:18 +01:00
2 changed files with 4 additions and 4 deletions

View File

@ -48,10 +48,10 @@ metadata:
spec: spec:
tls: tls:
- hosts: - hosts:
- pv-stats.hottis.de - numbers.hottis.de
secretName: pv-stats-cert secretName: numbers-cert
rules: rules:
- host: pv-stats.hottis.de - host: numbers.hottis.de
http: http:
paths: paths:
- path: / - path: /

View File

@ -199,7 +199,7 @@ def ntpserver():
query = """ query = """
select time_bucket('5 minutes', time) as bucket, select time_bucket('5 minutes', time) as bucket,
device, 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 from measurements
where time >= date_trunc('day', now()) AND time < date_trunc('day', now()) + '1 day'::interval and where time >= date_trunc('day', now()) AND time < date_trunc('day', now()) + '1 day'::interval and
application = 'SNMP' and attributes->>'Label' = 'david' application = 'SNMP' and attributes->>'Label' = 'david'