hawkular-client 0.2.2 → 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.rubocop.yml +3 -0
- data/.yardopts +1 -0
- data/CHANGES.rdoc +17 -4
- data/README.rdoc +15 -6
- data/api_breaking_changes.rdoc +79 -0
- data/hawkularclient.gemspec +6 -5
- data/lib/{alerts → hawkular/alerts}/alerts_api.rb +168 -7
- data/lib/{hawkular.rb → hawkular/base_client.rb} +7 -44
- data/lib/hawkular/hawkular_client.rb +60 -0
- data/lib/hawkular/hawkular_client_utils.rb +40 -0
- data/lib/{inventory → hawkular/inventory}/inventory_api.rb +167 -142
- data/lib/{metrics → hawkular/metrics}/metric_api.rb +1 -0
- data/lib/{metrics → hawkular/metrics}/metrics_client.rb +4 -4
- data/lib/{metrics → hawkular/metrics}/tenant_api.rb +0 -0
- data/lib/{metrics → hawkular/metrics}/types.rb +0 -0
- data/lib/{operations → hawkular/operations}/operations_api.rb +11 -8
- data/lib/{tokens → hawkular/tokens}/tokens_api.rb +1 -1
- data/lib/{version.rb → hawkular/version.rb} +1 -1
- data/spec/integration/alerts_spec.rb +200 -0
- data/spec/integration/hawkular_client_spec.rb +228 -0
- data/spec/integration/inventory_spec.rb +246 -160
- data/spec/integration/metric_spec.rb +52 -59
- data/spec/integration/operations_spec.rb +53 -29
- data/spec/spec_helper.rb +109 -8
- data/spec/unit/base_spec.rb +9 -0
- data/spec/unit/canonical_path_spec.rb +2 -2
- data/spec/vcr/vcr_setup.rb +6 -0
- data/spec/vcr_cassettes/Alert/Events/Should_create_an_event.yml +50 -0
- data/spec/vcr_cassettes/Alert/Groups/Should_operate_a_complex_group_trigger.yml +1726 -0
- data/spec/vcr_cassettes/Counter_metrics/Should_get_metrics_as_bucketed_results.yml +190 -0
- data/spec/vcr_cassettes/Counter_metrics/Should_get_metrics_with_limit_and_order.yml +30 -42
- data/spec/vcr_cassettes/HawkularClient/and_Inventory_client/Should_both_create_and_delete_feed.yml +287 -0
- data/spec/vcr_cassettes/{Inventory/Should_list_URLs.yml → HawkularClient/and_Inventory_client/Should_both_list_WildFlys.yml} +35 -33
- data/spec/vcr_cassettes/{Inventory/Should_list_types_with_bad_feed.yml → HawkularClient/and_Inventory_client/Should_both_list_types_with_bad_feed.yml} +16 -19
- data/spec/vcr_cassettes/HawkularClient/and_Inventory_client/Should_list_same_types_when_param_is_given.yml +245 -0
- data/spec/vcr_cassettes/{Inventory/Should_list_feeds.yml → HawkularClient/and_Inventory_client/Should_list_the_same_feeds.yml} +20 -20
- data/spec/vcr_cassettes/HawkularClient/and_Inventory_client/Should_list_the_same_resource_types.yml +249 -0
- data/spec/vcr_cassettes/HawkularClient/and_Metrics_client/Should_both_create_and_retrieve_tags_for_Availability.yml +155 -0
- data/spec/vcr_cassettes/HawkularClient/and_Metrics_client/Should_both_create_and_return_Availability_using_Hash_parameter.yml +155 -0
- data/spec/vcr_cassettes/HawkularClient/and_Metrics_client/Should_both_return_the_version.yml +89 -0
- data/spec/vcr_cassettes/HawkularClient/and_Metrics_client/Should_both_work_the_same_way_when_pushing_metric_data_to_non-existing_counter.yml +114 -0
- data/spec/vcr_cassettes/{Inventory/Should_list_WildFlys_with_props.yml → HawkularClient/and_Operations_client/Should_both_work_the_same_way.yml} +28 -50
- data/spec/vcr_cassettes/HawkularClient/and_Operations_client_Should_both_work_the_same_way.json +44 -0
- data/spec/vcr_cassettes/Inventory/Helpers/create_url.yml +48 -0
- data/spec/vcr_cassettes/Inventory/Helpers/generate_some_events_for_websocket.yml +4446 -0
- data/spec/vcr_cassettes/Inventory/Helpers/get_feeds.yml +54 -0
- data/spec/vcr_cassettes/Inventory/Templates/Client_should_listen_on_various_inventory_events.json +47 -0
- data/spec/vcr_cassettes/Inventory/{Should_create_a_resourcetype.yml → Templates/Client_should_listen_on_various_inventory_events.yml} +47 -61
- data/spec/vcr_cassettes/Inventory/Templates/Helpers/generate_some_events_for_websocket.yml +542 -0
- data/spec/vcr_cassettes/Inventory/{Should_List_datasources_with_no_props.yml → Templates/Should_List_datasources_with_no_props.yml} +26 -85
- data/spec/vcr_cassettes/Inventory/Templates/Should_create_a_feed.yml +54 -0
- data/spec/vcr_cassettes/Inventory/Templates/Should_create_a_feed_again.yml +164 -0
- data/spec/vcr_cassettes/Inventory/{Should_create_a_nested_resource_and_metric_on_it.yml → Templates/Should_create_a_nested_resource_and_metric_on_it.yml} +93 -74
- data/spec/vcr_cassettes/Inventory/{Should_create_a_resource_.yml → Templates/Should_create_a_resource.yml} +103 -76
- data/spec/vcr_cassettes/Inventory/{Should_create_a_resource_with_metric.yml → Templates/Should_create_a_resource_with_metric.yml} +91 -197
- data/spec/vcr_cassettes/Inventory/Templates/Should_create_a_resourcetype.yml +154 -0
- data/spec/vcr_cassettes/Inventory/Templates/Should_create_and_delete_feed.yml +145 -0
- data/spec/vcr_cassettes/Inventory/{Should_create_and_get_a_resource.yml → Templates/Should_create_and_get_a_resource.yml} +35 -20
- data/spec/vcr_cassettes/Inventory/Templates/Should_list_URLs.yml +65 -0
- data/spec/vcr_cassettes/Inventory/Templates/Should_list_WildFlys.yml +61 -0
- data/spec/vcr_cassettes/Inventory/{Should_list_WildFlys.yml → Templates/Should_list_WildFlys_with_props.yml} +36 -33
- data/spec/vcr_cassettes/Inventory/Templates/Should_list_all_the_resource_types.yml +126 -0
- data/spec/vcr_cassettes/Inventory/{Should_list_children_of_WildFly.yml → Templates/Should_list_children_of_WildFly.yml} +66 -112
- data/spec/vcr_cassettes/Inventory/{Should_list_children_of_nested_resource.yml → Templates/Should_list_children_of_nested_resource.yml} +13 -13
- data/spec/vcr_cassettes/Inventory/Templates/Should_list_feeds.yml +54 -0
- data/spec/vcr_cassettes/Inventory/Templates/Should_list_heap_metrics_for_WildFlys.yml +712 -0
- data/spec/vcr_cassettes/Inventory/Templates/Should_list_metrics_for_WildFlys.yml +278 -0
- data/spec/vcr_cassettes/Inventory/Templates/Should_list_metrics_of_given_metric_type.yml +530 -0
- data/spec/vcr_cassettes/Inventory/Templates/Should_list_metrics_of_given_resource_type.yml +278 -0
- data/spec/vcr_cassettes/Inventory/Templates/Should_list_operation_definitions_of_given_resource.yml +185 -0
- data/spec/vcr_cassettes/Inventory/Templates/Should_list_operation_definitions_of_given_resource_type.yml +126 -0
- data/spec/vcr_cassettes/Inventory/Templates/Should_list_recursive_children_of_WildFly.yml +2369 -0
- data/spec/vcr_cassettes/Inventory/Templates/Should_list_relationships_of_WildFly.yml +415 -0
- data/spec/vcr_cassettes/Inventory/Templates/Should_list_types_with_bad_feed.yml +51 -0
- data/spec/vcr_cassettes/Inventory/Templates/Should_list_types_with_feed.yml +124 -0
- data/spec/vcr_cassettes/Inventory/{Should_not_find_an_unknown_resource.yml → Templates/Should_not_find_an_unknown_resource.yml} +14 -13
- data/spec/vcr_cassettes/Inventory/{Should_return_config_data_of_given_nested_resource.yml → Templates/Should_return_config_data_of_given_nested_resource.yml} +4 -4
- data/spec/vcr_cassettes/Inventory/{Should_return_config_data_of_given_resource.yml → Templates/Should_return_config_data_of_given_resource.yml} +4 -4
- data/spec/vcr_cassettes/Inventory/Tenants/Should_Get_Tenant_For_Explicit_Credentials.yml +50 -0
- data/spec/vcr_cassettes/Inventory/Tenants/Should_Get_Tenant_For_Implicit_Credentials.yml +50 -0
- data/spec/vcr_cassettes/Operation/Helpers/get_feed.yml +54 -0
- data/spec/vcr_cassettes/Operation/Helpers/get_tenant.yml +50 -0
- data/spec/vcr_cassettes/Operation/Operation/Add_JDBC_driver_should_add_the_driver.json +26 -0
- data/spec/vcr_cassettes/Operation/Operation/Add_datasource_should_be_doable.json +26 -0
- data/spec/vcr_cassettes/Operation/Operation/Add_deployment_should_be_doable.json +26 -0
- data/spec/vcr_cassettes/Operation/Operation/Redeploy_can_be_run_multiple_times_in_parallel.json +40 -0
- data/spec/vcr_cassettes/Operation/Operation/Redeploy_should_be_performed_and_eventually_respond_with_success.json +26 -0
- data/spec/vcr_cassettes/Operation/Operation/Redeploy_should_not_be_performed_if_resource_path_is_wrong.json +26 -0
- data/spec/vcr_cassettes/Operation/Operation/Remove_JDBC_driver_should_be_performed_and_eventually_respond_with_success.json +26 -0
- data/spec/vcr_cassettes/Operation/Operation/Remove_datasource_should_be_performed_and_eventually_respond_with_success.json +26 -0
- data/spec/vcr_cassettes/Operation/Operation/Remove_deployment_should_be_performed_and_eventually_respond_with_success.json +26 -0
- data/spec/vcr_cassettes/Operation/Operation/Undeploy_should_be_performed_and_eventually_respond_with_success.json +26 -0
- data/spec/vcr_cassettes/Operation/Operation/should_not_be_possible_to_perform_on_closed_client.json +12 -0
- data/spec/vcr_cassettes/Operation/Websocket_connection/should_be_established.json +9 -0
- metadata +171 -72
- data/lib/hawkular_all.rb +0 -9
- data/spec/vcr_cassettes/Inventory/Should_create_a_feed.yml +0 -107
- data/spec/vcr_cassettes/Inventory/Should_create_a_feed_again.yml +0 -211
- data/spec/vcr_cassettes/Inventory/Should_create_and_delete_feed.yml +0 -201
- data/spec/vcr_cassettes/Inventory/Should_list_all_the_resource_types.yml +0 -177
- data/spec/vcr_cassettes/Inventory/Should_list_heap_metrics_for_WildFlys.yml +0 -775
- data/spec/vcr_cassettes/Inventory/Should_list_metrics_for_WildFlys.yml +0 -333
- data/spec/vcr_cassettes/Inventory/Should_list_metrics_of_given_metric_type.yml +0 -613
- data/spec/vcr_cassettes/Inventory/Should_list_metrics_of_given_resource_type.yml +0 -333
- data/spec/vcr_cassettes/Inventory/Should_list_recursive_children_of_WildFly.yml +0 -2064
- data/spec/vcr_cassettes/Inventory/Should_list_relationships_of_WildFly.yml +0 -460
- data/spec/vcr_cassettes/Inventory/Should_list_types_with_feed.yml +0 -175
@@ -0,0 +1,278 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: http://jdoe:password@localhost:8080/hawkular/inventory/feeds/<%= feed_uuid %>/resourceTypes/WildFly%20Server/resources
|
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/10
|
31
|
+
Pragma:
|
32
|
+
- no-cache
|
33
|
+
Date:
|
34
|
+
- Thu, 05 May 2016 11:18:41 GMT
|
35
|
+
X-Total-Count:
|
36
|
+
- '1'
|
37
|
+
Connection:
|
38
|
+
- keep-alive
|
39
|
+
Content-Type:
|
40
|
+
- application/json
|
41
|
+
Content-Length:
|
42
|
+
- '351'
|
43
|
+
Link:
|
44
|
+
- <http://localhost:8080/hawkular/inventory/feeds/<%= feed_uuid %>/resourceTypes/WildFly%20Server/resources>;
|
45
|
+
rel="current"
|
46
|
+
body:
|
47
|
+
encoding: ASCII-8BIT
|
48
|
+
string: |-
|
49
|
+
[ {
|
50
|
+
"path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;<%= feed_uuid %>/r;Local~~",
|
51
|
+
"type" : {
|
52
|
+
"path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;<%= feed_uuid %>/rt;WildFly%20Server",
|
53
|
+
"name" : "WildFly Server",
|
54
|
+
"id" : "WildFly Server"
|
55
|
+
},
|
56
|
+
"name" : "localhost/Local",
|
57
|
+
"id" : "Local~~"
|
58
|
+
} ]
|
59
|
+
http_version:
|
60
|
+
recorded_at: Thu, 05 May 2016 11:18:41 GMT
|
61
|
+
- request:
|
62
|
+
method: get
|
63
|
+
uri: http://jdoe:password@localhost:8080/hawkular/inventory/feeds/<%= feed_uuid %>/resources/Local~~/metrics?sort=id
|
64
|
+
body:
|
65
|
+
encoding: US-ASCII
|
66
|
+
string: ''
|
67
|
+
headers:
|
68
|
+
Accept:
|
69
|
+
- application/json
|
70
|
+
Accept-Encoding:
|
71
|
+
- gzip, deflate
|
72
|
+
Content-Type:
|
73
|
+
- application/json
|
74
|
+
User-Agent:
|
75
|
+
- Ruby
|
76
|
+
response:
|
77
|
+
status:
|
78
|
+
code: 200
|
79
|
+
message: OK
|
80
|
+
headers:
|
81
|
+
Expires:
|
82
|
+
- '0'
|
83
|
+
Cache-Control:
|
84
|
+
- no-cache, no-store, must-revalidate
|
85
|
+
X-Powered-By:
|
86
|
+
- Undertow/1
|
87
|
+
Server:
|
88
|
+
- WildFly/10
|
89
|
+
Pragma:
|
90
|
+
- no-cache
|
91
|
+
Date:
|
92
|
+
- Thu, 05 May 2016 11:18:42 GMT
|
93
|
+
X-Total-Count:
|
94
|
+
- '14'
|
95
|
+
Connection:
|
96
|
+
- keep-alive
|
97
|
+
Content-Type:
|
98
|
+
- application/json
|
99
|
+
Content-Length:
|
100
|
+
- '10779'
|
101
|
+
Link:
|
102
|
+
- <http://localhost:8080/hawkular/inventory/feeds/<%= feed_uuid %>/resources/Local~~/metrics?sort=id>;
|
103
|
+
rel="current"
|
104
|
+
body:
|
105
|
+
encoding: ASCII-8BIT
|
106
|
+
string: |-
|
107
|
+
[ {
|
108
|
+
"path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;<%= feed_uuid %>/m;AI~R~%5B<%= feed_uuid %>%2FLocal~~%5D~AT~Server%20Availability~App%20Server",
|
109
|
+
"type" : {
|
110
|
+
"path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;<%= feed_uuid %>/mt;Server%20Availability~App%20Server",
|
111
|
+
"name" : "Server Availability~App Server",
|
112
|
+
"unit" : "NONE",
|
113
|
+
"type" : "AVAILABILITY",
|
114
|
+
"collectionInterval" : 30,
|
115
|
+
"id" : "Server Availability~App Server"
|
116
|
+
},
|
117
|
+
"name" : "Server Availability~App Server",
|
118
|
+
"id" : "AI~R~[<%= feed_uuid %>/Local~~]~AT~Server Availability~App Server"
|
119
|
+
}, {
|
120
|
+
"path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;<%= feed_uuid %>/m;MI~R~%5B<%= feed_uuid %>%2FLocal~~%5D~MT~WildFly%20Aggregated%20Web%20Metrics~Aggregated%20Active%20Web%20Sessions",
|
121
|
+
"type" : {
|
122
|
+
"path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;<%= feed_uuid %>/mt;WildFly%20Aggregated%20Web%20Metrics~Aggregated%20Active%20Web%20Sessions",
|
123
|
+
"name" : "WildFly Aggregated Web Metrics~Aggregated Active Web Sessions",
|
124
|
+
"unit" : "NONE",
|
125
|
+
"type" : "GAUGE",
|
126
|
+
"collectionInterval" : 60,
|
127
|
+
"id" : "WildFly Aggregated Web Metrics~Aggregated Active Web Sessions"
|
128
|
+
},
|
129
|
+
"name" : "WildFly Aggregated Web Metrics~Aggregated Active Web Sessions",
|
130
|
+
"id" : "MI~R~[<%= feed_uuid %>/Local~~]~MT~WildFly Aggregated Web Metrics~Aggregated Active Web Sessions"
|
131
|
+
}, {
|
132
|
+
"path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;<%= feed_uuid %>/m;MI~R~%5B<%= feed_uuid %>%2FLocal~~%5D~MT~WildFly%20Aggregated%20Web%20Metrics~Aggregated%20Expired%20Web%20Sessions",
|
133
|
+
"type" : {
|
134
|
+
"path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;<%= feed_uuid %>/mt;WildFly%20Aggregated%20Web%20Metrics~Aggregated%20Expired%20Web%20Sessions",
|
135
|
+
"name" : "WildFly Aggregated Web Metrics~Aggregated Expired Web Sessions",
|
136
|
+
"unit" : "NONE",
|
137
|
+
"type" : "COUNTER",
|
138
|
+
"collectionInterval" : 60,
|
139
|
+
"id" : "WildFly Aggregated Web Metrics~Aggregated Expired Web Sessions"
|
140
|
+
},
|
141
|
+
"name" : "WildFly Aggregated Web Metrics~Aggregated Expired Web Sessions",
|
142
|
+
"id" : "MI~R~[<%= feed_uuid %>/Local~~]~MT~WildFly Aggregated Web Metrics~Aggregated Expired Web Sessions"
|
143
|
+
}, {
|
144
|
+
"path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;<%= feed_uuid %>/m;MI~R~%5B<%= feed_uuid %>%2FLocal~~%5D~MT~WildFly%20Aggregated%20Web%20Metrics~Aggregated%20Max%20Active%20Web%20Sessions",
|
145
|
+
"type" : {
|
146
|
+
"path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;<%= feed_uuid %>/mt;WildFly%20Aggregated%20Web%20Metrics~Aggregated%20Max%20Active%20Web%20Sessions",
|
147
|
+
"name" : "WildFly Aggregated Web Metrics~Aggregated Max Active Web Sessions",
|
148
|
+
"unit" : "NONE",
|
149
|
+
"type" : "GAUGE",
|
150
|
+
"collectionInterval" : 60,
|
151
|
+
"id" : "WildFly Aggregated Web Metrics~Aggregated Max Active Web Sessions"
|
152
|
+
},
|
153
|
+
"name" : "WildFly Aggregated Web Metrics~Aggregated Max Active Web Sessions",
|
154
|
+
"id" : "MI~R~[<%= feed_uuid %>/Local~~]~MT~WildFly Aggregated Web Metrics~Aggregated Max Active Web Sessions"
|
155
|
+
}, {
|
156
|
+
"path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;<%= feed_uuid %>/m;MI~R~%5B<%= feed_uuid %>%2FLocal~~%5D~MT~WildFly%20Aggregated%20Web%20Metrics~Aggregated%20Rejected%20Web%20Sessions",
|
157
|
+
"type" : {
|
158
|
+
"path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;<%= feed_uuid %>/mt;WildFly%20Aggregated%20Web%20Metrics~Aggregated%20Rejected%20Web%20Sessions",
|
159
|
+
"name" : "WildFly Aggregated Web Metrics~Aggregated Rejected Web Sessions",
|
160
|
+
"unit" : "NONE",
|
161
|
+
"type" : "COUNTER",
|
162
|
+
"collectionInterval" : 60,
|
163
|
+
"id" : "WildFly Aggregated Web Metrics~Aggregated Rejected Web Sessions"
|
164
|
+
},
|
165
|
+
"name" : "WildFly Aggregated Web Metrics~Aggregated Rejected Web Sessions",
|
166
|
+
"id" : "MI~R~[<%= feed_uuid %>/Local~~]~MT~WildFly Aggregated Web Metrics~Aggregated Rejected Web Sessions"
|
167
|
+
}, {
|
168
|
+
"path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;<%= feed_uuid %>/m;MI~R~%5B<%= feed_uuid %>%2FLocal~~%5D~MT~WildFly%20Aggregated%20Web%20Metrics~Aggregated%20Servlet%20Request%20Count",
|
169
|
+
"type" : {
|
170
|
+
"path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;<%= feed_uuid %>/mt;WildFly%20Aggregated%20Web%20Metrics~Aggregated%20Servlet%20Request%20Count",
|
171
|
+
"name" : "WildFly Aggregated Web Metrics~Aggregated Servlet Request Count",
|
172
|
+
"unit" : "NONE",
|
173
|
+
"type" : "COUNTER",
|
174
|
+
"collectionInterval" : 60,
|
175
|
+
"id" : "WildFly Aggregated Web Metrics~Aggregated Servlet Request Count"
|
176
|
+
},
|
177
|
+
"name" : "WildFly Aggregated Web Metrics~Aggregated Servlet Request Count",
|
178
|
+
"id" : "MI~R~[<%= feed_uuid %>/Local~~]~MT~WildFly Aggregated Web Metrics~Aggregated Servlet Request Count"
|
179
|
+
}, {
|
180
|
+
"path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;<%= feed_uuid %>/m;MI~R~%5B<%= feed_uuid %>%2FLocal~~%5D~MT~WildFly%20Aggregated%20Web%20Metrics~Aggregated%20Servlet%20Request%20Time",
|
181
|
+
"type" : {
|
182
|
+
"path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;<%= feed_uuid %>/mt;WildFly%20Aggregated%20Web%20Metrics~Aggregated%20Servlet%20Request%20Time",
|
183
|
+
"name" : "WildFly Aggregated Web Metrics~Aggregated Servlet Request Time",
|
184
|
+
"unit" : "NONE",
|
185
|
+
"type" : "COUNTER",
|
186
|
+
"collectionInterval" : 60,
|
187
|
+
"id" : "WildFly Aggregated Web Metrics~Aggregated Servlet Request Time"
|
188
|
+
},
|
189
|
+
"name" : "WildFly Aggregated Web Metrics~Aggregated Servlet Request Time",
|
190
|
+
"id" : "MI~R~[<%= feed_uuid %>/Local~~]~MT~WildFly Aggregated Web Metrics~Aggregated Servlet Request Time"
|
191
|
+
}, {
|
192
|
+
"path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;<%= feed_uuid %>/m;MI~R~%5B<%= feed_uuid %>%2FLocal~~%5D~MT~WildFly%20Memory%20Metrics~Accumulated%20GC%20Duration",
|
193
|
+
"type" : {
|
194
|
+
"path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;<%= feed_uuid %>/mt;WildFly%20Memory%20Metrics~Accumulated%20GC%20Duration",
|
195
|
+
"name" : "WildFly Memory Metrics~Accumulated GC Duration",
|
196
|
+
"unit" : "NONE",
|
197
|
+
"type" : "COUNTER",
|
198
|
+
"collectionInterval" : 60,
|
199
|
+
"id" : "WildFly Memory Metrics~Accumulated GC Duration"
|
200
|
+
},
|
201
|
+
"name" : "WildFly Memory Metrics~Accumulated GC Duration",
|
202
|
+
"id" : "MI~R~[<%= feed_uuid %>/Local~~]~MT~WildFly Memory Metrics~Accumulated GC Duration"
|
203
|
+
}, {
|
204
|
+
"path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;<%= feed_uuid %>/m;MI~R~%5B<%= feed_uuid %>%2FLocal~~%5D~MT~WildFly%20Memory%20Metrics~Heap%20Committed",
|
205
|
+
"type" : {
|
206
|
+
"path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;<%= feed_uuid %>/mt;WildFly%20Memory%20Metrics~Heap%20Committed",
|
207
|
+
"name" : "WildFly Memory Metrics~Heap Committed",
|
208
|
+
"unit" : "NONE",
|
209
|
+
"type" : "GAUGE",
|
210
|
+
"collectionInterval" : 60,
|
211
|
+
"id" : "WildFly Memory Metrics~Heap Committed"
|
212
|
+
},
|
213
|
+
"name" : "WildFly Memory Metrics~Heap Committed",
|
214
|
+
"id" : "MI~R~[<%= feed_uuid %>/Local~~]~MT~WildFly Memory Metrics~Heap Committed"
|
215
|
+
}, {
|
216
|
+
"path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;<%= feed_uuid %>/m;MI~R~%5B<%= feed_uuid %>%2FLocal~~%5D~MT~WildFly%20Memory%20Metrics~Heap%20Max",
|
217
|
+
"type" : {
|
218
|
+
"path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;<%= feed_uuid %>/mt;WildFly%20Memory%20Metrics~Heap%20Max",
|
219
|
+
"name" : "WildFly Memory Metrics~Heap Max",
|
220
|
+
"unit" : "NONE",
|
221
|
+
"type" : "GAUGE",
|
222
|
+
"collectionInterval" : 60,
|
223
|
+
"id" : "WildFly Memory Metrics~Heap Max"
|
224
|
+
},
|
225
|
+
"name" : "WildFly Memory Metrics~Heap Max",
|
226
|
+
"id" : "MI~R~[<%= feed_uuid %>/Local~~]~MT~WildFly Memory Metrics~Heap Max"
|
227
|
+
}, {
|
228
|
+
"path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;<%= feed_uuid %>/m;MI~R~%5B<%= feed_uuid %>%2FLocal~~%5D~MT~WildFly%20Memory%20Metrics~Heap%20Used",
|
229
|
+
"type" : {
|
230
|
+
"path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;<%= feed_uuid %>/mt;WildFly%20Memory%20Metrics~Heap%20Used",
|
231
|
+
"name" : "WildFly Memory Metrics~Heap Used",
|
232
|
+
"unit" : "BYTES",
|
233
|
+
"type" : "GAUGE",
|
234
|
+
"collectionInterval" : 30,
|
235
|
+
"id" : "WildFly Memory Metrics~Heap Used"
|
236
|
+
},
|
237
|
+
"name" : "WildFly Memory Metrics~Heap Used",
|
238
|
+
"id" : "MI~R~[<%= feed_uuid %>/Local~~]~MT~WildFly Memory Metrics~Heap Used"
|
239
|
+
}, {
|
240
|
+
"path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;<%= feed_uuid %>/m;MI~R~%5B<%= feed_uuid %>%2FLocal~~%5D~MT~WildFly%20Memory%20Metrics~NonHeap%20Committed",
|
241
|
+
"type" : {
|
242
|
+
"path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;<%= feed_uuid %>/mt;WildFly%20Memory%20Metrics~NonHeap%20Committed",
|
243
|
+
"name" : "WildFly Memory Metrics~NonHeap Committed",
|
244
|
+
"unit" : "NONE",
|
245
|
+
"type" : "GAUGE",
|
246
|
+
"collectionInterval" : 60,
|
247
|
+
"id" : "WildFly Memory Metrics~NonHeap Committed"
|
248
|
+
},
|
249
|
+
"name" : "WildFly Memory Metrics~NonHeap Committed",
|
250
|
+
"id" : "MI~R~[<%= feed_uuid %>/Local~~]~MT~WildFly Memory Metrics~NonHeap Committed"
|
251
|
+
}, {
|
252
|
+
"path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;<%= feed_uuid %>/m;MI~R~%5B<%= feed_uuid %>%2FLocal~~%5D~MT~WildFly%20Memory%20Metrics~NonHeap%20Used",
|
253
|
+
"type" : {
|
254
|
+
"path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;<%= feed_uuid %>/mt;WildFly%20Memory%20Metrics~NonHeap%20Used",
|
255
|
+
"name" : "WildFly Memory Metrics~NonHeap Used",
|
256
|
+
"unit" : "NONE",
|
257
|
+
"type" : "GAUGE",
|
258
|
+
"collectionInterval" : 30,
|
259
|
+
"id" : "WildFly Memory Metrics~NonHeap Used"
|
260
|
+
},
|
261
|
+
"name" : "WildFly Memory Metrics~NonHeap Used",
|
262
|
+
"id" : "MI~R~[<%= feed_uuid %>/Local~~]~MT~WildFly Memory Metrics~NonHeap Used"
|
263
|
+
}, {
|
264
|
+
"path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;<%= feed_uuid %>/m;MI~R~%5B<%= feed_uuid %>%2FLocal~~%5D~MT~WildFly%20Threading%20Metrics~Thread%20Count",
|
265
|
+
"type" : {
|
266
|
+
"path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;<%= feed_uuid %>/mt;WildFly%20Threading%20Metrics~Thread%20Count",
|
267
|
+
"name" : "WildFly Threading Metrics~Thread Count",
|
268
|
+
"unit" : "NONE",
|
269
|
+
"type" : "GAUGE",
|
270
|
+
"collectionInterval" : 120,
|
271
|
+
"id" : "WildFly Threading Metrics~Thread Count"
|
272
|
+
},
|
273
|
+
"name" : "WildFly Threading Metrics~Thread Count",
|
274
|
+
"id" : "MI~R~[<%= feed_uuid %>/Local~~]~MT~WildFly Threading Metrics~Thread Count"
|
275
|
+
} ]
|
276
|
+
http_version:
|
277
|
+
recorded_at: Thu, 05 May 2016 11:18:42 GMT
|
278
|
+
recorded_with: VCR 3.0.1
|
@@ -0,0 +1,530 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: http://jdoe:password@localhost:8080/hawkular/inventory/feeds/<%= feed_uuid %>/metricTypes/Total%20Space
|
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/10
|
31
|
+
Pragma:
|
32
|
+
- no-cache
|
33
|
+
Date:
|
34
|
+
- Thu, 05 May 2016 11:18:44 GMT
|
35
|
+
Connection:
|
36
|
+
- keep-alive
|
37
|
+
Content-Type:
|
38
|
+
- application/json
|
39
|
+
Content-Length:
|
40
|
+
- '232'
|
41
|
+
body:
|
42
|
+
encoding: ASCII-8BIT
|
43
|
+
string: |-
|
44
|
+
{
|
45
|
+
"path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;<%= feed_uuid %>/mt;Total%20Space",
|
46
|
+
"name" : "Total Space",
|
47
|
+
"unit" : "BYTES",
|
48
|
+
"type" : "GAUGE",
|
49
|
+
"collectionInterval" : 300,
|
50
|
+
"id" : "Total Space"
|
51
|
+
}
|
52
|
+
http_version:
|
53
|
+
recorded_at: Thu, 05 May 2016 11:18:44 GMT
|
54
|
+
- request:
|
55
|
+
method: get
|
56
|
+
uri: http://jdoe:password@localhost:8080/hawkular/inventory/path/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;<%= feed_uuid %>/mt;Total%20Space/relationships?named=defines&sort=__targetCp
|
57
|
+
body:
|
58
|
+
encoding: US-ASCII
|
59
|
+
string: ''
|
60
|
+
headers:
|
61
|
+
Accept:
|
62
|
+
- application/json
|
63
|
+
Accept-Encoding:
|
64
|
+
- gzip, deflate
|
65
|
+
Content-Type:
|
66
|
+
- application/json
|
67
|
+
User-Agent:
|
68
|
+
- Ruby
|
69
|
+
response:
|
70
|
+
status:
|
71
|
+
code: 200
|
72
|
+
message: OK
|
73
|
+
headers:
|
74
|
+
Expires:
|
75
|
+
- '0'
|
76
|
+
Cache-Control:
|
77
|
+
- no-cache, no-store, must-revalidate
|
78
|
+
X-Powered-By:
|
79
|
+
- Undertow/1
|
80
|
+
Server:
|
81
|
+
- WildFly/10
|
82
|
+
Pragma:
|
83
|
+
- no-cache
|
84
|
+
Date:
|
85
|
+
- Thu, 05 May 2016 11:18:44 GMT
|
86
|
+
X-Total-Count:
|
87
|
+
- '7'
|
88
|
+
Connection:
|
89
|
+
- keep-alive
|
90
|
+
Content-Type:
|
91
|
+
- application/json
|
92
|
+
Content-Length:
|
93
|
+
- '3102'
|
94
|
+
Link:
|
95
|
+
- <http://localhost:8080/hawkular/inventory/path/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;<%= feed_uuid %>/mt;Total%20Space/relationships?sort=__targetCp&named=defines>;
|
96
|
+
rel="current"
|
97
|
+
body:
|
98
|
+
encoding: ASCII-8BIT
|
99
|
+
string: |-
|
100
|
+
[ {
|
101
|
+
"id" : "1jwg-9hc-1g5x-1erk",
|
102
|
+
"name" : "defines",
|
103
|
+
"source" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;<%= feed_uuid %>/mt;Total%20Space",
|
104
|
+
"target" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;<%= feed_uuid %>/m;MI~R~%5B<%= feed_uuid %>%2Fplatform~%2FOPERATING_SYSTEM%3D<%= feed_uuid %>_OperatingSystem%2FFILE_STORE%3D%2Fdev%2Fmapper%2Ffedora-home%5D~MT~Total%20Space"
|
105
|
+
}, {
|
106
|
+
"id" : "1iow-9hc-1g5x-1dds",
|
107
|
+
"name" : "defines",
|
108
|
+
"source" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;<%= feed_uuid %>/mt;Total%20Space",
|
109
|
+
"target" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;<%= feed_uuid %>/m;MI~R~%5B<%= feed_uuid %>%2Fplatform~%2FOPERATING_SYSTEM%3D<%= feed_uuid %>_OperatingSystem%2FFILE_STORE%3D%2Fdev%2Fsda3%5D~MT~Total%20Space"
|
110
|
+
}, {
|
111
|
+
"id" : "1iio-9hc-1g5x-1d6o",
|
112
|
+
"name" : "defines",
|
113
|
+
"source" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;<%= feed_uuid %>/mt;Total%20Space",
|
114
|
+
"target" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;<%= feed_uuid %>/m;MI~R~%5B<%= feed_uuid %>%2Fplatform~%2FOPERATING_SYSTEM%3D<%= feed_uuid %>_OperatingSystem%2FFILE_STORE%3Dhugetlbfs%5D~MT~Total%20Space"
|
115
|
+
}, {
|
116
|
+
"id" : "1k8w-9hc-1g5x-1f5s",
|
117
|
+
"name" : "defines",
|
118
|
+
"source" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;<%= feed_uuid %>/mt;Total%20Space",
|
119
|
+
"target" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;<%= feed_uuid %>/m;MI~R~%5B<%= feed_uuid %>%2Fplatform~%2FOPERATING_SYSTEM%3D<%= feed_uuid %>_OperatingSystem%2FFILE_STORE%3Dmqueue%5D~MT~Total%20Space"
|
120
|
+
}, {
|
121
|
+
"id" : "1jk0-9hc-1g5x-1edc",
|
122
|
+
"name" : "defines",
|
123
|
+
"source" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;<%= feed_uuid %>/mt;Total%20Space",
|
124
|
+
"target" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;<%= feed_uuid %>/m;MI~R~%5B<%= feed_uuid %>%2Fplatform~%2FOPERATING_SYSTEM%3D<%= feed_uuid %>_OperatingSystem%2FFILE_STORE%3Dsunrpc%5D~MT~Total%20Space"
|
125
|
+
}, {
|
126
|
+
"id" : "1i68-9hc-1g5x-1csg",
|
127
|
+
"name" : "defines",
|
128
|
+
"source" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;<%= feed_uuid %>/mt;Total%20Space",
|
129
|
+
"target" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;<%= feed_uuid %>/m;MI~R~%5B<%= feed_uuid %>%2Fplatform~%2FOPERATING_SYSTEM%3D<%= feed_uuid %>_OperatingSystem%2FFILE_STORE%3Dtmpfs%5D~MT~Total%20Space"
|
130
|
+
}, {
|
131
|
+
"id" : "1j1c-9hc-1g5x-1ds0",
|
132
|
+
"name" : "defines",
|
133
|
+
"source" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;<%= feed_uuid %>/mt;Total%20Space",
|
134
|
+
"target" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;<%= feed_uuid %>/m;MI~R~%5B<%= feed_uuid %>%2Fplatform~%2FOPERATING_SYSTEM%3D<%= feed_uuid %>_OperatingSystem%2FFILE_STORE%3D~%5D~MT~Total%20Space"
|
135
|
+
} ]
|
136
|
+
http_version:
|
137
|
+
recorded_at: Thu, 05 May 2016 11:18:44 GMT
|
138
|
+
- request:
|
139
|
+
method: get
|
140
|
+
uri: http://jdoe:password@localhost:8080/hawkular/inventory/path/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;<%= feed_uuid %>/m;MI~R~%5B<%= feed_uuid %>%2Fplatform~%2FOPERATING_SYSTEM=<%= feed_uuid %>_OperatingSystem%2FFILE_STORE=%2Fdev%2Fmapper%2Ffedora-home%5D~MT~Total%20Space
|
141
|
+
body:
|
142
|
+
encoding: US-ASCII
|
143
|
+
string: ''
|
144
|
+
headers:
|
145
|
+
Accept:
|
146
|
+
- application/json
|
147
|
+
Accept-Encoding:
|
148
|
+
- gzip, deflate
|
149
|
+
Content-Type:
|
150
|
+
- application/json
|
151
|
+
User-Agent:
|
152
|
+
- Ruby
|
153
|
+
response:
|
154
|
+
status:
|
155
|
+
code: 200
|
156
|
+
message: OK
|
157
|
+
headers:
|
158
|
+
Expires:
|
159
|
+
- '0'
|
160
|
+
Cache-Control:
|
161
|
+
- no-cache, no-store, must-revalidate
|
162
|
+
X-Powered-By:
|
163
|
+
- Undertow/1
|
164
|
+
Server:
|
165
|
+
- WildFly/10
|
166
|
+
Pragma:
|
167
|
+
- no-cache
|
168
|
+
Date:
|
169
|
+
- Thu, 05 May 2016 11:18:44 GMT
|
170
|
+
Connection:
|
171
|
+
- keep-alive
|
172
|
+
Content-Type:
|
173
|
+
- application/json
|
174
|
+
Content-Length:
|
175
|
+
- '764'
|
176
|
+
body:
|
177
|
+
encoding: ASCII-8BIT
|
178
|
+
string: |-
|
179
|
+
{
|
180
|
+
"path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;<%= feed_uuid %>/m;MI~R~%5B<%= feed_uuid %>%2Fplatform~%2FOPERATING_SYSTEM%3D<%= feed_uuid %>_OperatingSystem%2FFILE_STORE%3D%2Fdev%2Fmapper%2Ffedora-home%5D~MT~Total%20Space",
|
181
|
+
"type" : {
|
182
|
+
"path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;<%= feed_uuid %>/mt;Total%20Space",
|
183
|
+
"name" : "Total Space",
|
184
|
+
"unit" : "BYTES",
|
185
|
+
"type" : "GAUGE",
|
186
|
+
"collectionInterval" : 300,
|
187
|
+
"id" : "Total Space"
|
188
|
+
},
|
189
|
+
"name" : "Total Space",
|
190
|
+
"id" : "MI~R~[<%= feed_uuid %>/platform~/OPERATING_SYSTEM=<%= feed_uuid %>_OperatingSystem/FILE_STORE=/dev/mapper/fedora-home]~MT~Total Space"
|
191
|
+
}
|
192
|
+
http_version:
|
193
|
+
recorded_at: Thu, 05 May 2016 11:18:44 GMT
|
194
|
+
- request:
|
195
|
+
method: get
|
196
|
+
uri: http://jdoe:password@localhost:8080/hawkular/inventory/path/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;<%= feed_uuid %>/m;MI~R~%5B<%= feed_uuid %>%2Fplatform~%2FOPERATING_SYSTEM=<%= feed_uuid %>_OperatingSystem%2FFILE_STORE=%2Fdev%2Fsda3%5D~MT~Total%20Space
|
197
|
+
body:
|
198
|
+
encoding: US-ASCII
|
199
|
+
string: ''
|
200
|
+
headers:
|
201
|
+
Accept:
|
202
|
+
- application/json
|
203
|
+
Accept-Encoding:
|
204
|
+
- gzip, deflate
|
205
|
+
Content-Type:
|
206
|
+
- application/json
|
207
|
+
User-Agent:
|
208
|
+
- Ruby
|
209
|
+
response:
|
210
|
+
status:
|
211
|
+
code: 200
|
212
|
+
message: OK
|
213
|
+
headers:
|
214
|
+
Expires:
|
215
|
+
- '0'
|
216
|
+
Cache-Control:
|
217
|
+
- no-cache, no-store, must-revalidate
|
218
|
+
X-Powered-By:
|
219
|
+
- Undertow/1
|
220
|
+
Server:
|
221
|
+
- WildFly/10
|
222
|
+
Pragma:
|
223
|
+
- no-cache
|
224
|
+
Date:
|
225
|
+
- Thu, 05 May 2016 11:18:44 GMT
|
226
|
+
Connection:
|
227
|
+
- keep-alive
|
228
|
+
Content-Type:
|
229
|
+
- application/json
|
230
|
+
Content-Length:
|
231
|
+
- '734'
|
232
|
+
body:
|
233
|
+
encoding: ASCII-8BIT
|
234
|
+
string: |-
|
235
|
+
{
|
236
|
+
"path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;<%= feed_uuid %>/m;MI~R~%5B<%= feed_uuid %>%2Fplatform~%2FOPERATING_SYSTEM%3D<%= feed_uuid %>_OperatingSystem%2FFILE_STORE%3D%2Fdev%2Fsda3%5D~MT~Total%20Space",
|
237
|
+
"type" : {
|
238
|
+
"path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;<%= feed_uuid %>/mt;Total%20Space",
|
239
|
+
"name" : "Total Space",
|
240
|
+
"unit" : "BYTES",
|
241
|
+
"type" : "GAUGE",
|
242
|
+
"collectionInterval" : 300,
|
243
|
+
"id" : "Total Space"
|
244
|
+
},
|
245
|
+
"name" : "Total Space",
|
246
|
+
"id" : "MI~R~[<%= feed_uuid %>/platform~/OPERATING_SYSTEM=<%= feed_uuid %>_OperatingSystem/FILE_STORE=/dev/sda3]~MT~Total Space"
|
247
|
+
}
|
248
|
+
http_version:
|
249
|
+
recorded_at: Thu, 05 May 2016 11:18:44 GMT
|
250
|
+
- request:
|
251
|
+
method: get
|
252
|
+
uri: http://jdoe:password@localhost:8080/hawkular/inventory/path/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;<%= feed_uuid %>/m;MI~R~%5B<%= feed_uuid %>%2Fplatform~%2FOPERATING_SYSTEM=<%= feed_uuid %>_OperatingSystem%2FFILE_STORE=hugetlbfs%5D~MT~Total%20Space
|
253
|
+
body:
|
254
|
+
encoding: US-ASCII
|
255
|
+
string: ''
|
256
|
+
headers:
|
257
|
+
Accept:
|
258
|
+
- application/json
|
259
|
+
Accept-Encoding:
|
260
|
+
- gzip, deflate
|
261
|
+
Content-Type:
|
262
|
+
- application/json
|
263
|
+
User-Agent:
|
264
|
+
- Ruby
|
265
|
+
response:
|
266
|
+
status:
|
267
|
+
code: 200
|
268
|
+
message: OK
|
269
|
+
headers:
|
270
|
+
Expires:
|
271
|
+
- '0'
|
272
|
+
Cache-Control:
|
273
|
+
- no-cache, no-store, must-revalidate
|
274
|
+
X-Powered-By:
|
275
|
+
- Undertow/1
|
276
|
+
Server:
|
277
|
+
- WildFly/10
|
278
|
+
Pragma:
|
279
|
+
- no-cache
|
280
|
+
Date:
|
281
|
+
- Thu, 05 May 2016 11:18:44 GMT
|
282
|
+
Connection:
|
283
|
+
- keep-alive
|
284
|
+
Content-Type:
|
285
|
+
- application/json
|
286
|
+
Content-Length:
|
287
|
+
- '730'
|
288
|
+
body:
|
289
|
+
encoding: ASCII-8BIT
|
290
|
+
string: |-
|
291
|
+
{
|
292
|
+
"path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;<%= feed_uuid %>/m;MI~R~%5B<%= feed_uuid %>%2Fplatform~%2FOPERATING_SYSTEM%3D<%= feed_uuid %>_OperatingSystem%2FFILE_STORE%3Dhugetlbfs%5D~MT~Total%20Space",
|
293
|
+
"type" : {
|
294
|
+
"path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;<%= feed_uuid %>/mt;Total%20Space",
|
295
|
+
"name" : "Total Space",
|
296
|
+
"unit" : "BYTES",
|
297
|
+
"type" : "GAUGE",
|
298
|
+
"collectionInterval" : 300,
|
299
|
+
"id" : "Total Space"
|
300
|
+
},
|
301
|
+
"name" : "Total Space",
|
302
|
+
"id" : "MI~R~[<%= feed_uuid %>/platform~/OPERATING_SYSTEM=<%= feed_uuid %>_OperatingSystem/FILE_STORE=hugetlbfs]~MT~Total Space"
|
303
|
+
}
|
304
|
+
http_version:
|
305
|
+
recorded_at: Thu, 05 May 2016 11:18:44 GMT
|
306
|
+
- request:
|
307
|
+
method: get
|
308
|
+
uri: http://jdoe:password@localhost:8080/hawkular/inventory/path/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;<%= feed_uuid %>/m;MI~R~%5B<%= feed_uuid %>%2Fplatform~%2FOPERATING_SYSTEM=<%= feed_uuid %>_OperatingSystem%2FFILE_STORE=mqueue%5D~MT~Total%20Space
|
309
|
+
body:
|
310
|
+
encoding: US-ASCII
|
311
|
+
string: ''
|
312
|
+
headers:
|
313
|
+
Accept:
|
314
|
+
- application/json
|
315
|
+
Accept-Encoding:
|
316
|
+
- gzip, deflate
|
317
|
+
Content-Type:
|
318
|
+
- application/json
|
319
|
+
User-Agent:
|
320
|
+
- Ruby
|
321
|
+
response:
|
322
|
+
status:
|
323
|
+
code: 200
|
324
|
+
message: OK
|
325
|
+
headers:
|
326
|
+
Expires:
|
327
|
+
- '0'
|
328
|
+
Cache-Control:
|
329
|
+
- no-cache, no-store, must-revalidate
|
330
|
+
X-Powered-By:
|
331
|
+
- Undertow/1
|
332
|
+
Server:
|
333
|
+
- WildFly/10
|
334
|
+
Pragma:
|
335
|
+
- no-cache
|
336
|
+
Date:
|
337
|
+
- Thu, 05 May 2016 11:18:44 GMT
|
338
|
+
Connection:
|
339
|
+
- keep-alive
|
340
|
+
Content-Type:
|
341
|
+
- application/json
|
342
|
+
Content-Length:
|
343
|
+
- '724'
|
344
|
+
body:
|
345
|
+
encoding: ASCII-8BIT
|
346
|
+
string: |-
|
347
|
+
{
|
348
|
+
"path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;<%= feed_uuid %>/m;MI~R~%5B<%= feed_uuid %>%2Fplatform~%2FOPERATING_SYSTEM%3D<%= feed_uuid %>_OperatingSystem%2FFILE_STORE%3Dmqueue%5D~MT~Total%20Space",
|
349
|
+
"type" : {
|
350
|
+
"path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;<%= feed_uuid %>/mt;Total%20Space",
|
351
|
+
"name" : "Total Space",
|
352
|
+
"unit" : "BYTES",
|
353
|
+
"type" : "GAUGE",
|
354
|
+
"collectionInterval" : 300,
|
355
|
+
"id" : "Total Space"
|
356
|
+
},
|
357
|
+
"name" : "Total Space",
|
358
|
+
"id" : "MI~R~[<%= feed_uuid %>/platform~/OPERATING_SYSTEM=<%= feed_uuid %>_OperatingSystem/FILE_STORE=mqueue]~MT~Total Space"
|
359
|
+
}
|
360
|
+
http_version:
|
361
|
+
recorded_at: Thu, 05 May 2016 11:18:44 GMT
|
362
|
+
- request:
|
363
|
+
method: get
|
364
|
+
uri: http://jdoe:password@localhost:8080/hawkular/inventory/path/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;<%= feed_uuid %>/m;MI~R~%5B<%= feed_uuid %>%2Fplatform~%2FOPERATING_SYSTEM=<%= feed_uuid %>_OperatingSystem%2FFILE_STORE=sunrpc%5D~MT~Total%20Space
|
365
|
+
body:
|
366
|
+
encoding: US-ASCII
|
367
|
+
string: ''
|
368
|
+
headers:
|
369
|
+
Accept:
|
370
|
+
- application/json
|
371
|
+
Accept-Encoding:
|
372
|
+
- gzip, deflate
|
373
|
+
Content-Type:
|
374
|
+
- application/json
|
375
|
+
User-Agent:
|
376
|
+
- Ruby
|
377
|
+
response:
|
378
|
+
status:
|
379
|
+
code: 200
|
380
|
+
message: OK
|
381
|
+
headers:
|
382
|
+
Expires:
|
383
|
+
- '0'
|
384
|
+
Cache-Control:
|
385
|
+
- no-cache, no-store, must-revalidate
|
386
|
+
X-Powered-By:
|
387
|
+
- Undertow/1
|
388
|
+
Server:
|
389
|
+
- WildFly/10
|
390
|
+
Pragma:
|
391
|
+
- no-cache
|
392
|
+
Date:
|
393
|
+
- Thu, 05 May 2016 11:18:44 GMT
|
394
|
+
Connection:
|
395
|
+
- keep-alive
|
396
|
+
Content-Type:
|
397
|
+
- application/json
|
398
|
+
Content-Length:
|
399
|
+
- '724'
|
400
|
+
body:
|
401
|
+
encoding: ASCII-8BIT
|
402
|
+
string: |-
|
403
|
+
{
|
404
|
+
"path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;<%= feed_uuid %>/m;MI~R~%5B<%= feed_uuid %>%2Fplatform~%2FOPERATING_SYSTEM%3D<%= feed_uuid %>_OperatingSystem%2FFILE_STORE%3Dsunrpc%5D~MT~Total%20Space",
|
405
|
+
"type" : {
|
406
|
+
"path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;<%= feed_uuid %>/mt;Total%20Space",
|
407
|
+
"name" : "Total Space",
|
408
|
+
"unit" : "BYTES",
|
409
|
+
"type" : "GAUGE",
|
410
|
+
"collectionInterval" : 300,
|
411
|
+
"id" : "Total Space"
|
412
|
+
},
|
413
|
+
"name" : "Total Space",
|
414
|
+
"id" : "MI~R~[<%= feed_uuid %>/platform~/OPERATING_SYSTEM=<%= feed_uuid %>_OperatingSystem/FILE_STORE=sunrpc]~MT~Total Space"
|
415
|
+
}
|
416
|
+
http_version:
|
417
|
+
recorded_at: Thu, 05 May 2016 11:18:44 GMT
|
418
|
+
- request:
|
419
|
+
method: get
|
420
|
+
uri: http://jdoe:password@localhost:8080/hawkular/inventory/path/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;<%= feed_uuid %>/m;MI~R~%5B<%= feed_uuid %>%2Fplatform~%2FOPERATING_SYSTEM=<%= feed_uuid %>_OperatingSystem%2FFILE_STORE=tmpfs%5D~MT~Total%20Space
|
421
|
+
body:
|
422
|
+
encoding: US-ASCII
|
423
|
+
string: ''
|
424
|
+
headers:
|
425
|
+
Accept:
|
426
|
+
- application/json
|
427
|
+
Accept-Encoding:
|
428
|
+
- gzip, deflate
|
429
|
+
Content-Type:
|
430
|
+
- application/json
|
431
|
+
User-Agent:
|
432
|
+
- Ruby
|
433
|
+
response:
|
434
|
+
status:
|
435
|
+
code: 200
|
436
|
+
message: OK
|
437
|
+
headers:
|
438
|
+
Expires:
|
439
|
+
- '0'
|
440
|
+
Cache-Control:
|
441
|
+
- no-cache, no-store, must-revalidate
|
442
|
+
X-Powered-By:
|
443
|
+
- Undertow/1
|
444
|
+
Server:
|
445
|
+
- WildFly/10
|
446
|
+
Pragma:
|
447
|
+
- no-cache
|
448
|
+
Date:
|
449
|
+
- Thu, 05 May 2016 11:18:44 GMT
|
450
|
+
Connection:
|
451
|
+
- keep-alive
|
452
|
+
Content-Type:
|
453
|
+
- application/json
|
454
|
+
Content-Length:
|
455
|
+
- '722'
|
456
|
+
body:
|
457
|
+
encoding: ASCII-8BIT
|
458
|
+
string: |-
|
459
|
+
{
|
460
|
+
"path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;<%= feed_uuid %>/m;MI~R~%5B<%= feed_uuid %>%2Fplatform~%2FOPERATING_SYSTEM%3D<%= feed_uuid %>_OperatingSystem%2FFILE_STORE%3Dtmpfs%5D~MT~Total%20Space",
|
461
|
+
"type" : {
|
462
|
+
"path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;<%= feed_uuid %>/mt;Total%20Space",
|
463
|
+
"name" : "Total Space",
|
464
|
+
"unit" : "BYTES",
|
465
|
+
"type" : "GAUGE",
|
466
|
+
"collectionInterval" : 300,
|
467
|
+
"id" : "Total Space"
|
468
|
+
},
|
469
|
+
"name" : "Total Space",
|
470
|
+
"id" : "MI~R~[<%= feed_uuid %>/platform~/OPERATING_SYSTEM=<%= feed_uuid %>_OperatingSystem/FILE_STORE=tmpfs]~MT~Total Space"
|
471
|
+
}
|
472
|
+
http_version:
|
473
|
+
recorded_at: Thu, 05 May 2016 11:18:44 GMT
|
474
|
+
- request:
|
475
|
+
method: get
|
476
|
+
uri: http://jdoe:password@localhost:8080/hawkular/inventory/path/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;<%= feed_uuid %>/m;MI~R~%5B<%= feed_uuid %>%2Fplatform~%2FOPERATING_SYSTEM=<%= feed_uuid %>_OperatingSystem%2FFILE_STORE=~%5D~MT~Total%20Space
|
477
|
+
body:
|
478
|
+
encoding: US-ASCII
|
479
|
+
string: ''
|
480
|
+
headers:
|
481
|
+
Accept:
|
482
|
+
- application/json
|
483
|
+
Accept-Encoding:
|
484
|
+
- gzip, deflate
|
485
|
+
Content-Type:
|
486
|
+
- application/json
|
487
|
+
User-Agent:
|
488
|
+
- Ruby
|
489
|
+
response:
|
490
|
+
status:
|
491
|
+
code: 200
|
492
|
+
message: OK
|
493
|
+
headers:
|
494
|
+
Expires:
|
495
|
+
- '0'
|
496
|
+
Cache-Control:
|
497
|
+
- no-cache, no-store, must-revalidate
|
498
|
+
X-Powered-By:
|
499
|
+
- Undertow/1
|
500
|
+
Server:
|
501
|
+
- WildFly/10
|
502
|
+
Pragma:
|
503
|
+
- no-cache
|
504
|
+
Date:
|
505
|
+
- Thu, 05 May 2016 11:18:44 GMT
|
506
|
+
Connection:
|
507
|
+
- keep-alive
|
508
|
+
Content-Type:
|
509
|
+
- application/json
|
510
|
+
Content-Length:
|
511
|
+
- '714'
|
512
|
+
body:
|
513
|
+
encoding: ASCII-8BIT
|
514
|
+
string: |-
|
515
|
+
{
|
516
|
+
"path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;<%= feed_uuid %>/m;MI~R~%5B<%= feed_uuid %>%2Fplatform~%2FOPERATING_SYSTEM%3D<%= feed_uuid %>_OperatingSystem%2FFILE_STORE%3D~%5D~MT~Total%20Space",
|
517
|
+
"type" : {
|
518
|
+
"path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;<%= feed_uuid %>/mt;Total%20Space",
|
519
|
+
"name" : "Total Space",
|
520
|
+
"unit" : "BYTES",
|
521
|
+
"type" : "GAUGE",
|
522
|
+
"collectionInterval" : 300,
|
523
|
+
"id" : "Total Space"
|
524
|
+
},
|
525
|
+
"name" : "Total Space",
|
526
|
+
"id" : "MI~R~[<%= feed_uuid %>/platform~/OPERATING_SYSTEM=<%= feed_uuid %>_OperatingSystem/FILE_STORE=~]~MT~Total Space"
|
527
|
+
}
|
528
|
+
http_version:
|
529
|
+
recorded_at: Thu, 05 May 2016 11:18:44 GMT
|
530
|
+
recorded_with: VCR 3.0.1
|