Commit 1145d8e
committed
prometheus: Add core metrics per-mount for free space and limit
This adds two gauge metrics which are emitted per configured mount, one
for available bytes and the other for the low watermark. The label
`"disk=<name>"` is attached to both gauges to distinguish which mount
the gauge applies to.1 parent 5aeb92e commit 1145d8e
File tree
2 files changed
+19
-0
lines changed- deps/rabbitmq_prometheus
- src/collectors
2 files changed
+19
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
136 | 136 | | |
137 | 137 | | |
138 | 138 | | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
139 | 148 | | |
140 | 149 | | |
141 | 150 | | |
| |||
Lines changed: 10 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
85 | 85 | | |
86 | 86 | | |
87 | 87 | | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
88 | 92 | | |
89 | 93 | | |
90 | 94 | | |
| |||
856 | 860 | | |
857 | 861 | | |
858 | 862 | | |
| 863 | + | |
| 864 | + | |
| 865 | + | |
| 866 | + | |
| 867 | + | |
| 868 | + | |
859 | 869 | | |
860 | 870 | | |
861 | 871 | | |
| |||
0 commit comments