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: 71b406ba7c421d68e71912c260c0f520e31ee1f77eaf1fa1d5c1c2787f2de7d4
4
- data.tar.gz: abdb9ec293106feb25d997887558229fe293f6530fb7799d03b94c6183f91a29
3
+ metadata.gz: 76513391a1b288238f564b8666b029f8bb2f5806c4b1f6b68778c91686f66b90
4
+ data.tar.gz: f9428ef3033541a757e73441ef6f280c8e67e8f2dd2573df7b26c29a71d6e866
5
5
  SHA512:
6
- metadata.gz: b09926d30a09bd16df3afa1b55dddc37016d7ce93e4c42d54d874e6f04bc0b2f44ea8ee32211e09abe02ca1ee296bd02e0087640832d6f7854efc7ca300c8c32
7
- data.tar.gz: 3c7d52250ce85c35a461959273b98b6d51db63ff33aa926a34b0c82dc447690dad66e557e7f0cde2bf3c0f99eaad615109c0ad8df7d8b81b36d0238a05515cab
6
+ metadata.gz: 9a614cb0bbe415465f870b7c8e1a31025357a300025f72b366903e87a490f42812bbaf69a652a63248eb1fa2b2c5f0f35a549da148e3c9fc3b9f18c5f3624cd0
7
+ data.tar.gz: fc5aa911f6ee0bff347b395dc3280abae1f0967e0f8f50f28f4bf6a83aadd780d66a2b9713e4c0ae7b0e83bb74a0fefb86f3e6966e238cd6837826a12dbc554c
data/CHANGELOG CHANGED
@@ -1,3 +1,8 @@
1
+ 0.4.10 - 29-04-2019
2
+
3
+ - Fix: Custom label support for puma collector
4
+ - Fix: Raindrops socket collector not working correctly
5
+
1
6
  0.4.9 - 11-04-2019
2
7
 
3
8
  - Fix: Gem was not working correctly in Ruby 2.4 and below due to a syntax error
@@ -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|
@@ -1,3 +1,3 @@
1
1
  module PrometheusExporter
2
- VERSION = "0.4.9"
2
+ VERSION = "0.4.10"
3
3
  end
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.9
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 00:00:00.000000000 Z
11
+ date: 2019-04-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler