prometheus_exporter 0.1.5 → 0.1.6

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: d17c6718584f3b92aadf8cbfed5cd2b592df3f2407d19bd6575e0ce4efd6a735
4
- data.tar.gz: f0cb1972defe21ee5b6ee3fd403fd6b20074f928ca5637f6c03128ecaa882eb1
3
+ metadata.gz: f983fdbff857366a4b30252ff817544e08993b15181812b597ebb281ded2fb30
4
+ data.tar.gz: 4d9c9bae239d2bfefa6633646806095edd69b81af6d2c59f18cbe36c91313525
5
5
  SHA512:
6
- metadata.gz: a2a5351286014650a71dbec6f723a8373647c54dd2fd6b9f707746468f4023fdb809893ea225ea72c81c2816fc26b5014b4db42c6c98253e8c2261e518d9ca49
7
- data.tar.gz: c370dfcff273a85a8706429578e7f85e42930562ccf14eea8820df5858bf3f34ccd1bbb6376248491fe93f102460def7b4d89fb9c1388bf8abccc61e2fd193e7
6
+ metadata.gz: 0d614ff763d234e0a738e9388b8d38f6e96832a0757c2ee02b0ddb7f67f4875904d624dc49b0257126a2fe255f47738c98299571ccfb694317af3c8ee63ad479
7
+ data.tar.gz: c810eefd3a240548cd4d4cde7374541cb940388907d1cac422f57feea224997114904a09f7037e921652012038f65f5ec929bb69a239d67feb10c54145f55df8
@@ -17,6 +17,10 @@ module PrometheusExporter::Server
17
17
 
18
18
  @total_bad_metrics = PrometheusExporter::Metric::Counter.new("total_collector_bad_metrics", "total mis-handled metrics by collector")
19
19
 
20
+ @total_metrics.observe(0)
21
+ @total_sessions.observe(0)
22
+ @total_bad_metrics.observe(0)
23
+
20
24
  @server = WEBrick::HTTPServer.new(
21
25
  Port: port,
22
26
  AccessLog: [],
@@ -1,3 +1,3 @@
1
1
  module PrometheusExporter
2
- VERSION = "0.1.5"
2
+ VERSION = "0.1.6"
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.1.5
4
+ version: 0.1.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sam Saffron
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-01-12 00:00:00.000000000 Z
11
+ date: 2018-01-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler