como_client 0.3.0 → 0.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 0a46fb908d89401f14ca6a5da2b07b90ac80d908f0a63da574a7f7a3b2c32fd2
4
- data.tar.gz: 2cbdc2ad2c54f24ee9beaea1b4b053ca19f9601c86011943b832707d759baa27
3
+ metadata.gz: 32d33cc8687a74812acadd07405192a046683f8f3d087b3e8619d504d7f70242
4
+ data.tar.gz: 8a991ccc887b6a84ffc8865b0901652711425c2781bbf8bf9480d39b8cc60e98
5
5
  SHA512:
6
- metadata.gz: e267901e852d2c4e182805e9b62a1e8b80a2e85f59e1effe89b59414661ceb9c2e3b99cb716bf3d7d927acf7cb7c91674f6a92534e64d3f9bfec8d328268bd37
7
- data.tar.gz: 02c09fec0e0cedf8595a61eb7ac854e4ce6003fe08dab48d7febb9f1506b447c3175ceddf38b70442c7ef7d36b829eefd07a6d828f7fafe13a8f434b7767c35d
6
+ metadata.gz: 71a0036a8945bc487c99a3b52282577c2a53bba473bfb0a8c11320daae366306bee339b18daa0d58ef03d0c4adccfb42aa1fe0a3cc6ac4556ffd9beb0e70368a
7
+ data.tar.gz: 12974584aad84cc4b2c93dd6878a5988fb884da73ec3bbadbdc13080de63fd80cd293ca3d94f3cafd5b72ecd7250e5e8a1f75b561aeba7cf466659f18a19421d
data/como_client.gemspec CHANGED
@@ -32,7 +32,7 @@ Gem::Specification.new do |spec|
32
32
 
33
33
  spec.add_development_dependency 'rspec', '~> 3.9.0'
34
34
  spec.add_dependency 'concurrent-ruby', '~> 1.1.5'
35
- spec.add_dependency 'prometheus-client', '~> 1.0'
35
+ spec.add_dependency 'prometheus-client', '~> 4.0'
36
36
  spec.add_dependency 'usagewatch_ext', '~> 0.2.1'
37
37
  spec.add_dependency 'mem_info', '~> 1.0.1'
38
38
  end
@@ -9,9 +9,9 @@ module COMOClient
9
9
  COMOClient.logger.debug("job: #{COMOClient.configuration.job_name}")
10
10
  COMOClient.logger.debug("instance: #{COMOClient.configuration.instance_name}")
11
11
  COMOClient::Metrics.update
12
- Prometheus::Client::Push.new(COMOClient.configuration.job_name, #job name
13
- COMOClient.configuration.instance_name,#instance name
14
- COMOClient.configuration.pushgateway_url)#pushgateway url
12
+ Prometheus::Client::Push.new(job: COMOClient.configuration.job_name, #job name
13
+ instance: COMOClient.configuration.instance_name,#instance name
14
+ gateway: COMOClient.configuration.pushgateway_url)#pushgateway url
15
15
  .add(Prometheus::Client.registry)
16
16
  COMOClient.logger.debug("successfully pushed metrics")
17
17
  end
@@ -1,3 +1,3 @@
1
1
  module COMOClient
2
- VERSION = "0.3.0"
2
+ VERSION = "0.4.0"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: como_client
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.4.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Disler Colin
8
- autorequire:
8
+ autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2020-07-01 00:00:00.000000000 Z
11
+ date: 2022-08-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rspec
@@ -44,14 +44,14 @@ dependencies:
44
44
  requirements:
45
45
  - - "~>"
46
46
  - !ruby/object:Gem::Version
47
- version: '1.0'
47
+ version: '4.0'
48
48
  type: :runtime
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
52
  - - "~>"
53
53
  - !ruby/object:Gem::Version
54
- version: '1.0'
54
+ version: '4.0'
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: usagewatch_ext
57
57
  requirement: !ruby/object:Gem::Requirement
@@ -109,7 +109,7 @@ licenses:
109
109
  - MIT
110
110
  metadata:
111
111
  allowed_push_host: https://rubygems.org
112
- post_install_message:
112
+ post_install_message:
113
113
  rdoc_options: []
114
114
  require_paths:
115
115
  - lib
@@ -124,8 +124,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
124
124
  - !ruby/object:Gem::Version
125
125
  version: '0'
126
126
  requirements: []
127
- rubygems_version: 3.0.6
128
- signing_key:
127
+ rubygems_version: 3.1.6
128
+ signing_key:
129
129
  specification_version: 4
130
130
  summary: A Prometheus Client for continuous monitoring
131
131
  test_files: []