monit_request_client 0.8.0 → 0.9.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 +4 -4
- data/README.md +3 -1
- data/lib/monit_request_client.rb +1 -1
- data/lib/monit_request_client/version.rb +1 -1
- data/monit_request_client.gemspec +1 -0
- metadata +16 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 5f44f0eed7152918afb1c497f84e8cbfddb14a57f872abf0499b22ee2d2c680f
|
|
4
|
+
data.tar.gz: 196e0803f8109ccadf07107408eb8fba866cd629d40451d99b1a51bbc1651520
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 312796c4df424d54ede1e2c61ca6a39d64296b7bdbddbadc67de31fca739caa4d27c228e8fd995e21170c0bd167b1633a51649024e692bd3a3bb037d63ea59a2
|
|
7
|
+
data.tar.gz: fe3eac524fe5a71c898e8f29f67d990cbe86797da9344b99f4b38e735e47069a20cb17b137be1423215d941980954299266466caba116f955866b697f169c954
|
data/README.md
CHANGED
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
# MonitRequestClient
|
|
2
2
|
|
|
3
|
-
Put Rails reqeust to rabbitmq to parse. I use golang to parse it and find our application problem
|
|
3
|
+
Put Rails reqeust to rabbitmq to parse. I use golang to parse it and find our application problem.
|
|
4
|
+
But I want to use grpc to implement it in future(used it in golang in some project).
|
|
5
|
+
step by step, just wait.
|
|
4
6
|
|
|
5
7
|
## Installation
|
|
6
8
|
|
data/lib/monit_request_client.rb
CHANGED
|
@@ -9,7 +9,7 @@ module MonitRequestClient
|
|
|
9
9
|
|
|
10
10
|
def initialize(app)
|
|
11
11
|
begin
|
|
12
|
-
@config = YAML.load_file(Rails.root.join('config', 'dashboard.yml'))
|
|
12
|
+
@config = Hashie::Mash.new YAML.load_file(Rails.root.join('config', 'dashboard.yml'))
|
|
13
13
|
if @config["collect_data"] == false
|
|
14
14
|
@app = app
|
|
15
15
|
return
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: monit_request_client
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.9.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- xuxh
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2019-02-
|
|
11
|
+
date: 2019-02-25 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: bundler
|
|
@@ -66,6 +66,20 @@ dependencies:
|
|
|
66
66
|
- - ">="
|
|
67
67
|
- !ruby/object:Gem::Version
|
|
68
68
|
version: '0'
|
|
69
|
+
- !ruby/object:Gem::Dependency
|
|
70
|
+
name: hashie
|
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
|
72
|
+
requirements:
|
|
73
|
+
- - ">="
|
|
74
|
+
- !ruby/object:Gem::Version
|
|
75
|
+
version: '0'
|
|
76
|
+
type: :runtime
|
|
77
|
+
prerelease: false
|
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
79
|
+
requirements:
|
|
80
|
+
- - ">="
|
|
81
|
+
- !ruby/object:Gem::Version
|
|
82
|
+
version: '0'
|
|
69
83
|
description: 监控请求,对某些请求和数据库做处理
|
|
70
84
|
email:
|
|
71
85
|
- xxh2611@gmail.com
|