Skip to content

Commit 3273180

Browse files
committed
Add tunnel_status to SSH dashboard
1 parent 36676b7 commit 3273180

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

grafana/provisioning/dashboards/ssh.dashboard.py

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,4 +89,13 @@
8989
unit=SECONDS,
9090
)
9191

92+
wrapper.AddPanel(
93+
title='[From Clark] SSH Tunnel Status',
94+
queries=[
95+
ExpressionAndLegendPair(
96+
expression='connection_status{instance="keep-ssh-tunnel-open:8000"}',
97+
)],
98+
unit=TRUE_FALSE,
99+
)
100+
92101
dashboard = wrapper.Render()

0 commit comments

Comments
 (0)