You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/status-indicators.md
+11
Original file line number
Diff line number
Diff line change
@@ -37,6 +37,17 @@ sections:
37
37
statusCheck: true
38
38
```
39
39
40
+
## Continuous Checking
41
+
By default, with status indicators enabled Dashy will check an applications status on page load, and will not keep indicators updated. This is usually desirable behavior. However, if you do want the status indicators to continue to poll your running services, this can be enabled by setting the `statusCheckInterval` attribute. Here you define an interval in seconds, and Dashy will poll your apps every x seconds. Note that if this number is very low (below 5 seconds), you may notice the app running slightly slower.
42
+
43
+
The following example, will instruct Dashy to continuously check the status of your services every 20 seconds
44
+
45
+
```
46
+
appConfig:
47
+
statusCheck: true
48
+
statusCheckInterval: 20
49
+
```
50
+
40
51
## How it Works
41
52
42
53
When Dashy is loaded, items with `statusCheck` enabled will make a request, to `https://[your-host-name]/ping?url=[address-or-servce]`, which in turn will ping that running service, and respond with a status code. Response time is calculated from the difference between start and end time of the request.
0 commit comments