Compare commits
18 Commits
ntpserver_
...
0.2.3
Author | SHA1 | Date | |
---|---|---|---|
5573024fd9 | |||
a58f914c40 | |||
4ec9690981 | |||
6af509c2f6 | |||
22eba69526 | |||
cbb9ff7a23 | |||
84b5bbe325 | |||
a42254cf95
|
|||
3d05ea5d28
|
|||
52217c5251
|
|||
022d7a8926 | |||
698f926376 | |||
f74ad50b94 | |||
0c03d9f94e
|
|||
eca5affd53
|
|||
6236673d28
|
|||
4213dc7329
|
|||
2d3eab0db8
|
@ -1,4 +1,4 @@
|
||||
FROM python:3.12-alpine3.21
|
||||
FROM python:3.11-alpine3.21
|
||||
|
||||
ENV REDIS_URL=""
|
||||
ENV SECRET_KEY=""
|
||||
|
@ -159,7 +159,7 @@ def ntpserver():
|
||||
select time_bucket('5 minutes', time) as bucket,
|
||||
device,
|
||||
avg(cast(values->'rootdisp'->>'value' as float)) as rootdisp,
|
||||
avg(cast(values->'stratum'->>'value' as int)) as stratum
|
||||
max(cast(values->'stratum'->>'value' as int)) as stratum
|
||||
from measurements
|
||||
where time >= date_trunc('day', now()) AND time < date_trunc('day', now()) + '1 day'::interval and
|
||||
application = 'TSM' and attributes->>'Label' = 'david'
|
||||
@ -178,7 +178,8 @@ def ntpserver():
|
||||
|
||||
# Linke Y-Achse
|
||||
yaxis=dict(
|
||||
title='Root Dispersion'
|
||||
title='Root Dispersion',
|
||||
ticksuffix=' ms'
|
||||
),
|
||||
|
||||
# Rechte Y-Achse
|
||||
|
Reference in New Issue
Block a user