scout_api 1.0.0 → 1.0.1
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG +5 -1
- data/lib/scout_api/metric.rb +0 -2
- data/lib/scout_api/version.rb +1 -1
- data/scout_api.gemspec +1 -1
- metadata +3 -3
data/CHANGELOG
CHANGED
data/lib/scout_api/metric.rb
CHANGED
@@ -141,8 +141,6 @@ class Scout::Metric < Hashie::Mash
|
|
141
141
|
def self.to_sparkline(function,id_or_name,options = {})
|
142
142
|
start_time,end_time=format_times(options)
|
143
143
|
consolidate,name,ids=series_options(id_or_name,options)
|
144
|
-
puts options.inspect
|
145
|
-
puts start_time.inspect
|
146
144
|
response = Scout::Account.get("/descriptors/sparkline?name=#{CGI.escape(name.to_s)}&ids=#{ids}&function=#{function}&consolidate=#{consolidate}&plugin_ids=#{options[:plugin_ids]}&server_ids=#{options[:server_ids]}&group_ids=#{options[:group_ids]}&start=#{start_time}&end=#{end_time}&size=#{options[:size]}&line_color=#{options[:line_color]}&line_width=#{options[:line_width]}")
|
147
145
|
|
148
146
|
if response['error']
|
data/lib/scout_api/version.rb
CHANGED
data/scout_api.gemspec
CHANGED
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: scout_api
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 21
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 1
|
8
8
|
- 0
|
9
|
-
-
|
10
|
-
version: 1.0.
|
9
|
+
- 1
|
10
|
+
version: 1.0.1
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Jesse Newland
|