prometheus_exporter 0.1.10 → 0.1.11

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: '0670768fb402bef5d0e563cf3fb0a8299637f03f975f73ed7bf58ee8571bb682'
4
- data.tar.gz: 1db696d86b7de07df16fd2abd3b35cc44d0d19e041d98cd6dc6738f245eccea4
3
+ metadata.gz: 0f8cdad15069a123e796605403a905e67ba6b0310961fecf5e9eb0a96d3f1d9e
4
+ data.tar.gz: 2b5c3584a871a670dbbb2166e801de402a279164261281a3693769bef705fe37
5
5
  SHA512:
6
- metadata.gz: 062d0dbedc25eb1f4c267f434b4f4f1a76b9a70c3c1b0eb8d8c4d44afe63003737152afff75af41099a7e48b81c8c6206e9ace60cd26f92a8a3664030dfd13ee
7
- data.tar.gz: 1a2afb4920a3cd2d15214b1b212d7828e62b022a804fba37fb1a8797a6ca93c6c90da8333524474e2dc32271e1a8a1abbb4e554be40d5df52c1ec4d65e723d7b
6
+ metadata.gz: ee0180cc0497889ca30f6f9920be065a35cbad7553a6ceddbfbb3647c8fc9e92f9a61b72973671232e07f5326b182460bd7e841c02f4e82cf73e311d451e7903
7
+ data.tar.gz: 0607ff6aca87265054f28f0a187186bfd55472a8271a7184c81ef82ee4f3febabde16ca354e634a953c31c5d989befb0ed5adaf5e95ed4e68bb7b1ad85d3c7f6
@@ -38,7 +38,7 @@ def run
38
38
  PrometheusExporter::Metric::Base.default_prefix = prefix
39
39
 
40
40
  if collector_filename
41
- eval File.read(collector_filename)
41
+ eval File.read(collector_filename), nil, File.expand_path(collector_filename)
42
42
 
43
43
  found = false
44
44
 
@@ -60,7 +60,7 @@ def run
60
60
 
61
61
  if type_collectors.length > 0
62
62
  type_collectors.each do |t|
63
- eval File.read(t)
63
+ eval File.read(t), nil, File.expand_path(t)
64
64
  end
65
65
 
66
66
  ObjectSpace.each_object(Class) do |klass|
@@ -1,3 +1,3 @@
1
1
  module PrometheusExporter
2
- VERSION = "0.1.10"
2
+ VERSION = "0.1.11"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: prometheus_exporter
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.10
4
+ version: 0.1.11
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sam Saffron