Commit 95d5303
committed
mgr/prometheus: fix pool_objects_repaired and daemon_health_metrics format
mgr/prometheus: fix pool_objects_repaired and daemon_health_metrics format
- fix "error reading metrics for http://****:***/metrics: reading text format failed: text format parsing error in line 2010: second HELP line for metric name "ceph_pool_objects_repaired" error
- rename label name "poolid" to "pool_id" like all other metrics
- change type for the "daemon_health_metrics" to gauge
Fixes: https://tracker.ceph.com/issues/59505
Signed-off-by: banuchka <[email protected]>1 parent 7dd2397 commit 95d5303
1 file changed
+16
-15
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
760 | 760 | | |
761 | 761 | | |
762 | 762 | | |
| 763 | + | |
| 764 | + | |
| 765 | + | |
| 766 | + | |
| 767 | + | |
| 768 | + | |
| 769 | + | |
| 770 | + | |
| 771 | + | |
| 772 | + | |
| 773 | + | |
| 774 | + | |
| 775 | + | |
| 776 | + | |
763 | 777 | | |
764 | 778 | | |
765 | 779 | | |
| |||
1600 | 1614 | | |
1601 | 1615 | | |
1602 | 1616 | | |
1603 | | - | |
1604 | | - | |
1605 | | - | |
1606 | | - | |
1607 | | - | |
1608 | | - | |
1609 | | - | |
1610 | | - | |
| 1617 | + | |
1611 | 1618 | | |
1612 | 1619 | | |
1613 | 1620 | | |
| |||
1616 | 1623 | | |
1617 | 1624 | | |
1618 | 1625 | | |
1619 | | - | |
1620 | | - | |
1621 | | - | |
1622 | | - | |
1623 | | - | |
1624 | | - | |
1625 | | - | |
| 1626 | + | |
1626 | 1627 | | |
1627 | 1628 | | |
1628 | 1629 | | |
| |||
0 commit comments