librato-rack 1.1.1 → 2.0.0
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG.md +3 -0
- data/README.md +43 -20
- data/lib/librato/collector/aggregator.rb +45 -25
- data/lib/librato/collector/counter_cache.rb +38 -24
- data/lib/librato/collector.rb +9 -3
- data/lib/librato/rack/configuration.rb +24 -16
- data/lib/librato/rack/errors.rb +2 -0
- data/lib/librato/rack/tracker.rb +11 -16
- data/lib/librato/rack/validating_queue.rb +8 -6
- data/lib/librato/rack/version.rb +1 -1
- data/lib/librato/rack.rb +6 -12
- data/test/apps/custom.ru +5 -1
- data/test/integration/custom_test.rb +20 -6
- data/test/integration/no_stats_test.rb +2 -3
- data/test/integration/no_suites_test.rb +4 -5
- data/test/integration/queue_wait_test.rb +4 -10
- data/test/integration/request_test.rb +20 -23
- data/test/integration/suites_test.rb +5 -7
- data/test/remote/tracker_test.rb +53 -45
- data/test/support/environment_helpers.rb +1 -1
- data/test/test_helper.rb +1 -1
- data/test/unit/collector/aggregator_test.rb +70 -31
- data/test/unit/collector/counter_cache_test.rb +73 -33
- data/test/unit/collector/group_test.rb +20 -16
- data/test/unit/collector_test.rb +6 -5
- data/test/unit/rack/configuration_test.rb +19 -8
- data/test/unit/rack/tracker_test.rb +41 -5
- data.tar.gz.sig +0 -0
- metadata +83 -42
- metadata.gz.sig +1 -0
- checksums.yaml +0 -7
metadata
CHANGED
@@ -1,85 +1,119 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: librato-rack
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 2.0.0
|
5
|
+
prerelease:
|
5
6
|
platform: ruby
|
6
7
|
authors:
|
7
8
|
- Matt Sanders
|
8
9
|
autorequire:
|
9
10
|
bindir: bin
|
10
11
|
cert_chain:
|
11
|
-
-
|
12
|
-
|
12
|
+
- !binary |-
|
13
|
+
LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSURMakNDQWhhZ0F3SUJB
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
dTlKajRWVHJYVHBMdWpQd2s5S3p3cAoyakFMQmdOVkhROEVCQU1DQkxBd0RR
|
30
|
+
WUpLb1pJaHZjTkFRRUZCUUFEZ2dFQkFDdk5zdzFwR3Y3MnhwM0xpRGxaCjB0
|
31
|
+
cGhOUC84NVJjWXlKTWtsc2xHM3RJWWJseW83MXhIVzFVYks1QXJVSzZrMEJO
|
32
|
+
NDNNdURuM3BxTEpRdHRWbWkKYlVkQTN5WWkxM0dlU3JyQU1scjRuSDhZdC9C
|
33
|
+
bi9YcFpHbGlvdUpVQndoMUJqRzZkU2oxaXVSNC85cHQ5L0x0TwpRVGRJYysw
|
34
|
+
N3FHc3B5cFQwVWgvdy9Cb2RFY0d1QWFaWkZsa1U5dm90dFRlNndXTm5NNmhm
|
35
|
+
UkV4aVNJc3Irb1ZlCnM4czgzT2JzaGp1U3pqT3FTNTZJQnRObFBFTCtENmdo
|
36
|
+
alpaTFAzbFM2bDlwNzBQY3BjbCtJY0U0dmVxWm1tS0MKc0dlcGdSY2xDNlVi
|
37
|
+
WmgreVEzYWxYVmdoTTJxc29uQXdJL3JUTm1GSk45a1FuNm5QOStmMVVmL3Fa
|
38
|
+
Rk5jam40TAo5Ymc9Ci0tLS0tRU5EIENFUlRJRklDQVRFLS0tLS0K
|
39
|
+
date: 2017-01-25 00:00:00.000000000 Z
|
13
40
|
dependencies:
|
14
41
|
- !ruby/object:Gem::Dependency
|
15
42
|
name: librato-metrics
|
16
43
|
requirement: !ruby/object:Gem::Requirement
|
44
|
+
none: false
|
17
45
|
requirements:
|
18
|
-
- -
|
46
|
+
- - ~>
|
19
47
|
- !ruby/object:Gem::Version
|
20
|
-
version:
|
48
|
+
version: 2.1.0
|
21
49
|
type: :runtime
|
22
50
|
prerelease: false
|
23
51
|
version_requirements: !ruby/object:Gem::Requirement
|
52
|
+
none: false
|
24
53
|
requirements:
|
25
|
-
- -
|
54
|
+
- - ~>
|
26
55
|
- !ruby/object:Gem::Version
|
27
|
-
version:
|
56
|
+
version: 2.1.0
|
28
57
|
- !ruby/object:Gem::Dependency
|
29
58
|
name: hetchy
|
30
59
|
requirement: !ruby/object:Gem::Requirement
|
60
|
+
none: false
|
31
61
|
requirements:
|
32
|
-
- -
|
62
|
+
- - ~>
|
33
63
|
- !ruby/object:Gem::Version
|
34
64
|
version: '1.0'
|
35
65
|
type: :runtime
|
36
66
|
prerelease: false
|
37
67
|
version_requirements: !ruby/object:Gem::Requirement
|
68
|
+
none: false
|
38
69
|
requirements:
|
39
|
-
- -
|
70
|
+
- - ~>
|
40
71
|
- !ruby/object:Gem::Version
|
41
72
|
version: '1.0'
|
42
73
|
- !ruby/object:Gem::Dependency
|
43
74
|
name: minitest
|
44
75
|
requirement: !ruby/object:Gem::Requirement
|
76
|
+
none: false
|
45
77
|
requirements:
|
46
|
-
- -
|
78
|
+
- - ! '>='
|
47
79
|
- !ruby/object:Gem::Version
|
48
80
|
version: '0'
|
49
81
|
type: :development
|
50
82
|
prerelease: false
|
51
83
|
version_requirements: !ruby/object:Gem::Requirement
|
84
|
+
none: false
|
52
85
|
requirements:
|
53
|
-
- -
|
86
|
+
- - ! '>='
|
54
87
|
- !ruby/object:Gem::Version
|
55
88
|
version: '0'
|
56
89
|
description: Rack middleware to report key app statistics and custom instrumentation
|
57
90
|
to the Librato Metrics service.
|
58
91
|
email:
|
59
92
|
- matt@librato.com
|
93
|
+
- ruby@librato.com
|
60
94
|
executables: []
|
61
95
|
extensions: []
|
62
96
|
extra_rdoc_files: []
|
63
97
|
files:
|
64
|
-
- CHANGELOG.md
|
65
|
-
- LICENSE
|
66
|
-
- README.md
|
67
|
-
- Rakefile
|
68
|
-
- lib/librato-rack.rb
|
69
|
-
- lib/librato/collector.rb
|
70
98
|
- lib/librato/collector/aggregator.rb
|
71
99
|
- lib/librato/collector/counter_cache.rb
|
72
100
|
- lib/librato/collector/exceptions.rb
|
73
101
|
- lib/librato/collector/group.rb
|
74
|
-
- lib/librato/
|
75
|
-
- lib/librato/rack/configuration.rb
|
102
|
+
- lib/librato/collector.rb
|
76
103
|
- lib/librato/rack/configuration/suites.rb
|
104
|
+
- lib/librato/rack/configuration.rb
|
77
105
|
- lib/librato/rack/errors.rb
|
78
106
|
- lib/librato/rack/logger.rb
|
79
107
|
- lib/librato/rack/tracker.rb
|
80
108
|
- lib/librato/rack/validating_queue.rb
|
81
109
|
- lib/librato/rack/version.rb
|
82
110
|
- lib/librato/rack/worker.rb
|
111
|
+
- lib/librato/rack.rb
|
112
|
+
- lib/librato-rack.rb
|
113
|
+
- LICENSE
|
114
|
+
- Rakefile
|
115
|
+
- README.md
|
116
|
+
- CHANGELOG.md
|
83
117
|
- test/apps/basic.ru
|
84
118
|
- test/apps/custom.ru
|
85
119
|
- test/apps/custom_suites.ru
|
@@ -105,49 +139,56 @@ files:
|
|
105
139
|
- test/unit/rack/worker_test.rb
|
106
140
|
homepage: https://github.com/librato/librato-rack
|
107
141
|
licenses:
|
108
|
-
- BSD
|
109
|
-
metadata: {}
|
142
|
+
- BSD-3-Clause
|
110
143
|
post_install_message:
|
111
144
|
rdoc_options: []
|
112
145
|
require_paths:
|
113
146
|
- lib
|
114
147
|
required_ruby_version: !ruby/object:Gem::Requirement
|
148
|
+
none: false
|
115
149
|
requirements:
|
116
|
-
- -
|
150
|
+
- - ! '>='
|
117
151
|
- !ruby/object:Gem::Version
|
118
152
|
version: '0'
|
153
|
+
segments:
|
154
|
+
- 0
|
155
|
+
hash: 2556710528396302648
|
119
156
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
157
|
+
none: false
|
120
158
|
requirements:
|
121
|
-
- -
|
159
|
+
- - ! '>='
|
122
160
|
- !ruby/object:Gem::Version
|
123
161
|
version: '0'
|
162
|
+
segments:
|
163
|
+
- 0
|
164
|
+
hash: 2556710528396302648
|
124
165
|
requirements: []
|
125
166
|
rubyforge_project:
|
126
|
-
rubygems_version:
|
167
|
+
rubygems_version: 1.8.23.2
|
127
168
|
signing_key:
|
128
|
-
specification_version:
|
169
|
+
specification_version: 3
|
129
170
|
summary: Use Librato Metrics with your rack application
|
130
171
|
test_files:
|
131
|
-
- test/
|
132
|
-
- test/
|
133
|
-
- test/
|
134
|
-
- test/
|
135
|
-
- test/
|
136
|
-
- test/
|
137
|
-
- test/unit/rack/tracker_test.rb
|
138
|
-
- test/unit/rack/configuration_test.rb
|
139
|
-
- test/unit/rack/worker_test.rb
|
172
|
+
- test/apps/basic.ru
|
173
|
+
- test/apps/custom.ru
|
174
|
+
- test/apps/custom_suites.ru
|
175
|
+
- test/apps/no_stats.ru
|
176
|
+
- test/apps/queue_wait.ru
|
177
|
+
- test/integration/custom_test.rb
|
140
178
|
- test/integration/no_stats_test.rb
|
179
|
+
- test/integration/no_suites_test.rb
|
141
180
|
- test/integration/queue_wait_test.rb
|
142
181
|
- test/integration/request_test.rb
|
143
|
-
- test/integration/custom_test.rb
|
144
|
-
- test/integration/no_suites_test.rb
|
145
182
|
- test/integration/suites_test.rb
|
183
|
+
- test/remote/tracker_test.rb
|
146
184
|
- test/support/environment_helpers.rb
|
147
185
|
- test/test_helper.rb
|
148
|
-
- test/
|
149
|
-
- test/
|
150
|
-
- test/
|
151
|
-
- test/
|
152
|
-
- test/
|
153
|
-
- test/
|
186
|
+
- test/unit/collector/aggregator_test.rb
|
187
|
+
- test/unit/collector/counter_cache_test.rb
|
188
|
+
- test/unit/collector/group_test.rb
|
189
|
+
- test/unit/collector_test.rb
|
190
|
+
- test/unit/rack/configuration/suites_test.rb
|
191
|
+
- test/unit/rack/configuration_test.rb
|
192
|
+
- test/unit/rack/logger_test.rb
|
193
|
+
- test/unit/rack/tracker_test.rb
|
194
|
+
- test/unit/rack/worker_test.rb
|
metadata.gz.sig
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
�Nrx����1��o7!�f���h5��V9H_$��Kb�B:\K�{Hؼ���ʴ� T��4�� v5����ìA�FHÜ���o�2��E3?��n-�`�]t4*PV��Ϗ.|E��6������~YB���$O��t;��3&q¥%p�O"˸�=�Oҝ=�$'���J�Md���tO@?V9�C[NH�ѳ��CMJ���CSF��;�\�'��j�9�[Q|�Ɍ�}g o:Q�ס�c�ϣOs6Rӕ!=
|
checksums.yaml
DELETED
@@ -1,7 +0,0 @@
|
|
1
|
-
---
|
2
|
-
SHA256:
|
3
|
-
metadata.gz: 166d12211f03918ae932f69cef410ab25dab8c81559418f7bfbcb60d6ba518b6
|
4
|
-
data.tar.gz: fe3b81c8d79e7583e4f2ab49e6e5c8eaea52ec0190b5d5f5734581bd06c6d85d
|
5
|
-
SHA512:
|
6
|
-
metadata.gz: 901388b2a16efea6d162189a96102f52e84c4904909f50c53ce024698dee51618bb5266c67b0af740492bee13028fe676849660758e8116cd2e4b0e92e4d2ad5
|
7
|
-
data.tar.gz: 3118d9c1cd7bf4a89a89454120a4149b821466f72c682871ce97d2b83082909fed5e977bc48fa3d6b6bf47d746958f56606311fa85cbd85999fea1c7ca2cad4b
|