Commit Graph

9 Commits

Author SHA1 Message Date
Alex Marangone
2fb4e78d4a ceph/osd: fix root/rack labels 2023-05-23 08:06:31 -07:00
Joshua Baergen
5b487fad9c osd: Internally poll PG dump for oldest active PG tracking
Without this, the granularity of the oldest active PG is based on
external scrape frequency, and an unlucky sequence of scrapes could see
the same PG inactive two scrapes in a row even though it was active in
between.

Preferably, we would update this even more often than 10 seconds, but PG
dumps can take a while.
2023-05-08 16:33:13 -06:00
Daniel R
46b06f317f
Fix timeouts and use goroutines for collectors/commands (#234)
* rados: timeouts on Mon/Mgr command & connections

* rados: remove unneeded timeouts

* make all collectors async

* fix osd collector

* only add 1 in waitgroups

* ceph: don't pass waitgroups to collectors

* monitors.go: use errgroup instead of waitgroup

* rados: add comment, pass arg & close channel
2023-03-14 14:00:33 -04:00
Alex Marangone
ba15bf50a3 pass version to collectors when calling Collect() 2023-02-14 11:10:54 -08:00
Kyle
1d7bac531d update license headers 2022-03-23 14:02:21 -07:00
Kyle
4d817f487d fix staticcheck errors 2022-03-23 12:24:28 -07:00
Kyle
d6b67a77c3 removed down osd duplicate filtering 2022-03-22 12:59:51 -07:00
Kyle
3a0b289eda filter duplicate OSD nodes for down health check and fix health tests 2022-03-21 15:28:20 -07:00
Kyle
566f1fa5d3 a ton of refactoring 2022-02-23 15:43:46 -08:00