Commit graph

6 commits

Author SHA1 Message Date
Vitaly Zhuravlev 20dfb3e94f Fix uptime panel
Change calculation to lastNotNull instead of mean to show the latest instead of average over interval
2022-05-11 15:30:58 +04:00
Vitaly Zhuravlev 6df0b6aafd Change host:port to instance and replace apache up/down panel to state timeline
Due to possible relabelling rules instances may not contain port at all. Keeping it as single value instance makes it more universal.
2022-05-11 15:25:46 +04:00
Vitaly Zhuravlev 321e3f3df4 Add alerts to apache mixin 2022-05-11 15:11:45 +04:00
Vitaly Zhuravlev 7de51eeedd Transform dashboard to use grafonnet library
But it is the same dashboard as the output.
2022-05-11 15:11:33 +04:00
Vitaly Zhuravlev f6d1b08a63 Rename DS_LOCALHOST to prometheus $datasource
This is more universal approach so dashboard would work no matter how prometheus datasource is named.
2022-05-11 12:17:31 +04:00
Vitaly Zhuravlev 7017a838cf Convert apache json dahboard to jsonnet mixin 2022-05-11 12:09:58 +04:00