prometheus_exporter 0.4.9 → 0.4.10
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 76513391a1b288238f564b8666b029f8bb2f5806c4b1f6b68778c91686f66b90
|
4
|
+
data.tar.gz: f9428ef3033541a757e73441ef6f280c8e67e8f2dd2573df7b26c29a71d6e866
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9a614cb0bbe415465f870b7c8e1a31025357a300025f72b366903e87a490f42812bbaf69a652a63248eb1fa2b2c5f0f35a549da148e3c9fc3b9f18c5f3624cd0
|
7
|
+
data.tar.gz: fc5aa911f6ee0bff347b395dc3280abae1f0967e0f8f50f28f4bf6a83aadd780d66a2b9713e4c0ae7b0e83bb74a0fefb86f3e6966e238cd6837826a12dbc554c
|
data/CHANGELOG
CHANGED
@@ -61,9 +61,9 @@ module PrometheusExporter::Instrumentation
|
|
61
61
|
|
62
62
|
def listener_address_stats
|
63
63
|
if @tcp
|
64
|
-
Raindrops::Linux.tcp_listener_stats(@listener_address)[@listener_address]
|
64
|
+
Raindrops::Linux.tcp_listener_stats([@listener_address])[@listener_address]
|
65
65
|
else
|
66
|
-
Raindrops::Linux.unix_listener_stats(@listener_address)[@listener_address]
|
66
|
+
Raindrops::Linux.unix_listener_stats([@listener_address])[@listener_address]
|
67
67
|
end
|
68
68
|
end
|
69
69
|
end
|
@@ -26,7 +26,10 @@ module PrometheusExporter::Server
|
|
26
26
|
@puma_metrics.map do |m|
|
27
27
|
labels = {}
|
28
28
|
if m["phase"]
|
29
|
-
labels.merge(phase: m["phase"])
|
29
|
+
labels.merge!(phase: m["phase"])
|
30
|
+
end
|
31
|
+
if m["custom_labels"]
|
32
|
+
labels.merge!(m["custom_labels"])
|
30
33
|
end
|
31
34
|
|
32
35
|
PUMA_GAUGES.map do |k, help|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: prometheus_exporter
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.10
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Sam Saffron
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-04-
|
11
|
+
date: 2019-04-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|