hawkular-client 0.1.2 → 0.2.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (50) hide show
  1. checksums.yaml +4 -4
  2. data/.travis.yml +3 -3
  3. data/CHANGES.rdoc +8 -0
  4. data/README.rdoc +12 -5
  5. data/hawkularclient.gemspec +2 -2
  6. data/lib/alerts/alerts_api.rb +193 -0
  7. data/lib/{hawkularclient.rb → hawkular.rb} +93 -52
  8. data/lib/hawkular_all.rb +7 -0
  9. data/lib/inventory/inventory_api.rb +378 -0
  10. data/lib/metrics/metric_api.rb +20 -10
  11. data/lib/metrics/metrics_client.rb +52 -0
  12. data/lib/metrics/tenant_api.rb +1 -1
  13. data/lib/metrics/version.rb +3 -1
  14. data/lib/version.rb +8 -0
  15. data/spec/integration/alerts_spec.rb +143 -0
  16. data/spec/integration/inventory_spec.rb +191 -0
  17. data/spec/integration/metric_spec.rb +33 -0
  18. data/spec/spec_helper.rb +14 -1
  19. data/spec/unit/base_spec.rb +57 -0
  20. data/spec/vcr_cassettes/Alert/Alerts/Should_acknowledge_an_alert.yml +183 -0
  21. data/spec/vcr_cassettes/Alert/Alerts/Should_fetch_single_alert.yml +69 -0
  22. data/spec/vcr_cassettes/Alert/Alerts/Should_list_alerts.yml +85 -0
  23. data/spec/vcr_cassettes/Alert/Alerts/Should_list_alerts_for_trigger.yml +142 -0
  24. data/spec/vcr_cassettes/Alert/Alerts/Should_list_alerts_for_unknown_trigger.yml +46 -0
  25. data/spec/vcr_cassettes/Alert/Alerts/Should_resolve_an_alert.yml +181 -0
  26. data/spec/vcr_cassettes/Alert/Alerts/Should_resolve_an_alert2.yml +49 -0
  27. data/spec/vcr_cassettes/Alert/Triggers/Should_List_Triggers.yml +62 -0
  28. data/spec/vcr_cassettes/Alert/Triggers/Should_List_Triggers_for_ID.yml +55 -0
  29. data/spec/vcr_cassettes/Alert/Triggers/Should_List_Triggers_for_Tag.yml +68 -0
  30. data/spec/vcr_cassettes/Alert/Triggers/Should_List_Triggers_for_Tags.yml +68 -0
  31. data/spec/vcr_cassettes/Alert/Triggers/Should_get_a_single_Trigger_with_conditions.yml +138 -0
  32. data/spec/vcr_cassettes/Alert/Triggers/Should_get_a_single_metric_Trigger.yml +50 -0
  33. data/spec/vcr_cassettes/Gauge_metrics/Platform_mem.yml +44 -0
  34. data/spec/vcr_cassettes/Gauge_metrics/Platform_mem_def.yml +45 -0
  35. data/spec/vcr_cassettes/Inventory/Should_List_datasources_with_no_props.yml +228 -0
  36. data/spec/vcr_cassettes/Inventory/Should_list_URLs.yml +105 -0
  37. data/spec/vcr_cassettes/Inventory/Should_list_WildFlys.yml +104 -0
  38. data/spec/vcr_cassettes/Inventory/Should_list_WildFlys_with_props.yml +162 -0
  39. data/spec/vcr_cassettes/Inventory/Should_list_children_of_WildFly.yml +180 -0
  40. data/spec/vcr_cassettes/Inventory/Should_list_feeds.yml +102 -0
  41. data/spec/vcr_cassettes/Inventory/Should_list_heap_metrics_for_WildFlys.yml +308 -0
  42. data/spec/vcr_cassettes/Inventory/Should_list_metrics_for_WildFlys.yml +172 -0
  43. data/spec/vcr_cassettes/Inventory/Should_list_types_with_bad_feed.yml +101 -0
  44. data/spec/vcr_cassettes/Inventory/Should_list_types_with_feed.yml +109 -0
  45. data/spec/vcr_cassettes/Inventory/Should_list_types_without_feed.yml +110 -0
  46. data/spec/vcr_cassettes/Metrics/Status.yml +44 -0
  47. data/spec/vcr_cassettes/No_Tenant/Should_fail.yml +42 -0
  48. data/spec/vcr_cassettes/Tenants/Should_Get_Tenant_For_Explicit_Credentials.yml +50 -0
  49. data/spec/vcr_cassettes/Tenants/Should_Get_Tenant_For_Implicit_Credentials.yml +50 -0
  50. metadata +74 -3
data/spec/spec_helper.rb CHANGED
@@ -1,4 +1,7 @@
1
- require 'hawkularclient'
1
+ require 'hawkular'
2
+ require 'metrics/metrics_client'
3
+ require 'inventory/inventory_api'
4
+ require 'alerts/alerts_api'
2
5
  require 'rspec/core'
3
6
  require 'rspec/mocks'
4
7
  require 'socket'
@@ -31,4 +34,14 @@ end
31
34
 
32
35
  RSpec.configure do |config|
33
36
  config.include Hawkular::Metrics::RSpec
37
+
38
+ # Sometimes one wants to check if the real api has
39
+ # changed, so turn off VCR and use live connections
40
+ # instead of recorded cassettes
41
+ if ENV['VCR_OFF'] == '1'
42
+ VCR.eject_cassette
43
+ VCR.turn_off!(ignore_cassettes: true)
44
+ WebMock.allow_net_connect!
45
+ puts 'VCR is turned off!'
46
+ end
34
47
  end
