prometheus-api-client 0.6.0 → 0.6.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/prometheus/api_client/client.rb +2 -2
- data/lib/prometheus/api_client/version.rb +1 -1
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: '09b51aab2a4ea14ccb72c68fa4d7194d3521c6bf'
|
4
|
+
data.tar.gz: 4a609a3c9fdb38b281e608e06b720f2b9d22a4d5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b3f0caed50f59eeabfe188755e18e073d6827c8f06a59df8de46c350fb949b5c788c98278d5abd82ef1424f8c66b388f431e1f7a00801aca9c5e1c3c2a9eab04
|
7
|
+
data.tar.gz: 12ee13b3e9836dcc61790e0779e5c013c82e2d8411945842c247e57a16a0deb1a1443f259d8ae38642eb1b93e0aba2ea45d3b8d05de0f3ca87712e612327c3f8
|
@@ -102,8 +102,8 @@ module Prometheus
|
|
102
102
|
response = get(command, options)
|
103
103
|
|
104
104
|
JSON.parse(response.body)['data']
|
105
|
-
rescue
|
106
|
-
raise RequestError,
|
105
|
+
rescue StandardError => err
|
106
|
+
raise RequestError, err.message
|
107
107
|
end
|
108
108
|
|
109
109
|
# Helper function to evalueate the low level proxy option
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: prometheus-api-client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.6.
|
4
|
+
version: 0.6.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Yaacov Zamir
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2018-02-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|
@@ -16,14 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 0.9
|
19
|
+
version: '0.9'
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: 0.9
|
26
|
+
version: '0.9'
|
27
27
|
description:
|
28
28
|
email:
|
29
29
|
- kobi.zamir@gmail.com
|
@@ -56,7 +56,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
56
56
|
version: '0'
|
57
57
|
requirements: []
|
58
58
|
rubyforge_project:
|
59
|
-
rubygems_version: 2.6.
|
59
|
+
rubygems_version: 2.6.14
|
60
60
|
signing_key:
|
61
61
|
specification_version: 4
|
62
62
|
summary: A suite of reading metrics stored on a Prometheus server.
|