6 Commits

Author SHA1 Message Date
guoguangwu
62c611a51a chore: remove refs to deprecated io/ioutil 2023-06-25 11:09:17 +08:00
Grant Griffiths
0476dcedcc Refactor http server and register leaderelection health check
- Needed to start the http server outside of pkg/metric
- We needed this because we want to add other endpoints to the server

Signed-off-by: Grant Griffiths <ggriffiths@purestorage.com>
2021-08-10 11:44:12 -07:00
Saikat Roychowdhury
3c216f78bb Add process start time metric 2021-08-05 05:36:26 +00:00
Grant Griffiths
57987a84c0 Add gauge metric for snapshot controller operations in flight
Signed-off-by: Grant Griffiths <grant@portworx.com>
2021-07-27 14:17:55 -07:00
Grant Griffiths
941821bf99 Add snapshot controller metrics
Signed-off-by: Grant Griffiths <grant@portworx.com>
2020-12-02 22:18:18 -08:00
xiangqian
7bd717198b add basic metrics utility functions
relax latency check to be greater than instead of within threshold
2020-05-21 13:45:44 -07:00