@@ -0,0 +1,57 @@
1
+ require '#{File.dirname(__FILE__)}/../spec_helper'
2
+
3
+ describe 'Base Spec' do
4
+ it 'should know encode' do
5
+ creds = { username: 'jdoe', password: 'password' }
6
+
7
+ c = Hawkular::BaseClient.new('not-needed-for-this-test')
8
+ val = c.base_64_credentials(creds)
9
+
10
+ expect(val).to eql('amRvZTpwYXNzd29yZA==')
11
+ end
12
+
13
+ it 'should be empty' do
14
+ c = Hawkular::BaseClient.new('not-needed-for-this-test')
15
+ ret = c.generate_query_params
16
+ expect(ret).to eql('')
17
+ end
18
+
19
+ it 'should have one param' do
20
+ params = { name: nil, value: 'hello' }
21
+
22
+ c = Hawkular::BaseClient.new('not-needed-for-this-test')
23
+ ret = c.generate_query_params params
24
+
25
+ expect(ret).to eql('?value=hello')
26
+ end
27
+
28
+ it 'should have two params' do
29
+ params = { name: 'world', value: 'hello' }
30
+
31
+ c = Hawkular::BaseClient.new('not-needed-for-this-test')
32
+ ret = c.generate_query_params params
33
+
34
+ expect(ret).to include('value=hello')
35
+ expect(ret).to include('name=world')
36
+ expect(ret).to start_with('?')
37
+ expect(ret).to include('&')
38
+ end
39
+
40
+ it 'should flatten arrays' do
41
+ params = { value: %w(hello world) }
42
+
43
+ c = Hawkular::BaseClient.new('not-needed-for-this-test')
44
+ ret = c.generate_query_params params
45
+
46
+ expect(ret).to eql('?value=hello,world')
47
+ end
48
+
49
+ it 'should flatten arrays2' do
50
+ params = { value: [] }
51
+
52
+ c = Hawkular::BaseClient.new('not-needed-for-this-test')
53
+ ret = c.generate_query_params params
54
+
55
+ expect(ret).to eql('')
56
+ end
57
+ end
@@ -0,0 +1,183 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: http://jdoe:password@localhost:8080/hawkular/alerts/alert/28026b36-8fe4-4332-84c8-524e173a68bf-snert~Local_jvm_garba-1446977734134
6
+ body:
7
+ encoding: US-ASCII
8
+ string: ''
9
+ headers:
10
+ Accept:
11
+ - application/json
12
+ Accept-Encoding:
13
+ - gzip, deflate
14
+ Content-Type:
15
+ - application/json
16
+ User-Agent:
17
+ - Ruby
18
+ response:
19
+ status:
20
+ code: 200
21
+ message: OK
22
+ headers:
23
+ Expires:
24
+ - '0'
25
+ Cache-Control:
26
+ - no-cache, no-store, must-revalidate
27
+ X-Powered-By:
28
+ - Undertow/1
29
+ Server:
30
+ - WildFly/9
31
+ Pragma:
32
+ - no-cache
33
+ Date:
34
+ - Sun, 08 Nov 2015 20:37:01 GMT
35
+ Connection:
36
+ - keep-alive
37
+ Content-Type:
38
+ - application/json
39
+ Content-Length:
40
+ - '6058'
41
+ body:
42
+ encoding: UTF-8
43
+ string: '{"tenantId":"28026b36-8fe4-4332-84c8-524e173a68bf","alertId":"28026b36-8fe4-4332-84c8-524e173a68bf-snert~Local_jvm_garba-1446977734134","triggerId":"snert~Local_jvm_garba","ctime":1446977734134,"evalSets":[[{"evalTimestamp":1446977313541,"dataTimestamp":1446977313014,"type":"THRESHOLD","condition":{"tenantId":"28026b36-8fe4-4332-84c8-524e173a68bf","triggerId":"snert~Local_jvm_garba","triggerMode":"FIRING","type":"THRESHOLD","conditionSetSize":1,"conditionSetIndex":1,"conditionId":"snert~Local_jvm_garba-FIRING-1-1","context":{"unit":"ms","description":"GC
44
+ Duration"},"dataId":"MI~R~[snert~Local~~]~MT~WildFly Memory Metrics~Accumulated
45
+ GC Duration","operator":"GT","threshold":200.0},"value":8022.0}],[{"evalTimestamp":1446977373629,"dataTimestamp":1446977373037,"type":"THRESHOLD","condition":{"tenantId":"28026b36-8fe4-4332-84c8-524e173a68bf","triggerId":"snert~Local_jvm_garba","triggerMode":"FIRING","type":"THRESHOLD","conditionSetSize":1,"conditionSetIndex":1,"conditionId":"snert~Local_jvm_garba-FIRING-1-1","context":{"unit":"ms","description":"GC
46
+ Duration"},"dataId":"MI~R~[snert~Local~~]~MT~WildFly Memory Metrics~Accumulated
47
+ GC Duration","operator":"GT","threshold":200.0},"value":8058.0}],[{"evalTimestamp":1446977433699,"dataTimestamp":1446977433070,"type":"THRESHOLD","condition":{"tenantId":"28026b36-8fe4-4332-84c8-524e173a68bf","triggerId":"snert~Local_jvm_garba","triggerMode":"FIRING","type":"THRESHOLD","conditionSetSize":1,"conditionSetIndex":1,"conditionId":"snert~Local_jvm_garba-FIRING-1-1","context":{"unit":"ms","description":"GC
48
+ Duration"},"dataId":"MI~R~[snert~Local~~]~MT~WildFly Memory Metrics~Accumulated
49
+ GC Duration","operator":"GT","threshold":200.0},"value":8058.0}],[{"evalTimestamp":1446977493788,"dataTimestamp":1446977493112,"type":"THRESHOLD","condition":{"tenantId":"28026b36-8fe4-4332-84c8-524e173a68bf","triggerId":"snert~Local_jvm_garba","triggerMode":"FIRING","type":"THRESHOLD","conditionSetSize":1,"conditionSetIndex":1,"conditionId":"snert~Local_jvm_garba-FIRING-1-1","context":{"unit":"ms","description":"GC
50
+ Duration"},"dataId":"MI~R~[snert~Local~~]~MT~WildFly Memory Metrics~Accumulated
51
+ GC Duration","operator":"GT","threshold":200.0},"value":8075.0}],[{"evalTimestamp":1446977553867,"dataTimestamp":1446977553153,"type":"THRESHOLD","condition":{"tenantId":"28026b36-8fe4-4332-84c8-524e173a68bf","triggerId":"snert~Local_jvm_garba","triggerMode":"FIRING","type":"THRESHOLD","conditionSetSize":1,"conditionSetIndex":1,"conditionId":"snert~Local_jvm_garba-FIRING-1-1","context":{"unit":"ms","description":"GC
52
+ Duration"},"dataId":"MI~R~[snert~Local~~]~MT~WildFly Memory Metrics~Accumulated
53
+ GC Duration","operator":"GT","threshold":200.0},"value":8075.0}],[{"evalTimestamp":1446977613965,"dataTimestamp":1446977613197,"type":"THRESHOLD","condition":{"tenantId":"28026b36-8fe4-4332-84c8-524e173a68bf","triggerId":"snert~Local_jvm_garba","triggerMode":"FIRING","type":"THRESHOLD","conditionSetSize":1,"conditionSetIndex":1,"conditionId":"snert~Local_jvm_garba-FIRING-1-1","context":{"unit":"ms","description":"GC
54
+ Duration"},"dataId":"MI~R~[snert~Local~~]~MT~WildFly Memory Metrics~Accumulated
55
+ GC Duration","operator":"GT","threshold":200.0},"value":8112.0}],[{"evalTimestamp":1446977674050,"dataTimestamp":1446977673226,"type":"THRESHOLD","condition":{"tenantId":"28026b36-8fe4-4332-84c8-524e173a68bf","triggerId":"snert~Local_jvm_garba","triggerMode":"FIRING","type":"THRESHOLD","conditionSetSize":1,"conditionSetIndex":1,"conditionId":"snert~Local_jvm_garba-FIRING-1-1","context":{"unit":"ms","description":"GC
56
+ Duration"},"dataId":"MI~R~[snert~Local~~]~MT~WildFly Memory Metrics~Accumulated
57
+ GC Duration","operator":"GT","threshold":200.0},"value":8125.0}],[{"evalTimestamp":1446977734129,"dataTimestamp":1446977733251,"type":"THRESHOLD","condition":{"tenantId":"28026b36-8fe4-4332-84c8-524e173a68bf","triggerId":"snert~Local_jvm_garba","triggerMode":"FIRING","type":"THRESHOLD","conditionSetSize":1,"conditionSetIndex":1,"conditionId":"snert~Local_jvm_garba-FIRING-1-1","context":{"unit":"ms","description":"GC
58
+ Duration"},"dataId":"MI~R~[snert~Local~~]~MT~WildFly Memory Metrics~Accumulated
59
+ GC Duration","operator":"GT","threshold":200.0},"value":8125.0}]],"severity":"HIGH","status":"RESOLVED","ackTime":0,"ackBy":null,"resolvedTime":1447013628344,"resolvedBy":"Heiko","notes":[{"user":"Heiko","ctime":1447013628344,"text":"Hello
60
+ Ruby World :-)"}],"trigger":{"tenantId":"28026b36-8fe4-4332-84c8-524e173a68bf","id":"snert~Local_jvm_garba","name":"Accumulated
61
+ GC Duration","context":{"description":"Accumulated GC Duration for snert~Local","resourceName":"snert~Local","resourcePath":"/t;28026b36-8fe4-4332-84c8-524e173a68bf/e;test/f;snert/r;snert~Local~~","resourceType":"App
62
+ Server","triggerType":"Threshold"},"actions":{"email":["jdoe@acme.com"]},"autoDisable":true,"autoEnable":true,"autoResolve":false,"autoResolveAlerts":true,"autoResolveMatch":"ALL","description":"Accumulated
63
+ GC Duration for snert~Local","enabled":true,"firingMatch":"ALL","orphan":false,"group":false,"severity":"HIGH"},"dampening":{"tenantId":"28026b36-8fe4-4332-84c8-524e173a68bf","triggerId":"snert~Local_jvm_garba","triggerMode":"FIRING","type":"STRICT_TIME","evalTrueSetting":0,"evalTotalSetting":0,"evalTimeSetting":420000,"dampeningId":"snert~Local_jvm_garba-FIRING","currentEvals":{"1":{"evalTimestamp":1446977734129,"dataTimestamp":1446977733251,"type":"THRESHOLD","condition":{"tenantId":"28026b36-8fe4-4332-84c8-524e173a68bf","triggerId":"snert~Local_jvm_garba","triggerMode":"FIRING","type":"THRESHOLD","conditionSetSize":1,"conditionSetIndex":1,"conditionId":"snert~Local_jvm_garba-FIRING-1-1","context":{"unit":"ms","description":"GC
64
+ Duration"},"dataId":"MI~R~[snert~Local~~]~MT~WildFly Memory Metrics~Accumulated
65
+ GC Duration","operator":"GT","threshold":200.0},"value":8125.0}}},"context":{"description":"Accumulated
66
+ GC Duration for snert~Local","resourceName":"snert~Local","resourcePath":"/t;28026b36-8fe4-4332-84c8-524e173a68bf/e;test/f;snert/r;snert~Local~~","resourceType":"App
67
+ Server","triggerType":"Threshold"}}'
68
+ http_version:
69
+ recorded_at: Sun, 08 Nov 2015 20:37:01 GMT
70
+ - request:
71
+ method: put
72
+ uri: http://jdoe:password@localhost:8080/hawkular/alerts/ack/28026b36-8fe4-4332-84c8-524e173a68bf-snert~Local_jvm_garba-1446977734134?ackBy=Heiko&ackNotes=Hello%20Ruby%20World%20:-)
73
+ body:
74
+ encoding: UTF-8
75
+ string: '{}'
76
+ headers:
77
+ Accept:
78
+ - application/json
79
+ Accept-Encoding:
80
+ - gzip, deflate
81
+ Content-Type:
82
+ - application/json
83
+ Content-Length:
84
+ - '2'
85
+ User-Agent:
86
+ - Ruby
87
+ response:
88
+ status:
89
+ code: 200
90
+ message: OK
91
+ headers:
92
+ Expires:
93
+ - '0'
94
+ Cache-Control:
95
+ - no-cache, no-store, must-revalidate
96
+ X-Powered-By:
97
+ - Undertow/1
98
+ Server:
99
+ - WildFly/9
100
+ Pragma:
101
+ - no-cache
102
+ Date:
103
+ - Sun, 08 Nov 2015 20:37:01 GMT
104
+ Connection:
105
+ - keep-alive
106
+ Content-Type:
107
+ - application/json
108
+ Content-Length:
109
+ - '0'
110
+ body:
111
+ encoding: UTF-8
112
+ string: ''
113
+ http_version:
114
+ recorded_at: Sun, 08 Nov 2015 20:37:01 GMT
115
+ - request:
116
+ method: get
117
+ uri: http://jdoe:password@localhost:8080/hawkular/alerts/alert/28026b36-8fe4-4332-84c8-524e173a68bf-snert~Local_jvm_garba-1446977734134
118
+ body:
119
+ encoding: US-ASCII
120
+ string: ''
121
+ headers:
122
+ Accept:
123
+ - application/json
124
+ Accept-Encoding:
125
+ - gzip, deflate
126
+ Content-Type:
127
+ - application/json
128
+ User-Agent:
129
+ - Ruby
130
+ response:
131
+ status:
132
+ code: 200
133
+ message: OK
134
+ headers:
135
+ Expires:
136
+ - '0'
137
+ Cache-Control:
138
+ - no-cache, no-store, must-revalidate
139
+ X-Powered-By:
140
+ - Undertow/1
141
+ Server:
142
+ - WildFly/9
143
+ Pragma:
144
+ - no-cache
145
+ Date:
146
+ - Sun, 08 Nov 2015 20:37:01 GMT
147
+ Connection:
148
+ - keep-alive
149
+ Content-Type:
150
+ - application/json
151
+ Content-Length:
152
+ - '6146'
153
+ body:
154
+ encoding: UTF-8
155
+ string: '{"tenantId":"28026b36-8fe4-4332-84c8-524e173a68bf","alertId":"28026b36-8fe4-4332-84c8-524e173a68bf-snert~Local_jvm_garba-1446977734134","triggerId":"snert~Local_jvm_garba","ctime":1446977734134,"evalSets":[[{"evalTimestamp":1446977313541,"dataTimestamp":1446977313014,"type":"THRESHOLD","condition":{"tenantId":"28026b36-8fe4-4332-84c8-524e173a68bf","triggerId":"snert~Local_jvm_garba","triggerMode":"FIRING","type":"THRESHOLD","conditionSetSize":1,"conditionSetIndex":1,"conditionId":"snert~Local_jvm_garba-FIRING-1-1","context":{"unit":"ms","description":"GC
156
+ Duration"},"dataId":"MI~R~[snert~Local~~]~MT~WildFly Memory Metrics~Accumulated
157
+ GC Duration","operator":"GT","threshold":200.0},"value":8022.0}],[{"evalTimestamp":1446977373629,"dataTimestamp":1446977373037,"type":"THRESHOLD","condition":{"tenantId":"28026b36-8fe4-4332-84c8-524e173a68bf","triggerId":"snert~Local_jvm_garba","triggerMode":"FIRING","type":"THRESHOLD","conditionSetSize":1,"conditionSetIndex":1,"conditionId":"snert~Local_jvm_garba-FIRING-1-1","context":{"unit":"ms","description":"GC
158
+ Duration"},"dataId":"MI~R~[snert~Local~~]~MT~WildFly Memory Metrics~Accumulated
159
+ GC Duration","operator":"GT","threshold":200.0},"value":8058.0}],[{"evalTimestamp":1446977433699,"dataTimestamp":1446977433070,"type":"THRESHOLD","condition":{"tenantId":"28026b36-8fe4-4332-84c8-524e173a68bf","triggerId":"snert~Local_jvm_garba","triggerMode":"FIRING","type":"THRESHOLD","conditionSetSize":1,"conditionSetIndex":1,"conditionId":"snert~Local_jvm_garba-FIRING-1-1","context":{"unit":"ms","description":"GC
160
+ Duration"},"dataId":"MI~R~[snert~Local~~]~MT~WildFly Memory Metrics~Accumulated
161
+ GC Duration","operator":"GT","threshold":200.0},"value":8058.0}],[{"evalTimestamp":1446977493788,"dataTimestamp":1446977493112,"type":"THRESHOLD","condition":{"tenantId":"28026b36-8fe4-4332-84c8-524e173a68bf","triggerId":"snert~Local_jvm_garba","triggerMode":"FIRING","type":"THRESHOLD","conditionSetSize":1,"conditionSetIndex":1,"conditionId":"snert~Local_jvm_garba-FIRING-1-1","context":{"unit":"ms","description":"GC
162
+ Duration"},"dataId":"MI~R~[snert~Local~~]~MT~WildFly Memory Metrics~Accumulated
163
+ GC Duration","operator":"GT","threshold":200.0},"value":8075.0}],[{"evalTimestamp":1446977553867,"dataTimestamp":1446977553153,"type":"THRESHOLD","condition":{"tenantId":"28026b36-8fe4-4332-84c8-524e173a68bf","triggerId":"snert~Local_jvm_garba","triggerMode":"FIRING","type":"THRESHOLD","conditionSetSize":1,"conditionSetIndex":1,"conditionId":"snert~Local_jvm_garba-FIRING-1-1","context":{"unit":"ms","description":"GC
164
+ Duration"},"dataId":"MI~R~[snert~Local~~]~MT~WildFly Memory Metrics~Accumulated
165
+ GC Duration","operator":"GT","threshold":200.0},"value":8075.0}],[{"evalTimestamp":1446977613965,"dataTimestamp":1446977613197,"type":"THRESHOLD","condition":{"tenantId":"28026b36-8fe4-4332-84c8-524e173a68bf","triggerId":"snert~Local_jvm_garba","triggerMode":"FIRING","type":"THRESHOLD","conditionSetSize":1,"conditionSetIndex":1,"conditionId":"snert~Local_jvm_garba-FIRING-1-1","context":{"unit":"ms","description":"GC
166
+ Duration"},"dataId":"MI~R~[snert~Local~~]~MT~WildFly Memory Metrics~Accumulated
167
+ GC Duration","operator":"GT","threshold":200.0},"value":8112.0}],[{"evalTimestamp":1446977674050,"dataTimestamp":1446977673226,"type":"THRESHOLD","condition":{"tenantId":"28026b36-8fe4-4332-84c8-524e173a68bf","triggerId":"snert~Local_jvm_garba","triggerMode":"FIRING","type":"THRESHOLD","conditionSetSize":1,"conditionSetIndex":1,"conditionId":"snert~Local_jvm_garba-FIRING-1-1","context":{"unit":"ms","description":"GC
168
+ Duration"},"dataId":"MI~R~[snert~Local~~]~MT~WildFly Memory Metrics~Accumulated
169
+ GC Duration","operator":"GT","threshold":200.0},"value":8125.0}],[{"evalTimestamp":1446977734129,"dataTimestamp":1446977733251,"type":"THRESHOLD","condition":{"tenantId":"28026b36-8fe4-4332-84c8-524e173a68bf","triggerId":"snert~Local_jvm_garba","triggerMode":"FIRING","type":"THRESHOLD","conditionSetSize":1,"conditionSetIndex":1,"conditionId":"snert~Local_jvm_garba-FIRING-1-1","context":{"unit":"ms","description":"GC
170
+ Duration"},"dataId":"MI~R~[snert~Local~~]~MT~WildFly Memory Metrics~Accumulated
171
+ GC Duration","operator":"GT","threshold":200.0},"value":8125.0}]],"severity":"HIGH","status":"ACKNOWLEDGED","ackTime":1447015021431,"ackBy":"Heiko","resolvedTime":1447013628344,"resolvedBy":"Heiko","notes":[{"user":"Heiko","ctime":1447013628344,"text":"Hello
172
+ Ruby World :-)"},{"user":"Heiko","ctime":1447015021431,"text":"Hello Ruby
173
+ World :-)"}],"trigger":{"tenantId":"28026b36-8fe4-4332-84c8-524e173a68bf","id":"snert~Local_jvm_garba","name":"Accumulated
174
+ GC Duration","context":{"description":"Accumulated GC Duration for snert~Local","resourceName":"snert~Local","resourcePath":"/t;28026b36-8fe4-4332-84c8-524e173a68bf/e;test/f;snert/r;snert~Local~~","resourceType":"App
175
+ Server","triggerType":"Threshold"},"actions":{"email":["jdoe@acme.com"]},"autoDisable":true,"autoEnable":true,"autoResolve":false,"autoResolveAlerts":true,"autoResolveMatch":"ALL","description":"Accumulated
176
+ GC Duration for snert~Local","enabled":true,"firingMatch":"ALL","orphan":false,"group":false,"severity":"HIGH"},"dampening":{"tenantId":"28026b36-8fe4-4332-84c8-524e173a68bf","triggerId":"snert~Local_jvm_garba","triggerMode":"FIRING","type":"STRICT_TIME","evalTrueSetting":0,"evalTotalSetting":0,"evalTimeSetting":420000,"dampeningId":"snert~Local_jvm_garba-FIRING","currentEvals":{"1":{"evalTimestamp":1446977734129,"dataTimestamp":1446977733251,"type":"THRESHOLD","condition":{"tenantId":"28026b36-8fe4-4332-84c8-524e173a68bf","triggerId":"snert~Local_jvm_garba","triggerMode":"FIRING","type":"THRESHOLD","conditionSetSize":1,"conditionSetIndex":1,"conditionId":"snert~Local_jvm_garba-FIRING-1-1","context":{"unit":"ms","description":"GC
177
+ Duration"},"dataId":"MI~R~[snert~Local~~]~MT~WildFly Memory Metrics~Accumulated
178
+ GC Duration","operator":"GT","threshold":200.0},"value":8125.0}}},"context":{"description":"Accumulated
179
+ GC Duration for snert~Local","resourceName":"snert~Local","resourcePath":"/t;28026b36-8fe4-4332-84c8-524e173a68bf/e;test/f;snert/r;snert~Local~~","resourceType":"App
180
+ Server","triggerType":"Threshold"}}'
181
+ http_version:
182
+ recorded_at: Sun, 08 Nov 2015 20:37:01 GMT
183
+ recorded_with: VCR 3.0.0
@@ -0,0 +1,69 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: http://jdoe:password@localhost:8080/hawkular/alerts/alert/28026b36-8fe4-4332-84c8-524e173a68bf-snert~Local_jvm_garba-1446977734134
6
+ body:
7
+ encoding: US-ASCII
8
+ string: ''
9
+ headers:
10
+ Accept:
11
+ - application/json
12
+ Accept-Encoding:
13
+ - gzip, deflate
14
+ Content-Type:
15
+ - application/json
16
+ User-Agent:
17
+ - Ruby
18
+ response:
19
+ status:
20
+ code: 200
21
+ message: OK
22
+ headers:
23
+ Expires:
24
+ - '0'
25
+ Cache-Control:
26
+ - no-cache, no-store, must-revalidate
27
+ X-Powered-By:
28
+ - Undertow/1
29
+ Server:
30
+ - WildFly/9
31
+ Pragma:
32
+ - no-cache
33
+ Date:
34
+ - Sun, 08 Nov 2015 19:30:43 GMT
35
+ Connection:
36
+ - keep-alive
37
+ Content-Type:
38
+ - application/json
39
+ Content-Length:
40
+ - '5960'
41
+ body:
42
+ encoding: UTF-8
43
+ string: '{"tenantId":"28026b36-8fe4-4332-84c8-524e173a68bf","alertId":"28026b36-8fe4-4332-84c8-524e173a68bf-snert~Local_jvm_garba-1446977734134","triggerId":"snert~Local_jvm_garba","ctime":1446977734134,"evalSets":[[{"evalTimestamp":1446977313541,"dataTimestamp":1446977313014,"type":"THRESHOLD","condition":{"tenantId":"28026b36-8fe4-4332-84c8-524e173a68bf","triggerId":"snert~Local_jvm_garba","triggerMode":"FIRING","type":"THRESHOLD","conditionSetSize":1,"conditionSetIndex":1,"conditionId":"snert~Local_jvm_garba-FIRING-1-1","context":{"unit":"ms","description":"GC
44
+ Duration"},"dataId":"MI~R~[snert~Local~~]~MT~WildFly Memory Metrics~Accumulated
45
+ GC Duration","operator":"GT","threshold":200.0},"value":8022.0}],[{"evalTimestamp":1446977373629,"dataTimestamp":1446977373037,"type":"THRESHOLD","condition":{"tenantId":"28026b36-8fe4-4332-84c8-524e173a68bf","triggerId":"snert~Local_jvm_garba","triggerMode":"FIRING","type":"THRESHOLD","conditionSetSize":1,"conditionSetIndex":1,"conditionId":"snert~Local_jvm_garba-FIRING-1-1","context":{"unit":"ms","description":"GC
46
+ Duration"},"dataId":"MI~R~[snert~Local~~]~MT~WildFly Memory Metrics~Accumulated
47
+ GC Duration","operator":"GT","threshold":200.0},"value":8058.0}],[{"evalTimestamp":1446977433699,"dataTimestamp":1446977433070,"type":"THRESHOLD","condition":{"tenantId":"28026b36-8fe4-4332-84c8-524e173a68bf","triggerId":"snert~Local_jvm_garba","triggerMode":"FIRING","type":"THRESHOLD","conditionSetSize":1,"conditionSetIndex":1,"conditionId":"snert~Local_jvm_garba-FIRING-1-1","context":{"unit":"ms","description":"GC
48
+ Duration"},"dataId":"MI~R~[snert~Local~~]~MT~WildFly Memory Metrics~Accumulated
49
+ GC Duration","operator":"GT","threshold":200.0},"value":8058.0}],[{"evalTimestamp":1446977493788,"dataTimestamp":1446977493112,"type":"THRESHOLD","condition":{"tenantId":"28026b36-8fe4-4332-84c8-524e173a68bf","triggerId":"snert~Local_jvm_garba","triggerMode":"FIRING","type":"THRESHOLD","conditionSetSize":1,"conditionSetIndex":1,"conditionId":"snert~Local_jvm_garba-FIRING-1-1","context":{"unit":"ms","description":"GC
50
+ Duration"},"dataId":"MI~R~[snert~Local~~]~MT~WildFly Memory Metrics~Accumulated
51
+ GC Duration","operator":"GT","threshold":200.0},"value":8075.0}],[{"evalTimestamp":1446977553867,"dataTimestamp":1446977553153,"type":"THRESHOLD","condition":{"tenantId":"28026b36-8fe4-4332-84c8-524e173a68bf","triggerId":"snert~Local_jvm_garba","triggerMode":"FIRING","type":"THRESHOLD","conditionSetSize":1,"conditionSetIndex":1,"conditionId":"snert~Local_jvm_garba-FIRING-1-1","context":{"unit":"ms","description":"GC
52
+ Duration"},"dataId":"MI~R~[snert~Local~~]~MT~WildFly Memory Metrics~Accumulated
53
+ GC Duration","operator":"GT","threshold":200.0},"value":8075.0}],[{"evalTimestamp":1446977613965,"dataTimestamp":1446977613197,"type":"THRESHOLD","condition":{"tenantId":"28026b36-8fe4-4332-84c8-524e173a68bf","triggerId":"snert~Local_jvm_garba","triggerMode":"FIRING","type":"THRESHOLD","conditionSetSize":1,"conditionSetIndex":1,"conditionId":"snert~Local_jvm_garba-FIRING-1-1","context":{"unit":"ms","description":"GC
54
+ Duration"},"dataId":"MI~R~[snert~Local~~]~MT~WildFly Memory Metrics~Accumulated
55
+ GC Duration","operator":"GT","threshold":200.0},"value":8112.0}],[{"evalTimestamp":1446977674050,"dataTimestamp":1446977673226,"type":"THRESHOLD","condition":{"tenantId":"28026b36-8fe4-4332-84c8-524e173a68bf","triggerId":"snert~Local_jvm_garba","triggerMode":"FIRING","type":"THRESHOLD","conditionSetSize":1,"conditionSetIndex":1,"conditionId":"snert~Local_jvm_garba-FIRING-1-1","context":{"unit":"ms","description":"GC
56
+ Duration"},"dataId":"MI~R~[snert~Local~~]~MT~WildFly Memory Metrics~Accumulated
57
+ GC Duration","operator":"GT","threshold":200.0},"value":8125.0}],[{"evalTimestamp":1446977734129,"dataTimestamp":1446977733251,"type":"THRESHOLD","condition":{"tenantId":"28026b36-8fe4-4332-84c8-524e173a68bf","triggerId":"snert~Local_jvm_garba","triggerMode":"FIRING","type":"THRESHOLD","conditionSetSize":1,"conditionSetIndex":1,"conditionId":"snert~Local_jvm_garba-FIRING-1-1","context":{"unit":"ms","description":"GC
58
+ Duration"},"dataId":"MI~R~[snert~Local~~]~MT~WildFly Memory Metrics~Accumulated
59
+ GC Duration","operator":"GT","threshold":200.0},"value":8125.0}]],"severity":"HIGH","status":"OPEN","ackTime":0,"ackBy":null,"resolvedTime":0,"resolvedBy":null,"trigger":{"tenantId":"28026b36-8fe4-4332-84c8-524e173a68bf","id":"snert~Local_jvm_garba","name":"Accumulated
60
+ GC Duration","context":{"description":"Accumulated GC Duration for snert~Local","resourceName":"snert~Local","resourcePath":"/t;28026b36-8fe4-4332-84c8-524e173a68bf/e;test/f;snert/r;snert~Local~~","resourceType":"App
61
+ Server","triggerType":"Threshold"},"actions":{"email":["jdoe@acme.com"]},"autoDisable":true,"autoEnable":true,"autoResolve":false,"autoResolveAlerts":true,"autoResolveMatch":"ALL","description":"Accumulated
62
+ GC Duration for snert~Local","enabled":true,"firingMatch":"ALL","orphan":false,"group":false,"severity":"HIGH"},"dampening":{"tenantId":"28026b36-8fe4-4332-84c8-524e173a68bf","triggerId":"snert~Local_jvm_garba","triggerMode":"FIRING","type":"STRICT_TIME","evalTrueSetting":0,"evalTotalSetting":0,"evalTimeSetting":420000,"dampeningId":"snert~Local_jvm_garba-FIRING","currentEvals":{"1":{"evalTimestamp":1446977734129,"dataTimestamp":1446977733251,"type":"THRESHOLD","condition":{"tenantId":"28026b36-8fe4-4332-84c8-524e173a68bf","triggerId":"snert~Local_jvm_garba","triggerMode":"FIRING","type":"THRESHOLD","conditionSetSize":1,"conditionSetIndex":1,"conditionId":"snert~Local_jvm_garba-FIRING-1-1","context":{"unit":"ms","description":"GC
63
+ Duration"},"dataId":"MI~R~[snert~Local~~]~MT~WildFly Memory Metrics~Accumulated
64
+ GC Duration","operator":"GT","threshold":200.0},"value":8125.0}}},"context":{"description":"Accumulated
65
+ GC Duration for snert~Local","resourceName":"snert~Local","resourcePath":"/t;28026b36-8fe4-4332-84c8-524e173a68bf/e;test/f;snert/r;snert~Local~~","resourceType":"App
66
+ Server","triggerType":"Threshold"}}'
67
+ http_version:
68
+ recorded_at: Sun, 08 Nov 2015 19:30:43 GMT
69
+ recorded_with: VCR 3.0.0
@@ -0,0 +1,85 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: http://jdoe:password@localhost:8080/hawkular/alerts/
6
+ body:
7
+ encoding: US-ASCII
8
+ string: ''
9
+ headers:
10
+ Accept:
11
+ - application/json
12
+ Accept-Encoding:
13
+ - gzip, deflate
14
+ Content-Type:
15
+ - application/json
16
+ User-Agent:
17
+ - Ruby
18
+ response:
19
+ status:
20
+ code: 200
21
+ message: OK
22
+ headers:
23
+ Expires:
24
+ - '0'
25
+ Cache-Control:
26
+ - no-cache, no-store, must-revalidate
27
+ X-Powered-By:
28
+ - Undertow/1
29
+ Server:
30
+ - WildFly/9
31
+ Pragma:
32
+ - no-cache
33
+ Date:
34
+ - Sun, 08 Nov 2015 19:47:43 GMT
35
+ X-Total-Count:
36
+ - '2'
37
+ Connection:
38
+ - keep-alive
39
+ Content-Type:
40
+ - application/json
41
+ Content-Length:
42
+ - '8921'
43
+ Link:
44
+ - <http://localhost:8080/hawkular/alerts/>; rel="current", <http://localhost:8080/hawkular/alerts/?page=0>;
45
+ rel="last"
46
+ body:
47
+ encoding: UTF-8
48
+ string: '[{"tenantId":"28026b36-8fe4-4332-84c8-524e173a68bf","alertId":"28026b36-8fe4-4332-84c8-524e173a68bf-snert~Local_jvm_garba-1447011828129","triggerId":"snert~Local_jvm_garba","ctime":1447011828129,"evalSets":[[{"evalTimestamp":1447011768057,"dataTimestamp":1447011766271,"type":"THRESHOLD","condition":{"tenantId":"28026b36-8fe4-4332-84c8-524e173a68bf","triggerId":"snert~Local_jvm_garba","triggerMode":"FIRING","type":"THRESHOLD","conditionSetSize":1,"conditionSetIndex":1,"conditionId":"snert~Local_jvm_garba-FIRING-1-1","context":{"unit":"ms","description":"GC
49
+ Duration"},"dataId":"MI~R~[snert~Local~~]~MT~WildFly Memory Metrics~Accumulated
50
+ GC Duration","operator":"GT","threshold":150.0},"value":13460.0}],[{"evalTimestamp":1447011828129,"dataTimestamp":1447011826320,"type":"THRESHOLD","condition":{"tenantId":"28026b36-8fe4-4332-84c8-524e173a68bf","triggerId":"snert~Local_jvm_garba","triggerMode":"FIRING","type":"THRESHOLD","conditionSetSize":1,"conditionSetIndex":1,"conditionId":"snert~Local_jvm_garba-FIRING-1-1","context":{"unit":"ms","description":"GC
51
+ Duration"},"dataId":"MI~R~[snert~Local~~]~MT~WildFly Memory Metrics~Accumulated
52
+ GC Duration","operator":"GT","threshold":150.0},"value":13524.0}]],"severity":"HIGH","status":"OPEN","ackTime":0,"ackBy":null,"resolvedTime":0,"resolvedBy":null,"trigger":{"tenantId":"28026b36-8fe4-4332-84c8-524e173a68bf","id":"snert~Local_jvm_garba","name":"Accumulated
53
+ GC Duration","context":{"description":"Accumulated GC Duration for snert~Local","resourceName":"snert~Local","resourcePath":"/t;28026b36-8fe4-4332-84c8-524e173a68bf/e;test/f;snert/r;snert~Local~~","resourceType":"App
54
+ Server","triggerType":"Threshold"},"actions":{"email":["jdoe@acme.com"]},"autoDisable":true,"autoEnable":true,"autoResolve":false,"autoResolveAlerts":true,"autoResolveMatch":"ALL","description":"Accumulated
55
+ GC Duration for snert~Local","enabled":true,"firingMatch":"ALL","orphan":false,"group":false,"severity":"HIGH"},"dampening":{"tenantId":"28026b36-8fe4-4332-84c8-524e173a68bf","triggerId":"snert~Local_jvm_garba","triggerMode":"FIRING","type":"STRICT_TIME","evalTrueSetting":0,"evalTotalSetting":0,"evalTimeSetting":1,"dampeningId":"snert~Local_jvm_garba-FIRING","currentEvals":{"1":{"evalTimestamp":1447011828129,"dataTimestamp":1447011826320,"type":"THRESHOLD","condition":{"tenantId":"28026b36-8fe4-4332-84c8-524e173a68bf","triggerId":"snert~Local_jvm_garba","triggerMode":"FIRING","type":"THRESHOLD","conditionSetSize":1,"conditionSetIndex":1,"conditionId":"snert~Local_jvm_garba-FIRING-1-1","context":{"unit":"ms","description":"GC
56
+ Duration"},"dataId":"MI~R~[snert~Local~~]~MT~WildFly Memory Metrics~Accumulated
57
+ GC Duration","operator":"GT","threshold":150.0},"value":13524.0}}},"context":{"description":"Accumulated
58
+ GC Duration for snert~Local","resourceName":"snert~Local","resourcePath":"/t;28026b36-8fe4-4332-84c8-524e173a68bf/e;test/f;snert/r;snert~Local~~","resourceType":"App
59
+ Server","triggerType":"Threshold"}},{"tenantId":"28026b36-8fe4-4332-84c8-524e173a68bf","alertId":"28026b36-8fe4-4332-84c8-524e173a68bf-snert~Local_jvm_garba-1446977734134","triggerId":"snert~Local_jvm_garba","ctime":1446977734134,"evalSets":[[{"evalTimestamp":1446977313541,"dataTimestamp":1446977313014,"type":"THRESHOLD","condition":{"tenantId":"28026b36-8fe4-4332-84c8-524e173a68bf","triggerId":"snert~Local_jvm_garba","triggerMode":"FIRING","type":"THRESHOLD","conditionSetSize":1,"conditionSetIndex":1,"conditionId":"snert~Local_jvm_garba-FIRING-1-1","context":{"unit":"ms","description":"GC
60
+ Duration"},"dataId":"MI~R~[snert~Local~~]~MT~WildFly Memory Metrics~Accumulated
61
+ GC Duration","operator":"GT","threshold":200.0},"value":8022.0}],[{"evalTimestamp":1446977373629,"dataTimestamp":1446977373037,"type":"THRESHOLD","condition":{"tenantId":"28026b36-8fe4-4332-84c8-524e173a68bf","triggerId":"snert~Local_jvm_garba","triggerMode":"FIRING","type":"THRESHOLD","conditionSetSize":1,"conditionSetIndex":1,"conditionId":"snert~Local_jvm_garba-FIRING-1-1","context":{"unit":"ms","description":"GC
62
+ Duration"},"dataId":"MI~R~[snert~Local~~]~MT~WildFly Memory Metrics~Accumulated
63
+ GC Duration","operator":"GT","threshold":200.0},"value":8058.0}],[{"evalTimestamp":1446977433699,"dataTimestamp":1446977433070,"type":"THRESHOLD","condition":{"tenantId":"28026b36-8fe4-4332-84c8-524e173a68bf","triggerId":"snert~Local_jvm_garba","triggerMode":"FIRING","type":"THRESHOLD","conditionSetSize":1,"conditionSetIndex":1,"conditionId":"snert~Local_jvm_garba-FIRING-1-1","context":{"unit":"ms","description":"GC
64
+ Duration"},"dataId":"MI~R~[snert~Local~~]~MT~WildFly Memory Metrics~Accumulated
65
+ GC Duration","operator":"GT","threshold":200.0},"value":8058.0}],[{"evalTimestamp":1446977493788,"dataTimestamp":1446977493112,"type":"THRESHOLD","condition":{"tenantId":"28026b36-8fe4-4332-84c8-524e173a68bf","triggerId":"snert~Local_jvm_garba","triggerMode":"FIRING","type":"THRESHOLD","conditionSetSize":1,"conditionSetIndex":1,"conditionId":"snert~Local_jvm_garba-FIRING-1-1","context":{"unit":"ms","description":"GC
66
+ Duration"},"dataId":"MI~R~[snert~Local~~]~MT~WildFly Memory Metrics~Accumulated
67
+ GC Duration","operator":"GT","threshold":200.0},"value":8075.0}],[{"evalTimestamp":1446977553867,"dataTimestamp":1446977553153,"type":"THRESHOLD","condition":{"tenantId":"28026b36-8fe4-4332-84c8-524e173a68bf","triggerId":"snert~Local_jvm_garba","triggerMode":"FIRING","type":"THRESHOLD","conditionSetSize":1,"conditionSetIndex":1,"conditionId":"snert~Local_jvm_garba-FIRING-1-1","context":{"unit":"ms","description":"GC
68
+ Duration"},"dataId":"MI~R~[snert~Local~~]~MT~WildFly Memory Metrics~Accumulated
69
+ GC Duration","operator":"GT","threshold":200.0},"value":8075.0}],[{"evalTimestamp":1446977613965,"dataTimestamp":1446977613197,"type":"THRESHOLD","condition":{"tenantId":"28026b36-8fe4-4332-84c8-524e173a68bf","triggerId":"snert~Local_jvm_garba","triggerMode":"FIRING","type":"THRESHOLD","conditionSetSize":1,"conditionSetIndex":1,"conditionId":"snert~Local_jvm_garba-FIRING-1-1","context":{"unit":"ms","description":"GC
70
+ Duration"},"dataId":"MI~R~[snert~Local~~]~MT~WildFly Memory Metrics~Accumulated
71
+ GC Duration","operator":"GT","threshold":200.0},"value":8112.0}],[{"evalTimestamp":1446977674050,"dataTimestamp":1446977673226,"type":"THRESHOLD","condition":{"tenantId":"28026b36-8fe4-4332-84c8-524e173a68bf","triggerId":"snert~Local_jvm_garba","triggerMode":"FIRING","type":"THRESHOLD","conditionSetSize":1,"conditionSetIndex":1,"conditionId":"snert~Local_jvm_garba-FIRING-1-1","context":{"unit":"ms","description":"GC
72
+ Duration"},"dataId":"MI~R~[snert~Local~~]~MT~WildFly Memory Metrics~Accumulated
73
+ GC Duration","operator":"GT","threshold":200.0},"value":8125.0}],[{"evalTimestamp":1446977734129,"dataTimestamp":1446977733251,"type":"THRESHOLD","condition":{"tenantId":"28026b36-8fe4-4332-84c8-524e173a68bf","triggerId":"snert~Local_jvm_garba","triggerMode":"FIRING","type":"THRESHOLD","conditionSetSize":1,"conditionSetIndex":1,"conditionId":"snert~Local_jvm_garba-FIRING-1-1","context":{"unit":"ms","description":"GC
74
+ Duration"},"dataId":"MI~R~[snert~Local~~]~MT~WildFly Memory Metrics~Accumulated
75
+ GC Duration","operator":"GT","threshold":200.0},"value":8125.0}]],"severity":"HIGH","status":"OPEN","ackTime":0,"ackBy":null,"resolvedTime":0,"resolvedBy":null,"trigger":{"tenantId":"28026b36-8fe4-4332-84c8-524e173a68bf","id":"snert~Local_jvm_garba","name":"Accumulated
76
+ GC Duration","context":{"description":"Accumulated GC Duration for snert~Local","resourceName":"snert~Local","resourcePath":"/t;28026b36-8fe4-4332-84c8-524e173a68bf/e;test/f;snert/r;snert~Local~~","resourceType":"App
77
+ Server","triggerType":"Threshold"},"actions":{"email":["jdoe@acme.com"]},"autoDisable":true,"autoEnable":true,"autoResolve":false,"autoResolveAlerts":true,"autoResolveMatch":"ALL","description":"Accumulated
78
+ GC Duration for snert~Local","enabled":true,"firingMatch":"ALL","orphan":false,"group":false,"severity":"HIGH"},"dampening":{"tenantId":"28026b36-8fe4-4332-84c8-524e173a68bf","triggerId":"snert~Local_jvm_garba","triggerMode":"FIRING","type":"STRICT_TIME","evalTrueSetting":0,"evalTotalSetting":0,"evalTimeSetting":420000,"dampeningId":"snert~Local_jvm_garba-FIRING","currentEvals":{"1":{"evalTimestamp":1446977734129,"dataTimestamp":1446977733251,"type":"THRESHOLD","condition":{"tenantId":"28026b36-8fe4-4332-84c8-524e173a68bf","triggerId":"snert~Local_jvm_garba","triggerMode":"FIRING","type":"THRESHOLD","conditionSetSize":1,"conditionSetIndex":1,"conditionId":"snert~Local_jvm_garba-FIRING-1-1","context":{"unit":"ms","description":"GC
79
+ Duration"},"dataId":"MI~R~[snert~Local~~]~MT~WildFly Memory Metrics~Accumulated
80
+ GC Duration","operator":"GT","threshold":200.0},"value":8125.0}}},"context":{"description":"Accumulated
81
+ GC Duration for snert~Local","resourceName":"snert~Local","resourcePath":"/t;28026b36-8fe4-4332-84c8-524e173a68bf/e;test/f;snert/r;snert~Local~~","resourceType":"App
82
+ Server","triggerType":"Threshold"}}]'
83
+ http_version:
84
+ recorded_at: Sun, 08 Nov 2015 19:47:43 GMT
85
+ recorded_with: VCR 3.0.0
@@ -0,0 +1,142 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: http://jdoe:password@localhost:8080/hawkular/alerts/?triggerIds=75bfdd05-d03d-481e-bf32-c724c7719d8b~Local_jvm_pheap
6
+ body:
7
+ encoding: US-ASCII
8
+ string: ''
9
+ headers:
10
+ Accept:
11
+ - application/json
12
+ Accept-Encoding:
13
+ - gzip, deflate
14
+ Content-Type:
15
+ - application/json
16
+ User-Agent:
17
+ - Ruby
18
+ response:
19
+ status:
20
+ code: 200
21
+ message: OK
22
+ headers:
23
+ Expires:
24
+ - '0'
25
+ Cache-Control:
26
+ - no-cache, no-store, must-revalidate
27
+ X-Powered-By:
28
+ - Undertow/1
29
+ Server:
30
+ - WildFly/9
31
+ Pragma:
32
+ - no-cache
33
+ Date:
34
+ - Thu, 26 Nov 2015 10:26:24 GMT
35
+ X-Total-Count:
36
+ - '1'
37
+ Connection:
38
+ - keep-alive
39
+ Transfer-Encoding:
40
+ - chunked
41
+ Content-Type:
42
+ - application/json
43
+ Link:
44
+ - <http://localhost:8080/hawkular/alerts/?triggerIds=75bfdd05-d03d-481e-bf32-c724c7719d8b~Local_jvm_pheap>;
45
+ rel="current", <http://localhost:8080/hawkular/alerts/?triggerIds=75bfdd05-d03d-481e-bf32-c724c7719d8b~Local_jvm_pheap&page=0>;
46
+ rel="last"
47
+ body:
48
+ encoding: UTF-8
49
+ string: '[{"eventType":"ALERT","tenantId":"28026b36-8fe4-4332-84c8-524e173a68bf","id":"75bfdd05-d03d-481e-bf32-c724c7719d8b~Local_jvm_pheap-1448290503626","ctime":1448290503626,"dataId":"75bfdd05-d03d-481e-bf32-c724c7719d8b~Local_jvm_pheap","category":"ALERT","text":"JVM
50
+ Heap Used for 75bfdd05-d03d-481e-bf32-c724c7719d8b~Local","context":{"alertType":"PHEAP","resourceName":"75bfdd05-d03d-481e-bf32-c724c7719d8b~Local","resourcePath":"/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;snert/r;snert~Local~~","resourceType":"App
51
+ Server","triggerType":"RangeByPercent","triggerTypeProperty1":"MI~R~[75bfdd05-d03d-481e-bf32-c724c7719d8b~Local~~]~MT~WildFly
52
+ Memory Metrics~Heap Max","triggerTypeProperty2":"Heap Max"},"tags":{"resourceId":"75bfdd05-d03d-481e-bf32-c724c7719d8b~Local"},"trigger":{"tenantId":"28026b36-8fe4-4332-84c8-524e173a68bf","id":"75bfdd05-d03d-481e-bf32-c724c7719d8b~Local_jvm_pheap","name":"JVM
53
+ Heap Used","description":"JVM Heap Used for 75bfdd05-d03d-481e-bf32-c724c7719d8b~Local","eventType":"ALERT","eventCategory":null,"eventText":null,"severity":"MEDIUM","context":{"alertType":"PHEAP","resourceName":"75bfdd05-d03d-481e-bf32-c724c7719d8b~Local","resourcePath":"/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;snert/r;snert~Local~~","resourceType":"App
54
+ Server","triggerType":"RangeByPercent","triggerTypeProperty1":"MI~R~[75bfdd05-d03d-481e-bf32-c724c7719d8b~Local~~]~MT~WildFly
55
+ Memory Metrics~Heap Max","triggerTypeProperty2":"Heap Max"},"tags":{"resourceId":"75bfdd05-d03d-481e-bf32-c724c7719d8b~Local"},"actions":{"email":["jdoe@example.com"]},"autoDisable":true,"autoEnable":true,"autoResolve":false,"autoResolveAlerts":true,"autoResolveMatch":"ALL","enabled":true,"firingMatch":"ANY","orphan":false,"group":false},"dampening":{"tenantId":"28026b36-8fe4-4332-84c8-524e173a68bf","triggerId":"75bfdd05-d03d-481e-bf32-c724c7719d8b~Local_jvm_pheap","triggerMode":"FIRING","type":"STRICT_TIME","evalTrueSetting":0,"evalTotalSetting":0,"evalTimeSetting":420000,"dampeningId":"75bfdd05-d03d-481e-bf32-c724c7719d8b~Local_jvm_pheap-FIRING"},"evalSets":[[{"evalTimestamp":1448290083019,"dataTimestamp":1448290081901,"type":"COMPARE","condition":{"tenantId":"28026b36-8fe4-4332-84c8-524e173a68bf","triggerId":"75bfdd05-d03d-481e-bf32-c724c7719d8b~Local_jvm_pheap","triggerMode":"FIRING","type":"COMPARE","conditionSetSize":2,"conditionSetIndex":1,"conditionId":"75bfdd05-d03d-481e-bf32-c724c7719d8b~Local_jvm_pheap-FIRING-2-1","context":{"unit":"B","description":"Heap
56
+ Used"},"dataId":"MI~R~[75bfdd05-d03d-481e-bf32-c724c7719d8b~Local~~]~MT~WildFly
57
+ Memory Metrics~Heap Used","operator":"GT","data2Id":"MI~R~[75bfdd05-d03d-481e-bf32-c724c7719d8b~Local~~]~MT~WildFly
58
+ Memory Metrics~Heap Max","data2Multiplier":0.8},"value1":7.5495136E7,"value2":4.77626368E8},{"evalTimestamp":1448290083019,"dataTimestamp":1448290081901,"type":"COMPARE","condition":{"tenantId":"28026b36-8fe4-4332-84c8-524e173a68bf","triggerId":"75bfdd05-d03d-481e-bf32-c724c7719d8b~Local_jvm_pheap","triggerMode":"FIRING","type":"COMPARE","conditionSetSize":2,"conditionSetIndex":2,"conditionId":"75bfdd05-d03d-481e-bf32-c724c7719d8b~Local_jvm_pheap-FIRING-2-2","context":{"unit":"B","description":"Heap
59
+ Used"},"dataId":"MI~R~[75bfdd05-d03d-481e-bf32-c724c7719d8b~Local~~]~MT~WildFly
60
+ Memory Metrics~Heap Used","operator":"LT","data2Id":"MI~R~[75bfdd05-d03d-481e-bf32-c724c7719d8b~Local~~]~MT~WildFly
61
+ Memory Metrics~Heap Max","data2Multiplier":0.2},"value1":7.5495136E7,"value2":4.77626368E8}],[{"evalTimestamp":1448290143118,"dataTimestamp":1448290141907,"type":"COMPARE","condition":{"tenantId":"28026b36-8fe4-4332-84c8-524e173a68bf","triggerId":"75bfdd05-d03d-481e-bf32-c724c7719d8b~Local_jvm_pheap","triggerMode":"FIRING","type":"COMPARE","conditionSetSize":2,"conditionSetIndex":1,"conditionId":"75bfdd05-d03d-481e-bf32-c724c7719d8b~Local_jvm_pheap-FIRING-2-1","context":{"unit":"B","description":"Heap
62
+ Used"},"dataId":"MI~R~[75bfdd05-d03d-481e-bf32-c724c7719d8b~Local~~]~MT~WildFly
63
+ Memory Metrics~Heap Used","operator":"GT","data2Id":"MI~R~[75bfdd05-d03d-481e-bf32-c724c7719d8b~Local~~]~MT~WildFly
64
+ Memory Metrics~Heap Max","data2Multiplier":0.8},"value1":7.8123256E7,"value2":4.77626368E8},{"evalTimestamp":1448290083019,"dataTimestamp":1448290081901,"type":"COMPARE","condition":{"tenantId":"28026b36-8fe4-4332-84c8-524e173a68bf","triggerId":"75bfdd05-d03d-481e-bf32-c724c7719d8b~Local_jvm_pheap","triggerMode":"FIRING","type":"COMPARE","conditionSetSize":2,"conditionSetIndex":2,"conditionId":"75bfdd05-d03d-481e-bf32-c724c7719d8b~Local_jvm_pheap-FIRING-2-2","context":{"unit":"B","description":"Heap
65
+ Used"},"dataId":"MI~R~[75bfdd05-d03d-481e-bf32-c724c7719d8b~Local~~]~MT~WildFly
66
+ Memory Metrics~Heap Used","operator":"LT","data2Id":"MI~R~[75bfdd05-d03d-481e-bf32-c724c7719d8b~Local~~]~MT~WildFly
67
+ Memory Metrics~Heap Max","data2Multiplier":0.2},"value1":7.5495136E7,"value2":4.77626368E8}],[{"evalTimestamp":1448290143118,"dataTimestamp":1448290141907,"type":"COMPARE","condition":{"tenantId":"28026b36-8fe4-4332-84c8-524e173a68bf","triggerId":"75bfdd05-d03d-481e-bf32-c724c7719d8b~Local_jvm_pheap","triggerMode":"FIRING","type":"COMPARE","conditionSetSize":2,"conditionSetIndex":2,"conditionId":"75bfdd05-d03d-481e-bf32-c724c7719d8b~Local_jvm_pheap-FIRING-2-2","context":{"unit":"B","description":"Heap
68
+ Used"},"dataId":"MI~R~[75bfdd05-d03d-481e-bf32-c724c7719d8b~Local~~]~MT~WildFly
69
+ Memory Metrics~Heap Used","operator":"LT","data2Id":"MI~R~[75bfdd05-d03d-481e-bf32-c724c7719d8b~Local~~]~MT~WildFly
70
+ Memory Metrics~Heap Max","data2Multiplier":0.2},"value1":7.8123256E7,"value2":4.77626368E8},{"evalTimestamp":1448290143118,"dataTimestamp":1448290141907,"type":"COMPARE","condition":{"tenantId":"28026b36-8fe4-4332-84c8-524e173a68bf","triggerId":"75bfdd05-d03d-481e-bf32-c724c7719d8b~Local_jvm_pheap","triggerMode":"FIRING","type":"COMPARE","conditionSetSize":2,"conditionSetIndex":1,"conditionId":"75bfdd05-d03d-481e-bf32-c724c7719d8b~Local_jvm_pheap-FIRING-2-1","context":{"unit":"B","description":"Heap
71
+ Used"},"dataId":"MI~R~[75bfdd05-d03d-481e-bf32-c724c7719d8b~Local~~]~MT~WildFly
72
+ Memory Metrics~Heap Used","operator":"GT","data2Id":"MI~R~[75bfdd05-d03d-481e-bf32-c724c7719d8b~Local~~]~MT~WildFly
73
+ Memory Metrics~Heap Max","data2Multiplier":0.8},"value1":7.8123256E7,"value2":4.77626368E8}],[{"evalTimestamp":1448290143118,"dataTimestamp":1448290141907,"type":"COMPARE","condition":{"tenantId":"28026b36-8fe4-4332-84c8-524e173a68bf","triggerId":"75bfdd05-d03d-481e-bf32-c724c7719d8b~Local_jvm_pheap","triggerMode":"FIRING","type":"COMPARE","conditionSetSize":2,"conditionSetIndex":2,"conditionId":"75bfdd05-d03d-481e-bf32-c724c7719d8b~Local_jvm_pheap-FIRING-2-2","context":{"unit":"B","description":"Heap
74
+ Used"},"dataId":"MI~R~[75bfdd05-d03d-481e-bf32-c724c7719d8b~Local~~]~MT~WildFly
75
+ Memory Metrics~Heap Used","operator":"LT","data2Id":"MI~R~[75bfdd05-d03d-481e-bf32-c724c7719d8b~Local~~]~MT~WildFly
76
+ Memory Metrics~Heap Max","data2Multiplier":0.2},"value1":7.8123256E7,"value2":4.77626368E8},{"evalTimestamp":1448290203210,"dataTimestamp":1448290201913,"type":"COMPARE","condition":{"tenantId":"28026b36-8fe4-4332-84c8-524e173a68bf","triggerId":"75bfdd05-d03d-481e-bf32-c724c7719d8b~Local_jvm_pheap","triggerMode":"FIRING","type":"COMPARE","conditionSetSize":2,"conditionSetIndex":1,"conditionId":"75bfdd05-d03d-481e-bf32-c724c7719d8b~Local_jvm_pheap-FIRING-2-1","context":{"unit":"B","description":"Heap
77
+ Used"},"dataId":"MI~R~[75bfdd05-d03d-481e-bf32-c724c7719d8b~Local~~]~MT~WildFly
78
+ Memory Metrics~Heap Used","operator":"GT","data2Id":"MI~R~[75bfdd05-d03d-481e-bf32-c724c7719d8b~Local~~]~MT~WildFly
79
+ Memory Metrics~Heap Max","data2Multiplier":0.8},"value1":8.044912E7,"value2":4.77626368E8}],[{"evalTimestamp":1448290203210,"dataTimestamp":1448290201913,"type":"COMPARE","condition":{"tenantId":"28026b36-8fe4-4332-84c8-524e173a68bf","triggerId":"75bfdd05-d03d-481e-bf32-c724c7719d8b~Local_jvm_pheap","triggerMode":"FIRING","type":"COMPARE","conditionSetSize":2,"conditionSetIndex":2,"conditionId":"75bfdd05-d03d-481e-bf32-c724c7719d8b~Local_jvm_pheap-FIRING-2-2","context":{"unit":"B","description":"Heap
80
+ Used"},"dataId":"MI~R~[75bfdd05-d03d-481e-bf32-c724c7719d8b~Local~~]~MT~WildFly
81
+ Memory Metrics~Heap Used","operator":"LT","data2Id":"MI~R~[75bfdd05-d03d-481e-bf32-c724c7719d8b~Local~~]~MT~WildFly
82
+ Memory Metrics~Heap Max","data2Multiplier":0.2},"value1":8.044912E7,"value2":4.77626368E8},{"evalTimestamp":1448290203210,"dataTimestamp":1448290201913,"type":"COMPARE","condition":{"tenantId":"28026b36-8fe4-4332-84c8-524e173a68bf","triggerId":"75bfdd05-d03d-481e-bf32-c724c7719d8b~Local_jvm_pheap","triggerMode":"FIRING","type":"COMPARE","conditionSetSize":2,"conditionSetIndex":1,"conditionId":"75bfdd05-d03d-481e-bf32-c724c7719d8b~Local_jvm_pheap-FIRING-2-1","context":{"unit":"B","description":"Heap
83
+ Used"},"dataId":"MI~R~[75bfdd05-d03d-481e-bf32-c724c7719d8b~Local~~]~MT~WildFly
84
+ Memory Metrics~Heap Used","operator":"GT","data2Id":"MI~R~[75bfdd05-d03d-481e-bf32-c724c7719d8b~Local~~]~MT~WildFly
85
+ Memory Metrics~Heap Max","data2Multiplier":0.8},"value1":8.044912E7,"value2":4.77626368E8}],[{"evalTimestamp":1448290263281,"dataTimestamp":1448290261921,"type":"COMPARE","condition":{"tenantId":"28026b36-8fe4-4332-84c8-524e173a68bf","triggerId":"75bfdd05-d03d-481e-bf32-c724c7719d8b~Local_jvm_pheap","triggerMode":"FIRING","type":"COMPARE","conditionSetSize":2,"conditionSetIndex":1,"conditionId":"75bfdd05-d03d-481e-bf32-c724c7719d8b~Local_jvm_pheap-FIRING-2-1","context":{"unit":"B","description":"Heap
86
+ Used"},"dataId":"MI~R~[75bfdd05-d03d-481e-bf32-c724c7719d8b~Local~~]~MT~WildFly
87
+ Memory Metrics~Heap Used","operator":"GT","data2Id":"MI~R~[75bfdd05-d03d-481e-bf32-c724c7719d8b~Local~~]~MT~WildFly
88
+ Memory Metrics~Heap Max","data2Multiplier":0.8},"value1":8.403424E7,"value2":4.77626368E8},{"evalTimestamp":1448290203210,"dataTimestamp":1448290201913,"type":"COMPARE","condition":{"tenantId":"28026b36-8fe4-4332-84c8-524e173a68bf","triggerId":"75bfdd05-d03d-481e-bf32-c724c7719d8b~Local_jvm_pheap","triggerMode":"FIRING","type":"COMPARE","conditionSetSize":2,"conditionSetIndex":2,"conditionId":"75bfdd05-d03d-481e-bf32-c724c7719d8b~Local_jvm_pheap-FIRING-2-2","context":{"unit":"B","description":"Heap
89
+ Used"},"dataId":"MI~R~[75bfdd05-d03d-481e-bf32-c724c7719d8b~Local~~]~MT~WildFly
90
+ Memory Metrics~Heap Used","operator":"LT","data2Id":"MI~R~[75bfdd05-d03d-481e-bf32-c724c7719d8b~Local~~]~MT~WildFly
91
+ Memory Metrics~Heap Max","data2Multiplier":0.2},"value1":8.044912E7,"value2":4.77626368E8}],[{"evalTimestamp":1448290263281,"dataTimestamp":1448290261921,"type":"COMPARE","condition":{"tenantId":"28026b36-8fe4-4332-84c8-524e173a68bf","triggerId":"75bfdd05-d03d-481e-bf32-c724c7719d8b~Local_jvm_pheap","triggerMode":"FIRING","type":"COMPARE","conditionSetSize":2,"conditionSetIndex":1,"conditionId":"75bfdd05-d03d-481e-bf32-c724c7719d8b~Local_jvm_pheap-FIRING-2-1","context":{"unit":"B","description":"Heap
92
+ Used"},"dataId":"MI~R~[75bfdd05-d03d-481e-bf32-c724c7719d8b~Local~~]~MT~WildFly
93
+ Memory Metrics~Heap Used","operator":"GT","data2Id":"MI~R~[75bfdd05-d03d-481e-bf32-c724c7719d8b~Local~~]~MT~WildFly
94
+ Memory Metrics~Heap Max","data2Multiplier":0.8},"value1":8.403424E7,"value2":4.77626368E8},{"evalTimestamp":1448290263281,"dataTimestamp":1448290261921,"type":"COMPARE","condition":{"tenantId":"28026b36-8fe4-4332-84c8-524e173a68bf","triggerId":"75bfdd05-d03d-481e-bf32-c724c7719d8b~Local_jvm_pheap","triggerMode":"FIRING","type":"COMPARE","conditionSetSize":2,"conditionSetIndex":2,"conditionId":"75bfdd05-d03d-481e-bf32-c724c7719d8b~Local_jvm_pheap-FIRING-2-2","context":{"unit":"B","description":"Heap
95
+ Used"},"dataId":"MI~R~[75bfdd05-d03d-481e-bf32-c724c7719d8b~Local~~]~MT~WildFly
96
+ Memory Metrics~Heap Used","operator":"LT","data2Id":"MI~R~[75bfdd05-d03d-481e-bf32-c724c7719d8b~Local~~]~MT~WildFly
97
+ Memory Metrics~Heap Max","data2Multiplier":0.2},"value1":8.403424E7,"value2":4.77626368E8}],[{"evalTimestamp":1448290323355,"dataTimestamp":1448290321928,"type":"COMPARE","condition":{"tenantId":"28026b36-8fe4-4332-84c8-524e173a68bf","triggerId":"75bfdd05-d03d-481e-bf32-c724c7719d8b~Local_jvm_pheap","triggerMode":"FIRING","type":"COMPARE","conditionSetSize":2,"conditionSetIndex":1,"conditionId":"75bfdd05-d03d-481e-bf32-c724c7719d8b~Local_jvm_pheap-FIRING-2-1","context":{"unit":"B","description":"Heap
98
+ Used"},"dataId":"MI~R~[75bfdd05-d03d-481e-bf32-c724c7719d8b~Local~~]~MT~WildFly
99
+ Memory Metrics~Heap Used","operator":"GT","data2Id":"MI~R~[75bfdd05-d03d-481e-bf32-c724c7719d8b~Local~~]~MT~WildFly
100
+ Memory Metrics~Heap Max","data2Multiplier":0.8},"value1":8.6686544E7,"value2":4.77626368E8},{"evalTimestamp":1448290263281,"dataTimestamp":1448290261921,"type":"COMPARE","condition":{"tenantId":"28026b36-8fe4-4332-84c8-524e173a68bf","triggerId":"75bfdd05-d03d-481e-bf32-c724c7719d8b~Local_jvm_pheap","triggerMode":"FIRING","type":"COMPARE","conditionSetSize":2,"conditionSetIndex":2,"conditionId":"75bfdd05-d03d-481e-bf32-c724c7719d8b~Local_jvm_pheap-FIRING-2-2","context":{"unit":"B","description":"Heap
101
+ Used"},"dataId":"MI~R~[75bfdd05-d03d-481e-bf32-c724c7719d8b~Local~~]~MT~WildFly
102
+ Memory Metrics~Heap Used","operator":"LT","data2Id":"MI~R~[75bfdd05-d03d-481e-bf32-c724c7719d8b~Local~~]~MT~WildFly
103
+ Memory Metrics~Heap Max","data2Multiplier":0.2},"value1":8.403424E7,"value2":4.77626368E8}],[{"evalTimestamp":1448290323355,"dataTimestamp":1448290321928,"type":"COMPARE","condition":{"tenantId":"28026b36-8fe4-4332-84c8-524e173a68bf","triggerId":"75bfdd05-d03d-481e-bf32-c724c7719d8b~Local_jvm_pheap","triggerMode":"FIRING","type":"COMPARE","conditionSetSize":2,"conditionSetIndex":1,"conditionId":"75bfdd05-d03d-481e-bf32-c724c7719d8b~Local_jvm_pheap-FIRING-2-1","context":{"unit":"B","description":"Heap
104
+ Used"},"dataId":"MI~R~[75bfdd05-d03d-481e-bf32-c724c7719d8b~Local~~]~MT~WildFly
105
+ Memory Metrics~Heap Used","operator":"GT","data2Id":"MI~R~[75bfdd05-d03d-481e-bf32-c724c7719d8b~Local~~]~MT~WildFly
106
+ Memory Metrics~Heap Max","data2Multiplier":0.8},"value1":8.6686544E7,"value2":4.77626368E8},{"evalTimestamp":1448290323355,"dataTimestamp":1448290321928,"type":"COMPARE","condition":{"tenantId":"28026b36-8fe4-4332-84c8-524e173a68bf","triggerId":"75bfdd05-d03d-481e-bf32-c724c7719d8b~Local_jvm_pheap","triggerMode":"FIRING","type":"COMPARE","conditionSetSize":2,"conditionSetIndex":2,"conditionId":"75bfdd05-d03d-481e-bf32-c724c7719d8b~Local_jvm_pheap-FIRING-2-2","context":{"unit":"B","description":"Heap
107
+ Used"},"dataId":"MI~R~[75bfdd05-d03d-481e-bf32-c724c7719d8b~Local~~]~MT~WildFly
108
+ Memory Metrics~Heap Used","operator":"LT","data2Id":"MI~R~[75bfdd05-d03d-481e-bf32-c724c7719d8b~Local~~]~MT~WildFly
109
+ Memory Metrics~Heap Max","data2Multiplier":0.2},"value1":8.6686544E7,"value2":4.77626368E8}],[{"evalTimestamp":1448290323355,"dataTimestamp":1448290321928,"type":"COMPARE","condition":{"tenantId":"28026b36-8fe4-4332-84c8-524e173a68bf","triggerId":"75bfdd05-d03d-481e-bf32-c724c7719d8b~Local_jvm_pheap","triggerMode":"FIRING","type":"COMPARE","conditionSetSize":2,"conditionSetIndex":2,"conditionId":"75bfdd05-d03d-481e-bf32-c724c7719d8b~Local_jvm_pheap-FIRING-2-2","context":{"unit":"B","description":"Heap
110
+ Used"},"dataId":"MI~R~[75bfdd05-d03d-481e-bf32-c724c7719d8b~Local~~]~MT~WildFly
111
+ Memory Metrics~Heap Used","operator":"LT","data2Id":"MI~R~[75bfdd05-d03d-481e-bf32-c724c7719d8b~Local~~]~MT~WildFly
112
+ Memory Metrics~Heap Max","data2Multiplier":0.2},"value1":8.6686544E7,"value2":4.77626368E8},{"evalTimestamp":1448290383442,"dataTimestamp":1448290381937,"type":"COMPARE","condition":{"tenantId":"28026b36-8fe4-4332-84c8-524e173a68bf","triggerId":"75bfdd05-d03d-481e-bf32-c724c7719d8b~Local_jvm_pheap","triggerMode":"FIRING","type":"COMPARE","conditionSetSize":2,"conditionSetIndex":1,"conditionId":"75bfdd05-d03d-481e-bf32-c724c7719d8b~Local_jvm_pheap-FIRING-2-1","context":{"unit":"B","description":"Heap
113
+ Used"},"dataId":"MI~R~[75bfdd05-d03d-481e-bf32-c724c7719d8b~Local~~]~MT~WildFly
114
+ Memory Metrics~Heap Used","operator":"GT","data2Id":"MI~R~[75bfdd05-d03d-481e-bf32-c724c7719d8b~Local~~]~MT~WildFly
115
+ Memory Metrics~Heap Max","data2Multiplier":0.8},"value1":8.9241792E7,"value2":4.77626368E8}],[{"evalTimestamp":1448290383442,"dataTimestamp":1448290381937,"type":"COMPARE","condition":{"tenantId":"28026b36-8fe4-4332-84c8-524e173a68bf","triggerId":"75bfdd05-d03d-481e-bf32-c724c7719d8b~Local_jvm_pheap","triggerMode":"FIRING","type":"COMPARE","conditionSetSize":2,"conditionSetIndex":2,"conditionId":"75bfdd05-d03d-481e-bf32-c724c7719d8b~Local_jvm_pheap-FIRING-2-2","context":{"unit":"B","description":"Heap
116
+ Used"},"dataId":"MI~R~[75bfdd05-d03d-481e-bf32-c724c7719d8b~Local~~]~MT~WildFly
117
+ Memory Metrics~Heap Used","operator":"LT","data2Id":"MI~R~[75bfdd05-d03d-481e-bf32-c724c7719d8b~Local~~]~MT~WildFly
118
+ Memory Metrics~Heap Max","data2Multiplier":0.2},"value1":8.9241792E7,"value2":4.77626368E8},{"evalTimestamp":1448290383442,"dataTimestamp":1448290381937,"type":"COMPARE","condition":{"tenantId":"28026b36-8fe4-4332-84c8-524e173a68bf","triggerId":"75bfdd05-d03d-481e-bf32-c724c7719d8b~Local_jvm_pheap","triggerMode":"FIRING","type":"COMPARE","conditionSetSize":2,"conditionSetIndex":1,"conditionId":"75bfdd05-d03d-481e-bf32-c724c7719d8b~Local_jvm_pheap-FIRING-2-1","context":{"unit":"B","description":"Heap
119
+ Used"},"dataId":"MI~R~[75bfdd05-d03d-481e-bf32-c724c7719d8b~Local~~]~MT~WildFly
120
+ Memory Metrics~Heap Used","operator":"GT","data2Id":"MI~R~[75bfdd05-d03d-481e-bf32-c724c7719d8b~Local~~]~MT~WildFly
121
+ Memory Metrics~Heap Max","data2Multiplier":0.8},"value1":8.9241792E7,"value2":4.77626368E8}],[{"evalTimestamp":1448290383442,"dataTimestamp":1448290381937,"type":"COMPARE","condition":{"tenantId":"28026b36-8fe4-4332-84c8-524e173a68bf","triggerId":"75bfdd05-d03d-481e-bf32-c724c7719d8b~Local_jvm_pheap","triggerMode":"FIRING","type":"COMPARE","conditionSetSize":2,"conditionSetIndex":2,"conditionId":"75bfdd05-d03d-481e-bf32-c724c7719d8b~Local_jvm_pheap-FIRING-2-2","context":{"unit":"B","description":"Heap
122
+ Used"},"dataId":"MI~R~[75bfdd05-d03d-481e-bf32-c724c7719d8b~Local~~]~MT~WildFly
123
+ Memory Metrics~Heap Used","operator":"LT","data2Id":"MI~R~[75bfdd05-d03d-481e-bf32-c724c7719d8b~Local~~]~MT~WildFly
124
+ Memory Metrics~Heap Max","data2Multiplier":0.2},"value1":8.9241792E7,"value2":4.77626368E8},{"evalTimestamp":1448290443524,"dataTimestamp":1448290441943,"type":"COMPARE","condition":{"tenantId":"28026b36-8fe4-4332-84c8-524e173a68bf","triggerId":"75bfdd05-d03d-481e-bf32-c724c7719d8b~Local_jvm_pheap","triggerMode":"FIRING","type":"COMPARE","conditionSetSize":2,"conditionSetIndex":1,"conditionId":"75bfdd05-d03d-481e-bf32-c724c7719d8b~Local_jvm_pheap-FIRING-2-1","context":{"unit":"B","description":"Heap
125
+ Used"},"dataId":"MI~R~[75bfdd05-d03d-481e-bf32-c724c7719d8b~Local~~]~MT~WildFly
126
+ Memory Metrics~Heap Used","operator":"GT","data2Id":"MI~R~[75bfdd05-d03d-481e-bf32-c724c7719d8b~Local~~]~MT~WildFly
127
+ Memory Metrics~Heap Max","data2Multiplier":0.8},"value1":9.1709448E7,"value2":4.77626368E8}],[{"evalTimestamp":1448290443524,"dataTimestamp":1448290441943,"type":"COMPARE","condition":{"tenantId":"28026b36-8fe4-4332-84c8-524e173a68bf","triggerId":"75bfdd05-d03d-481e-bf32-c724c7719d8b~Local_jvm_pheap","triggerMode":"FIRING","type":"COMPARE","conditionSetSize":2,"conditionSetIndex":1,"conditionId":"75bfdd05-d03d-481e-bf32-c724c7719d8b~Local_jvm_pheap-FIRING-2-1","context":{"unit":"B","description":"Heap
128
+ Used"},"dataId":"MI~R~[75bfdd05-d03d-481e-bf32-c724c7719d8b~Local~~]~MT~WildFly
129
+ Memory Metrics~Heap Used","operator":"GT","data2Id":"MI~R~[75bfdd05-d03d-481e-bf32-c724c7719d8b~Local~~]~MT~WildFly
130
+ Memory Metrics~Heap Max","data2Multiplier":0.8},"value1":9.1709448E7,"value2":4.77626368E8},{"evalTimestamp":1448290443524,"dataTimestamp":1448290441943,"type":"COMPARE","condition":{"tenantId":"28026b36-8fe4-4332-84c8-524e173a68bf","triggerId":"75bfdd05-d03d-481e-bf32-c724c7719d8b~Local_jvm_pheap","triggerMode":"FIRING","type":"COMPARE","conditionSetSize":2,"conditionSetIndex":2,"conditionId":"75bfdd05-d03d-481e-bf32-c724c7719d8b~Local_jvm_pheap-FIRING-2-2","context":{"unit":"B","description":"Heap
131
+ Used"},"dataId":"MI~R~[75bfdd05-d03d-481e-bf32-c724c7719d8b~Local~~]~MT~WildFly
132
+ Memory Metrics~Heap Used","operator":"LT","data2Id":"MI~R~[75bfdd05-d03d-481e-bf32-c724c7719d8b~Local~~]~MT~WildFly
133
+ Memory Metrics~Heap Max","data2Multiplier":0.2},"value1":9.1709448E7,"value2":4.77626368E8}],[{"evalTimestamp":1448290503622,"dataTimestamp":1448290501950,"type":"COMPARE","condition":{"tenantId":"28026b36-8fe4-4332-84c8-524e173a68bf","triggerId":"75bfdd05-d03d-481e-bf32-c724c7719d8b~Local_jvm_pheap","triggerMode":"FIRING","type":"COMPARE","conditionSetSize":2,"conditionSetIndex":1,"conditionId":"75bfdd05-d03d-481e-bf32-c724c7719d8b~Local_jvm_pheap-FIRING-2-1","context":{"unit":"B","description":"Heap
134
+ Used"},"dataId":"MI~R~[75bfdd05-d03d-481e-bf32-c724c7719d8b~Local~~]~MT~WildFly
135
+ Memory Metrics~Heap Used","operator":"GT","data2Id":"MI~R~[75bfdd05-d03d-481e-bf32-c724c7719d8b~Local~~]~MT~WildFly
136
+ Memory Metrics~Heap Max","data2Multiplier":0.8},"value1":9.422412E7,"value2":4.77626368E8},{"evalTimestamp":1448290443524,"dataTimestamp":1448290441943,"type":"COMPARE","condition":{"tenantId":"28026b36-8fe4-4332-84c8-524e173a68bf","triggerId":"75bfdd05-d03d-481e-bf32-c724c7719d8b~Local_jvm_pheap","triggerMode":"FIRING","type":"COMPARE","conditionSetSize":2,"conditionSetIndex":2,"conditionId":"75bfdd05-d03d-481e-bf32-c724c7719d8b~Local_jvm_pheap-FIRING-2-2","context":{"unit":"B","description":"Heap
137
+ Used"},"dataId":"MI~R~[75bfdd05-d03d-481e-bf32-c724c7719d8b~Local~~]~MT~WildFly
138
+ Memory Metrics~Heap Used","operator":"LT","data2Id":"MI~R~[75bfdd05-d03d-481e-bf32-c724c7719d8b~Local~~]~MT~WildFly
139
+ Memory Metrics~Heap Max","data2Multiplier":0.2},"value1":9.1709448E7,"value2":4.77626368E8}]],"severity":"MEDIUM","status":"RESOLVED","ackTime":1448301525531,"ackBy":"unknown","resolvedTime":1448464684369,"resolvedBy":"unknown","notes":[{"user":"unknown","ctime":1448297361449,"text":"none"},{"user":"unknown","ctime":1448298154941,"text":"none"},{"user":"unknown","ctime":1448299185550,"text":"none"},{"user":"unknown","ctime":1448299306215,"text":"none"},{"user":"unknown","ctime":1448299406998,"text":"none"},{"user":"unknown","ctime":1448299496755,"text":"none"},{"user":"unknown","ctime":1448299781650,"text":"none"},{"user":"unknown","ctime":1448300220874,"text":"none"},{"user":"unknown","ctime":1448301260623,"text":"none"},{"user":"unknown","ctime":1448301525531,"text":"none"},{"user":"unknown","ctime":1448464684369,"text":"none"}]}]'
140
+ http_version:
141
+ recorded_at: Thu, 26 Nov 2015 10:26:24 GMT
142
+ recorded_with: VCR 3.0.0