01 fix prom client compat.patch | (download) |
collector/asserts.go |
2 1 + 1 - 0 !
collector/background_flushing.go |
4 2 + 2 - 0 !
collector/collection_wiredtiger.go |
8 4 + 4 - 0 !
collector/conn_pool_stats.go |
2 1 + 1 - 0 !
collector/connections.go |
2 1 + 1 - 0 !
collector/global_lock.go |
2 1 + 1 - 0 !
collector/index_counters.go |
2 1 + 1 - 0 !
collector/locks.go |
6 3 + 3 - 0 !
collector/metrics.go |
46 23 + 23 - 0 !
collector/network.go |
4 2 + 2 - 0 !
collector/op_counters.go |
4 2 + 2 - 0 !
collector/replset_status.go |
2 1 + 1 - 0 !
collector/server_status.go |
6 3 + 3 - 0 !
collector/storage_engine.go |
2 1 + 1 - 0 !
collector/top_counters.go |
4 2 + 2 - 0 !
collector/wiredtiger.go |
22 11 + 11 - 0 !
16 files changed, 59 insertions(+), 59 deletions(-) |
support 0.9-pre release of prometheus client
The latest release of Prometheus client does not allow one to set a value on a
Counter. Setting values on Counters was already deprecated on version 0.8.
.
This patch basically convert to Gauges all the Counters whose values are set
by the no longer existing method.
|