Commit graph

12 commits

Author SHA1 Message Date
Vitaly Zhuravlev 8b76583a2c Add stepAfter for apache scorecard 2022-05-11 18:18:48 +04:00
Vitaly Zhuravlev ad7cc6bcc7 remove unused variables 2022-05-11 18:10:50 +04:00
Vitaly Zhuravlev 2823297c32 Rename apache dashboard 2022-05-11 16:44:20 +04:00
Vitaly Zhuravlev 20f78a97cd Add version panel 2022-05-11 16:43:24 +04:00
Vitaly Zhuravlev b00cf5bf48 Convert to timeseries from old graph 2022-05-11 16:40:39 +04:00
Vitaly Zhuravlev fcb39cfa04 Change rate panels to Bps and reqps
Due to Prometheus rate() calcs per second avg rate, changed to 'per second' units.
2022-05-11 16:19:58 +04:00
Vitaly Zhuravlev 47f3624751 Use rate with $__rate_inteval
... instead of 5m. This is recommended best practice so rate graphs look nice on all timeframes
https://grafana.com/blog/2020/09/28/new-in-grafana-7.2-__rate_interval-for-prometheus-rate-queries-that-just-work/
2022-05-11 15:31:53 +04:00
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 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