librato-rails 0.12.0.beta → 0.12.0
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG.md +1 -1
- data/README.md +12 -8
- data/lib/librato/rails/version.rb +1 -1
- data.tar.gz.sig +0 -0
- metadata +79 -54
- metadata.gz.sig +0 -0
- checksums.yaml +0 -7
- checksums.yaml.gz.sig +0 -0
data/CHANGELOG.md
CHANGED
data/README.md
CHANGED
@@ -146,21 +146,25 @@ Librato.timing 'twitter.lookup.time' do
|
|
146
146
|
end
|
147
147
|
```
|
148
148
|
|
149
|
-
|
149
|
+
#### percentiles
|
150
150
|
|
151
151
|
By defaults timings will send the average, sum, max and min for every minute. If you want to send percentiles as well you can specify them inline while instrumenting:
|
152
152
|
|
153
|
-
|
154
|
-
|
153
|
+
```ruby
|
154
|
+
# track a single percentile
|
155
|
+
Librato.timing 'api.request.time', time, percentile: 95
|
155
156
|
|
156
|
-
|
157
|
-
|
157
|
+
# track multiple percentiles
|
158
|
+
Librato.timing 'api.request.time', time, percentile: [95, 99]
|
159
|
+
```
|
158
160
|
|
159
161
|
You can also use percentiles with the block form of timings:
|
160
162
|
|
161
|
-
|
162
|
-
|
163
|
-
|
163
|
+
```ruby
|
164
|
+
Librato.timing 'my.important.event', percentile: 95 do
|
165
|
+
# do work
|
166
|
+
end
|
167
|
+
```
|
164
168
|
|
165
169
|
#### group
|
166
170
|
|
data.tar.gz.sig
CHANGED
Binary file
|
metadata
CHANGED
@@ -1,119 +1,137 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: librato-rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.12.0
|
4
|
+
version: 0.12.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
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
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DdQaUppcGlqYktCCkVpZWZnVXVvbFJSMzhOeFFF
|
27
|
+
K2Y0TS9sRXF3RXBrWS9mZVlNWUY2UTRoWFZydUczZnN3anJER1d5aUc1bkVR
|
28
|
+
SUQKQVFBQm96a3dOekFKQmdOVkhSTUVBakFBTUIwR0ExVWREZ1FXQkJSOCts
|
29
|
+
MFpTVGJqL1RUNllWYkZGcGRHcGc3cQpVREFMQmdOVkhROEVCQU1DQkxBd0RR
|
30
|
+
WUpLb1pJaHZjTkFRRUZCUUFEZ2dFQkFLdVVpdUcyUEh2NnBhUWpYamFaCkxR
|
31
|
+
T3NGdW5TY0h5aERoUEZoL0NjQ1VEYm1YVkRPSjNXSXlEVlF1VWdLN0kzalBF
|
32
|
+
RGFTRmV6U1BCcGp3WnZnTUsKMC9pbjdwWExSS2pJOEN6c1k4WTR1MTIyRE45
|
33
|
+
dEJ4THVyK0Uva3Y1ZnBVYmY4RkdVU3VSVDVYM3doNlpCVHpzWgpFYU1lM0xw
|
34
|
+
UEZVZU1TaEgvSC9GRVlyZXhSdmFNSG8vNTJCZzB6UDB5U1NBUURvdG0rcWdN
|
35
|
+
ZHJ1MlhSRGpFNU1zCjlCaGVBbm95Z0dIcG9LV3RFeHBza2xDcHBMMXEyWGx6
|
36
|
+
dzJsaG9DTUxDU1NqOVQvWXlSVEwzVVFZb0s1cFBBNzYKaHZqeDBXSlA4cHpa
|
37
|
+
TUpQS0pCUlpRWEpPNWlmRVB5S2paeU1pNVhNSG1ydERjbEhMajNzeDRSQXZF
|
38
|
+
WmpHV2tSUApKU1E9Ci0tLS0tRU5EIENFUlRJRklDQVRFLS0tLS0K
|
39
|
+
date: 2015-10-12 00:00:00.000000000 Z
|
34
40
|
dependencies:
|
35
41
|
- !ruby/object:Gem::Dependency
|
36
42
|
name: railties
|
37
43
|
requirement: !ruby/object:Gem::Requirement
|
44
|
+
none: false
|
38
45
|
requirements:
|
39
|
-
- -
|
46
|
+
- - ! '>='
|
40
47
|
- !ruby/object:Gem::Version
|
41
48
|
version: '3.0'
|
42
49
|
type: :runtime
|
43
50
|
prerelease: false
|
44
51
|
version_requirements: !ruby/object:Gem::Requirement
|
52
|
+
none: false
|
45
53
|
requirements:
|
46
|
-
- -
|
54
|
+
- - ! '>='
|
47
55
|
- !ruby/object:Gem::Version
|
48
56
|
version: '3.0'
|
49
57
|
- !ruby/object:Gem::Dependency
|
50
58
|
name: activesupport
|
51
59
|
requirement: !ruby/object:Gem::Requirement
|
60
|
+
none: false
|
52
61
|
requirements:
|
53
|
-
- -
|
62
|
+
- - ! '>='
|
54
63
|
- !ruby/object:Gem::Version
|
55
64
|
version: '3.0'
|
56
65
|
type: :runtime
|
57
66
|
prerelease: false
|
58
67
|
version_requirements: !ruby/object:Gem::Requirement
|
68
|
+
none: false
|
59
69
|
requirements:
|
60
|
-
- -
|
70
|
+
- - ! '>='
|
61
71
|
- !ruby/object:Gem::Version
|
62
72
|
version: '3.0'
|
63
73
|
- !ruby/object:Gem::Dependency
|
64
74
|
name: librato-rack
|
65
75
|
requirement: !ruby/object:Gem::Requirement
|
76
|
+
none: false
|
66
77
|
requirements:
|
67
78
|
- - '='
|
68
79
|
- !ruby/object:Gem::Version
|
69
|
-
version: 0.5.0
|
80
|
+
version: 0.5.0
|
70
81
|
type: :runtime
|
71
82
|
prerelease: false
|
72
83
|
version_requirements: !ruby/object:Gem::Requirement
|
84
|
+
none: false
|
73
85
|
requirements:
|
74
86
|
- - '='
|
75
87
|
- !ruby/object:Gem::Version
|
76
|
-
version: 0.5.0
|
88
|
+
version: 0.5.0
|
77
89
|
- !ruby/object:Gem::Dependency
|
78
90
|
name: sqlite3
|
79
91
|
requirement: !ruby/object:Gem::Requirement
|
92
|
+
none: false
|
80
93
|
requirements:
|
81
|
-
- -
|
94
|
+
- - ! '>='
|
82
95
|
- !ruby/object:Gem::Version
|
83
96
|
version: '1.3'
|
84
97
|
type: :development
|
85
98
|
prerelease: false
|
86
99
|
version_requirements: !ruby/object:Gem::Requirement
|
100
|
+
none: false
|
87
101
|
requirements:
|
88
|
-
- -
|
102
|
+
- - ! '>='
|
89
103
|
- !ruby/object:Gem::Version
|
90
104
|
version: '1.3'
|
91
105
|
- !ruby/object:Gem::Dependency
|
92
106
|
name: capybara
|
93
107
|
requirement: !ruby/object:Gem::Requirement
|
108
|
+
none: false
|
94
109
|
requirements:
|
95
|
-
- -
|
110
|
+
- - ~>
|
96
111
|
- !ruby/object:Gem::Version
|
97
112
|
version: 2.0.3
|
98
113
|
type: :development
|
99
114
|
prerelease: false
|
100
115
|
version_requirements: !ruby/object:Gem::Requirement
|
116
|
+
none: false
|
101
117
|
requirements:
|
102
|
-
- -
|
118
|
+
- - ~>
|
103
119
|
- !ruby/object:Gem::Version
|
104
120
|
version: 2.0.3
|
105
121
|
- !ruby/object:Gem::Dependency
|
106
122
|
name: rails
|
107
123
|
requirement: !ruby/object:Gem::Requirement
|
124
|
+
none: false
|
108
125
|
requirements:
|
109
|
-
- -
|
126
|
+
- - ! '>='
|
110
127
|
- !ruby/object:Gem::Version
|
111
128
|
version: '3.0'
|
112
129
|
type: :development
|
113
130
|
prerelease: false
|
114
131
|
version_requirements: !ruby/object:Gem::Requirement
|
132
|
+
none: false
|
115
133
|
requirements:
|
116
|
-
- -
|
134
|
+
- - ! '>='
|
117
135
|
- !ruby/object:Gem::Version
|
118
136
|
version: '3.0'
|
119
137
|
description: Report key app statistics to the Librato Metrics service and easily track
|
@@ -124,27 +142,25 @@ executables: []
|
|
124
142
|
extensions: []
|
125
143
|
extra_rdoc_files: []
|
126
144
|
files:
|
127
|
-
- CHANGELOG.md
|
128
|
-
- FAQ.md
|
129
|
-
- LICENSE
|
130
|
-
- README.md
|
131
|
-
- Rakefile
|
132
|
-
- lib/librato-rails.rb
|
133
|
-
- lib/librato/rails.rb
|
134
145
|
- lib/librato/rails/configuration.rb
|
135
|
-
- lib/librato/rails/helpers.rb
|
136
146
|
- lib/librato/rails/helpers/controller.rb
|
147
|
+
- lib/librato/rails/helpers.rb
|
137
148
|
- lib/librato/rails/railtie.rb
|
138
|
-
- lib/librato/rails/subscribers.rb
|
139
149
|
- lib/librato/rails/subscribers/cache.rb
|
140
150
|
- lib/librato/rails/subscribers/controller.rb
|
141
151
|
- lib/librato/rails/subscribers/mail.rb
|
142
152
|
- lib/librato/rails/subscribers/render.rb
|
143
153
|
- lib/librato/rails/subscribers/sql.rb
|
154
|
+
- lib/librato/rails/subscribers.rb
|
144
155
|
- lib/librato/rails/tracker.rb
|
145
156
|
- lib/librato/rails/version.rb
|
146
|
-
-
|
147
|
-
-
|
157
|
+
- lib/librato/rails.rb
|
158
|
+
- lib/librato-rails.rb
|
159
|
+
- LICENSE
|
160
|
+
- Rakefile
|
161
|
+
- README.md
|
162
|
+
- CHANGELOG.md
|
163
|
+
- FAQ.md
|
148
164
|
- test/dummy/app/assets/javascripts/application.js
|
149
165
|
- test/dummy/app/assets/javascripts/home.js
|
150
166
|
- test/dummy/app/assets/javascripts/status.js
|
@@ -171,7 +187,6 @@ files:
|
|
171
187
|
- test/dummy/app/views/render/template.html.erb
|
172
188
|
- test/dummy/app/views/status/code.html.erb
|
173
189
|
- test/dummy/app/views/user_mailer/welcome_email.text.erb
|
174
|
-
- test/dummy/config.ru
|
175
190
|
- test/dummy/config/application.rb
|
176
191
|
- test/dummy/config/boot.rb
|
177
192
|
- test/dummy/config/database.yml
|
@@ -189,12 +204,15 @@ files:
|
|
189
204
|
- test/dummy/config/locales/en.yml
|
190
205
|
- test/dummy/config/routes.rb
|
191
206
|
- test/dummy/config/unicorn.rb
|
207
|
+
- test/dummy/config.ru
|
192
208
|
- test/dummy/db/migrate/20120719231810_create_users.rb
|
193
209
|
- test/dummy/db/schema.rb
|
194
210
|
- test/dummy/public/404.html
|
195
211
|
- test/dummy/public/422.html
|
196
212
|
- test/dummy/public/500.html
|
197
213
|
- test/dummy/public/favicon.ico
|
214
|
+
- test/dummy/Rakefile
|
215
|
+
- test/dummy/README.rdoc
|
198
216
|
- test/dummy/script/rails
|
199
217
|
- test/fixtures/config/empty.yml
|
200
218
|
- test/fixtures/config/librato.yml
|
@@ -213,26 +231,33 @@ files:
|
|
213
231
|
homepage: https://github.com/librato/librato-rails
|
214
232
|
licenses:
|
215
233
|
- BSD 3-clause
|
216
|
-
metadata: {}
|
217
234
|
post_install_message:
|
218
235
|
rdoc_options: []
|
219
236
|
require_paths:
|
220
237
|
- lib
|
221
238
|
required_ruby_version: !ruby/object:Gem::Requirement
|
239
|
+
none: false
|
222
240
|
requirements:
|
223
|
-
- -
|
241
|
+
- - ! '>='
|
224
242
|
- !ruby/object:Gem::Version
|
225
243
|
version: '0'
|
244
|
+
segments:
|
245
|
+
- 0
|
246
|
+
hash: -1537943949532100725
|
226
247
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
248
|
+
none: false
|
227
249
|
requirements:
|
228
|
-
- -
|
250
|
+
- - ! '>='
|
229
251
|
- !ruby/object:Gem::Version
|
230
|
-
version:
|
252
|
+
version: '0'
|
253
|
+
segments:
|
254
|
+
- 0
|
255
|
+
hash: -1537943949532100725
|
231
256
|
requirements: []
|
232
257
|
rubyforge_project:
|
233
|
-
rubygems_version:
|
258
|
+
rubygems_version: 1.8.23.2
|
234
259
|
signing_key:
|
235
|
-
specification_version:
|
260
|
+
specification_version: 3
|
236
261
|
summary: Use Librato Metrics with your Rails 3 app
|
237
262
|
test_files:
|
238
263
|
- test/dummy/app/assets/javascripts/application.js
|
metadata.gz.sig
CHANGED
Binary file
|
checksums.yaml
DELETED
@@ -1,7 +0,0 @@
|
|
1
|
-
---
|
2
|
-
SHA1:
|
3
|
-
metadata.gz: 061a0b954550c13083a49275f67d6e4b9fe0c2ba
|
4
|
-
data.tar.gz: c05a4c4c3a6744d0be5c8062236ded43bb148df8
|
5
|
-
SHA512:
|
6
|
-
metadata.gz: 0d137595c22bf02f19a9cb190619304173b68fd6f834197a0dfe6007592a8ca91127cd660439fdbbec9b323222d1d8472765c974b5b48205a17d105d2a12baac
|
7
|
-
data.tar.gz: 3425c4dac77c769ec32b3e93eed4bef75c7b878b2c21dace0e3a08fe1abb45288f873ad9b283d920b4864d97f82ff98882a06ce305c3df8e67d34b3ff7e64e6d
|
checksums.yaml.gz.sig
DELETED
Binary file
|