Skip to content

Commit e90edac

Browse files
committed
move code to codeblock
1 parent 56d176d commit e90edac

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

docs/docs/how-tos/setup-healthcheck.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,9 @@ All healthchecks are exported as metrics to Prometheus and can be viewed in Graf
3030
3131
For example: To see the uptime for the conda-store service, you can run:
3232
33-
`1 - (sum(count_over_time(kuberhealthy_check{check="dev/conda-store-http-check", status="0"}[30d])) OR vector(0))/(sum(count_over_time(kuberhealthy_check{check="dev/conda-store-http-check", status="1"}[30d])) * 100)`
33+
```
34+
1 - (sum(count_over_time(kuberhealthy_check{check="dev/conda-store-http-check", status="0"}[30d])) OR vector(0))/(sum(count_over_time(kuberhealthy_check{check="dev/conda-store-http-check", status="1"}[30d])) * 100)
35+
```
3436

3537
in Grafana, which will show you the following chart.
3638

0 commit comments

Comments
 (0)