cloudstats 0.5.0 → 0.6.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 +5 -5
- data/LICENSE.txt +1 -1
- data/README.md +7 -2
- data/cloudstats.gemspec +3 -3
- data/examples/dashboard.json +1755 -0
- data/examples/dashboard.png +0 -0
- data/lib/cloudstats/cli.rb +3 -3
- data/lib/cloudstats/version.rb +1 -1
- metadata +9 -7
|
Binary file
|
data/lib/cloudstats/cli.rb
CHANGED
|
@@ -97,9 +97,9 @@ module Cloudstats
|
|
|
97
97
|
stats = Collect.new(options).account_stats
|
|
98
98
|
say "Write stats to influxdb...", :yellow
|
|
99
99
|
Feed.new(options).write(stats) {|stat, res| print_status(stat, res)}
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
100
|
+
rescue => e
|
|
101
|
+
say "ERROR: ", :red
|
|
102
|
+
puts e.message
|
|
103
103
|
end
|
|
104
104
|
|
|
105
105
|
no_commands do
|
data/lib/cloudstats/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: cloudstats
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.6.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- niwo
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2018-12-05 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: bundler
|
|
@@ -72,16 +72,16 @@ dependencies:
|
|
|
72
72
|
requirements:
|
|
73
73
|
- - "~>"
|
|
74
74
|
- !ruby/object:Gem::Version
|
|
75
|
-
version: 1.5
|
|
75
|
+
version: '1.5'
|
|
76
76
|
type: :runtime
|
|
77
77
|
prerelease: false
|
|
78
78
|
version_requirements: !ruby/object:Gem::Requirement
|
|
79
79
|
requirements:
|
|
80
80
|
- - "~>"
|
|
81
81
|
- !ruby/object:Gem::Version
|
|
82
|
-
version: 1.5
|
|
82
|
+
version: '1.5'
|
|
83
83
|
description: Collect project and account statistics from the CloudStack API and feeds
|
|
84
|
-
them into
|
|
84
|
+
them into InfluxDB.
|
|
85
85
|
email:
|
|
86
86
|
- nik.wolfgramm@gmail.com
|
|
87
87
|
executables:
|
|
@@ -99,6 +99,8 @@ files:
|
|
|
99
99
|
- bin/console
|
|
100
100
|
- bin/setup
|
|
101
101
|
- cloudstats.gemspec
|
|
102
|
+
- examples/dashboard.json
|
|
103
|
+
- examples/dashboard.png
|
|
102
104
|
- lib/cloudstats.rb
|
|
103
105
|
- lib/cloudstats/cli.rb
|
|
104
106
|
- lib/cloudstats/collect.rb
|
|
@@ -124,8 +126,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
124
126
|
version: '0'
|
|
125
127
|
requirements: []
|
|
126
128
|
rubyforge_project:
|
|
127
|
-
rubygems_version: 2.
|
|
129
|
+
rubygems_version: 2.7.3
|
|
128
130
|
signing_key:
|
|
129
131
|
specification_version: 4
|
|
130
|
-
summary: Collect CloudStack stats and feed them to
|
|
132
|
+
summary: Collect CloudStack stats and feed them to InfluxdDB.
|
|
131
133
|
test_files: []
|