Package: prometheus-mongodb-exporter / 1.0.0+git20180522.e755a44-3

Metadata

Package Version Patches format
prometheus-mongodb-exporter 1.0.0+git20180522.e755a44-3 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
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.
02 fix prometheus httphandler.patch | (download)

mongodb_exporter.go | 5 3 + 2 - 0 !
1 file changed, 3 insertions(+), 2 deletions(-)

 fix prometheus http handler to use promhttp.

03 Add version info.patch | (download)

mongodb_exporter.go | 7 4 + 3 - 0 !
version/info.go | 6 6 + 0 - 0 !
2 files changed, 10 insertions(+), 3 deletions(-)

 add version info using linker flags.

04 Spelling.patch | (download)

mongodb_exporter.go | 12 6 + 6 - 0 !
1 file changed, 6 insertions(+), 6 deletions(-)

 fix spelling mistake.

05 Avoid panic on replStats.PreloadStats.patch | (download)

collector/metrics.go | 4 3 + 1 - 0 !
1 file changed, 3 insertions(+), 1 deletion(-)

 avoid panic when replstats.preloadstats is nil.