Commit Graph

9 Commits

Author SHA1 Message Date
Joshua Baergen a257136ac9 Fail to start if any rados connection fails on startup
Not instantiating an exporter and logging instead of failing to start
when we can't connect to one of the configured clusters is not the
behaviour we want; a user may think that ceph_exporter is monitoring all
of the requested clusters (since it's up and responds to metrics
requests) when in fact data is missing.
2023-11-23 09:46:50 -07:00
Daniel R b1548c0d96
establish only 1 rados connection (#235) 2023-03-23 16:35:12 -04:00
Tyler Brekke 957b06df91 Add user to exporter for use with rbd/rgw commands 2022-08-25 15:20:57 -07: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 ef01452f1c reload tls cert whenever it is requested 2022-03-23 11:43:13 -07:00
Kyle 5e7fae5d5a add TLS support 2022-03-22 10:40:40 -07:00
Xavier Villaneau 6f83fdd300 Restructure so that tests do not depend on go-ceph
- `ceph.Conn` interface no longer depends on go-ceph/rados,
  now defines its own `PoolStat` structure for our use.
- New separate `rados` package that implements the interface
- Merged `mocks` package into `ceph` to avoid circular import
2022-02-24 15:57:00 -05:00
Kyle 566f1fa5d3 a ton of refactoring 2022-02-23 15:43:46 -08:00