Skip to content

Commit 056ca30

Browse files
committed
unit=SECONDS in ssh.dashboard.py uptime
1 parent 6754f68 commit 056ca30

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

grafana/provisioning/dashboards/ssh.dashboard.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
from grafanalib.core import Dashboard, Templating, Stat, TimeSeries, Target, GridPos
2-
from grafanalib.formatunits import SECONDS, TRUE_FALSE, DAYS
2+
from grafanalib.formatunits import SECONDS, TRUE_FALSE
33

44
from wrapper import SceGrafanalibWrapper, ExpressionAndLegendPair, PanelType
55

@@ -86,7 +86,7 @@
8686
legend='{{job}}',
8787
)],
8888
panel_type_enum=PanelType.STAT,
89-
unit=DAYS,
89+
unit=SECONDS,
9090
)
9191

9292
dashboard = wrapper.Render()

0 commit comments

Comments
 (0)