librato-metrics 2.0.0.beta → 2.0.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- YTE5NzIwZDkwZjhiMWQ5OWVmNWM1MGViYjViMmYxMzg3NzU0Y2M0Ng==
4
+ ZWI5N2QwNjUwYTgxZTdlZWMwNjEwY2E1N2M2YTc0NWRkZDhjM2U3Zg==
5
5
  data.tar.gz: !binary |-
6
- MmFkM2Q2M2Q4MDNhYTBhZTcyODhkMDRlODg4ZjI1YmIxOTk4Yzk2YQ==
6
+ Mjc0ZjBmNmVkZTRjM2U3MjRmYTM3ZmRjMTQ4OGE0NGM2MjI1NWU1Ng==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- NGY5Mzk2YjZlNjNlYzYwOWU1YTJhNzJlNDhkOTU5ZjUyZTcxMzBmNDVlODU4
10
- MTIxMTI4ZTViMjg1ODY5MjE0OTQ5ODAyMmIzYThmYTQzZTNiMGUzMjU1ZDQ4
11
- OTI5ODRhNTM3Y2Y3N2FkODBmMzNiNThiNzE3Mzc4NGRiODkyYzk=
9
+ ZDFiNTE2Y2Q1ZmExNDM2ZjE2ZGQzYTgzNDIzNjg0MWVkNmZiMTNlYzYwNmZk
10
+ ZDlmODliMjcwNWUwOTU5OTYwMjE4NzZlY2Q0Mzk3YzRmMDlmYTk1ZjY0NTNh
11
+ ZTc3YzVmZGViODQzODY3NWJmNGIzY2ZjODVhY2E2MDZjNzVkYjQ=
12
12
  data.tar.gz: !binary |-
13
- MzdjOGIwODZkNjQyZWU4ODA5YmM4MDYwYTQ5MDhiOTBhY2RhNTE4NjhlNmE4
14
- MDc5YTk1ZmY2NzRmYjg0YWFlMjdjYjNlZmExZjY2ZTk5YjliYTA4N2JjMzgx
15
- MTBjZmNkMzU3OTlkNDYwYjE1NDA0NDExM2NlOWY5MDNlMDlmMjY=
13
+ NzFjYmJlM2VkYjJjN2EzOWFhODkxMjdjYTNhYWFhYTM3OWM0MTI2NmQyMTY5
14
+ ZmUxNWM2Y2NiZTgxYmIxOWU0NmNkZWQ1NzFmNWRiMTZhMTBhNjcxOGQ2ZmIw
15
+ MjZhZDQ5NzBlMDk2MzM4ZWJhNTdhNDNjNjgyYjA4ZDY1MGRmMGE=
Binary file
data.tar.gz.sig CHANGED
Binary file
@@ -1,6 +1,6 @@
1
1
  ## Changelog
2
2
 
3
- ### Version 2.0.0.beta
3
+ ### Version 2.0.0
4
4
  * Remove support for deprecated methods (#117)
5
5
  * Upgrade rspec from 2.6 to 3.5 (#118)
6
6
  * Remove support for ruby 1.8 (#119)
data/README.md CHANGED
@@ -77,7 +77,7 @@ Queue up a metric with a specified source:
77
77
 
78
78
  queue.add cpu: {source: 'app1', value: 92.6}
79
79
 
80
- A complete [list of metric attributes](http://dev.librato.com/v1/metrics) is available in the [API documentation](http://dev.librato.com/v1).
80
+ A complete [list of metric attributes](https://www.librato.com/docs/api/#metric-attributes) is available in the [API documentation](https://www.librato.com/docs/api/).
81
81
 
82
82
  Send currently queued measurements to Metrics:
83
83
 
@@ -85,7 +85,7 @@ Send currently queued measurements to Metrics:
85
85
 
86
86
  ## Aggregate Measurements
87
87
 
88
- If you are measuring something very frequently e.g. per-request in a web application (order mS) you may not want to send each individual measurement, but rather periodically send a [single aggregate measurement](http://dev.librato.com/v1/post/metrics#gauge_specific), spanning multiple seconds or even minutes. Use an `Aggregator` for this.
88
+ If you are measuring something very frequently e.g. per-request in a web application (order mS) you may not want to send each individual measurement, but rather periodically send a [single aggregate measurement](https://www.librato.com/docs/api/#submit-metrics), spanning multiple seconds or even minutes. Use an `Aggregator` for this.
89
89
 
90
90
  Aggregate a simple gauge metric named `response_latency`:
91
91
 
@@ -216,11 +216,12 @@ Get the 5 minute moving average for `temperature` for the last hour, assuming te
216
216
 
217
217
  data = Librato::Metrics.get_composite 'moving_average(mean(series("temperature", "*"), {size: "5"}))', start_time: Time.now.to_i - 60*60, resolution: 300
218
218
 
219
- There are many more options supported for querying, take a look at the [REST API docs](http://dev.librato.com/v1/get/metrics/:name) or the individual method documentation for more details.
219
+ There are many more options supported for querying, take a look at the
220
+ [REST API docs](https://www.librato.com/docs/api/#retrieve-metrics) or the individual method documentation for more details.
220
221
 
221
222
  ## Setting Metric Properties
222
223
 
223
- Setting custom [properties](http://dev.librato.com/v1/metrics#metric_properties) on your metrics is easy:
224
+ Setting custom [properties](https://www.librato.com/docs/api/#metric-attributes) on your metrics is easy:
224
225
 
225
226
  # assign a period and default color
226
227
  Librato::Metrics.update_metric :temperature, period: 15, attributes: { color: 'F00' }
@@ -1,5 +1,5 @@
1
1
  module Librato
2
2
  module Metrics
3
- VERSION = "2.0.0.beta"
3
+ VERSION = "2.0.0"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: librato-metrics
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.0.beta
4
+ version: 2.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Matt Sanders
@@ -35,7 +35,7 @@ cert_chain:
35
35
  dzJsaG9DTUxDU1NqOVQvWXlSVEwzVVFZb0s1cFBBNzYKaHZqeDBXSlA4cHpa
36
36
  TUpQS0pCUlpRWEpPNWlmRVB5S2paeU1pNVhNSG1ydERjbEhMajNzeDRSQXZF
37
37
  WmpHV2tSUApKU1E9Ci0tLS0tRU5EIENFUlRJRklDQVRFLS0tLS0K
38
- date: 2016-08-24 00:00:00.000000000 Z
38
+ date: 2016-09-22 00:00:00.000000000 Z
39
39
  dependencies:
40
40
  - !ruby/object:Gem::Dependency
41
41
  name: faraday
@@ -133,9 +133,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
133
133
  version: '1.9'
134
134
  required_rubygems_version: !ruby/object:Gem::Requirement
135
135
  requirements:
136
- - - ! '>'
136
+ - - ! '>='
137
137
  - !ruby/object:Gem::Version
138
- version: 1.3.1
138
+ version: '0'
139
139
  requirements: []
140
140
  rubyforge_project:
141
141
  rubygems_version: 2.6.6
metadata.gz.sig CHANGED
Binary file