prometheus-api-client 0.6.2 → 0.6.3
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 +4 -1
- data/lib/prometheus/api_client/version.rb +1 -1
- metadata +12 -12
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2d294bf6f65b6fec8a2351a5be3ff46629c26fd7ae1d1592b468180faf71ea04
|
4
|
+
data.tar.gz: b66b47d6a953fbf0416793533eaaf33d7d33ef4e575f02a987f9f7de09446bd5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9b14ee8b7de5de2deb0a09f768a826aefba9584506e5a75851b82cafcb865d98e494585f1750ed0420bf6be47749c8e39a3a5ad33305150d009df1b8cf005cb5
|
7
|
+
data.tar.gz: 2d81ef022b0dc8d8ec7ad0a0b999989455c2770d7056f2e155ed9a18a9c39daaa01791b5fba28ff33909ea31b732efba91a1feea98710fd52768af7c8e5226e4
|
@@ -2,6 +2,7 @@
|
|
2
2
|
|
3
3
|
require 'json'
|
4
4
|
require 'faraday'
|
5
|
+
require 'faraday/net_http'
|
5
6
|
|
6
7
|
module Prometheus
|
7
8
|
# Client is a ruby implementation for a Prometheus compatible api_client.
|
@@ -38,7 +39,9 @@ module Prometheus
|
|
38
39
|
|
39
40
|
@client = Faraday.new(
|
40
41
|
faraday_options(options),
|
41
|
-
)
|
42
|
+
) do |f|
|
43
|
+
f.adapter :net_http
|
44
|
+
end
|
42
45
|
end
|
43
46
|
|
44
47
|
# Evaluates an instant query at a single point in time:
|
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.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Yaacov Zamir
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2023-03-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|
@@ -16,21 +16,21 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version:
|
19
|
+
version: 2.0.0
|
20
20
|
- - "<"
|
21
21
|
- !ruby/object:Gem::Version
|
22
|
-
version:
|
22
|
+
version: 3.0.0
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
26
26
|
requirements:
|
27
27
|
- - ">="
|
28
28
|
- !ruby/object:Gem::Version
|
29
|
-
version:
|
29
|
+
version: 2.0.0
|
30
30
|
- - "<"
|
31
31
|
- !ruby/object:Gem::Version
|
32
|
-
version:
|
33
|
-
description:
|
32
|
+
version: 3.0.0
|
33
|
+
description:
|
34
34
|
email:
|
35
35
|
- kobi.zamir@gmail.com
|
36
36
|
executables: []
|
@@ -46,7 +46,7 @@ homepage: https://github.com/yaacov/prometheus_api_client_ruby
|
|
46
46
|
licenses:
|
47
47
|
- Apache-2.0
|
48
48
|
metadata: {}
|
49
|
-
post_install_message:
|
49
|
+
post_install_message:
|
50
50
|
rdoc_options: []
|
51
51
|
require_paths:
|
52
52
|
- lib
|
@@ -54,15 +54,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
54
54
|
requirements:
|
55
55
|
- - ">="
|
56
56
|
- !ruby/object:Gem::Version
|
57
|
-
version:
|
57
|
+
version: 3.0.0
|
58
58
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
59
59
|
requirements:
|
60
60
|
- - ">="
|
61
61
|
- !ruby/object:Gem::Version
|
62
62
|
version: '0'
|
63
63
|
requirements: []
|
64
|
-
rubygems_version: 3.
|
65
|
-
signing_key:
|
64
|
+
rubygems_version: 3.4.6
|
65
|
+
signing_key:
|
66
66
|
specification_version: 4
|
67
67
|
summary: A suite of reading metrics stored on a Prometheus server.
|
68
68
|
test_files: []
|