Compare commits
2 Commits
Author | SHA1 | Date | |
---|---|---|---|
1774bb11aa
|
|||
d19ac55dea
|
@ -48,10 +48,10 @@ metadata:
|
||||
spec:
|
||||
tls:
|
||||
- hosts:
|
||||
- pv-stats.hottis.de
|
||||
secretName: pv-stats-cert
|
||||
- numbers.hottis.de
|
||||
secretName: numbers-cert
|
||||
rules:
|
||||
- host: pv-stats.hottis.de
|
||||
- host: numbers.hottis.de
|
||||
http:
|
||||
paths:
|
||||
- path: /
|
||||
|
@ -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'
|
||||
|
Reference in New Issue
Block a user