cloudscale 0.0.4 → 0.0.5
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 +4 -4
- data/lib/cloudscale/monitor/agent/init_charts.rb +0 -10
- data/lib/cloudscale/monitor/model/constants/agent_store.rb +1 -3
- data/lib/cloudscale/plugins/plugin.rb +1 -18
- data/lib/cloudscale/version.rb +1 -1
- metadata +1 -5
- data/lib/cloudscale/store/agent/agent_instance.store +0 -11
- data/lib/cloudscale/store/plugin/host +0 -1
- data/lib/cloudscale/store/plugin/port +0 -1
- data/lib/cloudscale/store/plugin/token +0 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c529bae8a0dd8582082e790b37a683e7613e6194
|
4
|
+
data.tar.gz: 32e71282061effa5191e5a306c4e5a7c207898bc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1fb356abee2c1ab2b91e187bb94034586bee30041e84705ad378d06b0d330f6d6af3c21ebc5856c9ef4e302ba1dee13927ef19b597c2509a9bcff76d8333c18f
|
7
|
+
data.tar.gz: 4f9cba6ac57d57d408a0244f1839f6cd8434aa14ac43aec48e5a1e0a3cdafdeed188c8dd0804d10c2de3a99d821cfab63e4b086906be3d854b0be5b2a9ead1fc
|
@@ -45,16 +45,6 @@ module Cloudscale
|
|
45
45
|
end
|
46
46
|
end
|
47
47
|
|
48
|
-
def self.setup_charts
|
49
|
-
if (!Plugins::PluginComponents.is_initialized())
|
50
|
-
Plugins::PluginComponents.init_charts()
|
51
|
-
end
|
52
|
-
end
|
53
|
-
|
54
|
-
def self.remove_charts
|
55
|
-
Plugins::PluginComponents.remove_charts()
|
56
|
-
end
|
57
|
-
|
58
48
|
end
|
59
49
|
end
|
60
50
|
end
|
@@ -31,20 +31,13 @@ module Cloudscale
|
|
31
31
|
resetRestEndpoint('coredatas', agentInstanceId, 'Coredata')
|
32
32
|
resetRestEndpoint('tables', agentInstanceId, 'Table')
|
33
33
|
resetRestEndpoint('charts', agentInstanceId, 'Chart')
|
34
|
-
|
35
|
-
Monitor::InitCharts.remove_charts()
|
36
|
-
Monitor::InitMenus.remove_menus()
|
37
|
-
|
38
|
-
remove_measurements(agentInstanceId)
|
34
|
+
|
39
35
|
remove_agenInstance(agentInstanceId)
|
40
36
|
end
|
41
37
|
|
42
38
|
def self.remove(agentInstanceId)
|
43
39
|
reset(agentInstanceId)
|
44
40
|
|
45
|
-
resetRestEndpoint('components', agentInstanceId, 'Components')
|
46
|
-
resetRestEndpoint('agentInstanceMenus', agentInstanceId, 'Agent Insntance Menus')
|
47
|
-
|
48
41
|
Constants::AgentInstance.remove()
|
49
42
|
end
|
50
43
|
|
@@ -75,16 +68,6 @@ module Cloudscale
|
|
75
68
|
puts " Deleting AgentInstance was successful \n\n"
|
76
69
|
end
|
77
70
|
|
78
|
-
def self.remove_measurements(agentInstanceId)
|
79
|
-
rest_client = RestClientWrapper.instance
|
80
|
-
puts "Removing Measurement elements for Agent (#{agentInstanceId}):\n\n"
|
81
|
-
puts " Starting to delete all elements..."
|
82
|
-
|
83
|
-
rest_client.customDelete("measurements", "removeByAgentInstanceId", { :agentInstanceId => agentInstanceId })
|
84
|
-
|
85
|
-
puts " Deleting all elements was successful \n\n"
|
86
|
-
end
|
87
|
-
|
88
71
|
def self.plugins
|
89
72
|
@plugins
|
90
73
|
end
|
data/lib/cloudscale/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cloudscale
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Johannes Hiemer
|
@@ -215,11 +215,7 @@ files:
|
|
215
215
|
- lib/cloudscale/rest/rest_client_helper.rb
|
216
216
|
- lib/cloudscale/schedule.rb
|
217
217
|
- lib/cloudscale/store/agent/agent.store
|
218
|
-
- lib/cloudscale/store/agent/agent_instance.store
|
219
218
|
- lib/cloudscale/store/agent/influxdb.store
|
220
|
-
- lib/cloudscale/store/plugin/host
|
221
|
-
- lib/cloudscale/store/plugin/port
|
222
|
-
- lib/cloudscale/store/plugin/token
|
223
219
|
- lib/cloudscale/version.rb
|
224
220
|
- lib/cloudscale.rb
|
225
221
|
- lib/test/rest/rest_client_test.rb
|
@@ -1,11 +0,0 @@
|
|
1
|
-
---
|
2
|
-
agent: http://localhost:8080/service/agents/532c68eca5ee0383d3a07a91
|
3
|
-
agentInstanceId: de0236433156a4417943ef9f55d52234
|
4
|
-
token: e2FsZz1IUzI1NiwgdHlwPUNUfQ.e3Y9MCwgZD1tb25pdG9yaW5nLCBpYXQ9MTQwNDc1NzMyNH0.rG0biCuH_-X1vulEr19H2m42i4DGRR8PGwgXastyk3Q
|
5
|
-
server: jhiemer-evoila.fritz.box
|
6
|
-
settings: !ruby/object:Cloudscale::Monitor::Settings
|
7
|
-
measurementCollectionInterval: 15
|
8
|
-
coredataCollectionInterval: 0
|
9
|
-
tableCollectionInterval: 1500
|
10
|
-
reportingInterval: 5
|
11
|
-
started: 1440004610000
|
@@ -1 +0,0 @@
|
|
1
|
-
I"localhost:ET
|
@@ -1 +0,0 @@
|
|
1
|
-
I" 8080:ET
|
@@ -1 +0,0 @@
|
|
1
|
-
I"{e2FsZz1IUzI1NiwgdHlwPUNUfQ.e3Y9MCwgZD1tb25pdG9yaW5nLCBpYXQ9MTQwNDc1NzMyNH0.rG0biCuH_-X1vulEr19H2m42i4DGRR8PGwgXastyk3Q:ET
|