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.
Files changed (108) hide show
  1. checksums.yaml +4 -4
  2. data/.rubocop.yml +3 -0
  3. data/.yardopts +1 -0
  4. data/CHANGES.rdoc +17 -4
  5. data/README.rdoc +15 -6
  6. data/api_breaking_changes.rdoc +79 -0
  7. data/hawkularclient.gemspec +6 -5
  8. data/lib/{alerts → hawkular/alerts}/alerts_api.rb +168 -7
  9. data/lib/{hawkular.rb → hawkular/base_client.rb} +7 -44
  10. data/lib/hawkular/hawkular_client.rb +60 -0
  11. data/lib/hawkular/hawkular_client_utils.rb +40 -0
  12. data/lib/{inventory → hawkular/inventory}/inventory_api.rb +167 -142
  13. data/lib/{metrics → hawkular/metrics}/metric_api.rb +1 -0
  14. data/lib/{metrics → hawkular/metrics}/metrics_client.rb +4 -4
  15. data/lib/{metrics → hawkular/metrics}/tenant_api.rb +0 -0
  16. data/lib/{metrics → hawkular/metrics}/types.rb +0 -0
  17. data/lib/{operations → hawkular/operations}/operations_api.rb +11 -8
  18. data/lib/{tokens → hawkular/tokens}/tokens_api.rb +1 -1
  19. data/lib/{version.rb → hawkular/version.rb} +1 -1
  20. data/spec/integration/alerts_spec.rb +200 -0
  21. data/spec/integration/hawkular_client_spec.rb +228 -0
  22. data/spec/integration/inventory_spec.rb +246 -160
  23. data/spec/integration/metric_spec.rb +52 -59
  24. data/spec/integration/operations_spec.rb +53 -29
  25. data/spec/spec_helper.rb +109 -8
  26. data/spec/unit/base_spec.rb +9 -0
  27. data/spec/unit/canonical_path_spec.rb +2 -2
  28. data/spec/vcr/vcr_setup.rb +6 -0
  29. data/spec/vcr_cassettes/Alert/Events/Should_create_an_event.yml +50 -0
  30. data/spec/vcr_cassettes/Alert/Groups/Should_operate_a_complex_group_trigger.yml +1726 -0
  31. data/spec/vcr_cassettes/Counter_metrics/Should_get_metrics_as_bucketed_results.yml +190 -0
  32. data/spec/vcr_cassettes/Counter_metrics/Should_get_metrics_with_limit_and_order.yml +30 -42
  33. data/spec/vcr_cassettes/HawkularClient/and_Inventory_client/Should_both_create_and_delete_feed.yml +287 -0
  34. data/spec/vcr_cassettes/{Inventory/Should_list_URLs.yml → HawkularClient/and_Inventory_client/Should_both_list_WildFlys.yml} +35 -33
  35. 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
  36. data/spec/vcr_cassettes/HawkularClient/and_Inventory_client/Should_list_same_types_when_param_is_given.yml +245 -0
  37. data/spec/vcr_cassettes/{Inventory/Should_list_feeds.yml → HawkularClient/and_Inventory_client/Should_list_the_same_feeds.yml} +20 -20
  38. data/spec/vcr_cassettes/HawkularClient/and_Inventory_client/Should_list_the_same_resource_types.yml +249 -0
  39. data/spec/vcr_cassettes/HawkularClient/and_Metrics_client/Should_both_create_and_retrieve_tags_for_Availability.yml +155 -0
  40. data/spec/vcr_cassettes/HawkularClient/and_Metrics_client/Should_both_create_and_return_Availability_using_Hash_parameter.yml +155 -0
  41. data/spec/vcr_cassettes/HawkularClient/and_Metrics_client/Should_both_return_the_version.yml +89 -0
  42. 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
  43. data/spec/vcr_cassettes/{Inventory/Should_list_WildFlys_with_props.yml → HawkularClient/and_Operations_client/Should_both_work_the_same_way.yml} +28 -50
  44. data/spec/vcr_cassettes/HawkularClient/and_Operations_client_Should_both_work_the_same_way.json +44 -0
  45. data/spec/vcr_cassettes/Inventory/Helpers/create_url.yml +48 -0
  46. data/spec/vcr_cassettes/Inventory/Helpers/generate_some_events_for_websocket.yml +4446 -0
  47. data/spec/vcr_cassettes/Inventory/Helpers/get_feeds.yml +54 -0
  48. data/spec/vcr_cassettes/Inventory/Templates/Client_should_listen_on_various_inventory_events.json +47 -0
  49. data/spec/vcr_cassettes/Inventory/{Should_create_a_resourcetype.yml → Templates/Client_should_listen_on_various_inventory_events.yml} +47 -61
  50. data/spec/vcr_cassettes/Inventory/Templates/Helpers/generate_some_events_for_websocket.yml +542 -0
  51. data/spec/vcr_cassettes/Inventory/{Should_List_datasources_with_no_props.yml → Templates/Should_List_datasources_with_no_props.yml} +26 -85
  52. data/spec/vcr_cassettes/Inventory/Templates/Should_create_a_feed.yml +54 -0
  53. data/spec/vcr_cassettes/Inventory/Templates/Should_create_a_feed_again.yml +164 -0
  54. 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
  55. data/spec/vcr_cassettes/Inventory/{Should_create_a_resource_.yml → Templates/Should_create_a_resource.yml} +103 -76
  56. data/spec/vcr_cassettes/Inventory/{Should_create_a_resource_with_metric.yml → Templates/Should_create_a_resource_with_metric.yml} +91 -197
  57. data/spec/vcr_cassettes/Inventory/Templates/Should_create_a_resourcetype.yml +154 -0
  58. data/spec/vcr_cassettes/Inventory/Templates/Should_create_and_delete_feed.yml +145 -0
  59. data/spec/vcr_cassettes/Inventory/{Should_create_and_get_a_resource.yml → Templates/Should_create_and_get_a_resource.yml} +35 -20
  60. data/spec/vcr_cassettes/Inventory/Templates/Should_list_URLs.yml +65 -0
  61. data/spec/vcr_cassettes/Inventory/Templates/Should_list_WildFlys.yml +61 -0
  62. data/spec/vcr_cassettes/Inventory/{Should_list_WildFlys.yml → Templates/Should_list_WildFlys_with_props.yml} +36 -33
  63. data/spec/vcr_cassettes/Inventory/Templates/Should_list_all_the_resource_types.yml +126 -0
  64. data/spec/vcr_cassettes/Inventory/{Should_list_children_of_WildFly.yml → Templates/Should_list_children_of_WildFly.yml} +66 -112
  65. data/spec/vcr_cassettes/Inventory/{Should_list_children_of_nested_resource.yml → Templates/Should_list_children_of_nested_resource.yml} +13 -13
  66. data/spec/vcr_cassettes/Inventory/Templates/Should_list_feeds.yml +54 -0
  67. data/spec/vcr_cassettes/Inventory/Templates/Should_list_heap_metrics_for_WildFlys.yml +712 -0
  68. data/spec/vcr_cassettes/Inventory/Templates/Should_list_metrics_for_WildFlys.yml +278 -0
  69. data/spec/vcr_cassettes/Inventory/Templates/Should_list_metrics_of_given_metric_type.yml +530 -0
  70. data/spec/vcr_cassettes/Inventory/Templates/Should_list_metrics_of_given_resource_type.yml +278 -0
  71. data/spec/vcr_cassettes/Inventory/Templates/Should_list_operation_definitions_of_given_resource.yml +185 -0
  72. data/spec/vcr_cassettes/Inventory/Templates/Should_list_operation_definitions_of_given_resource_type.yml +126 -0
  73. data/spec/vcr_cassettes/Inventory/Templates/Should_list_recursive_children_of_WildFly.yml +2369 -0
  74. data/spec/vcr_cassettes/Inventory/Templates/Should_list_relationships_of_WildFly.yml +415 -0
  75. data/spec/vcr_cassettes/Inventory/Templates/Should_list_types_with_bad_feed.yml +51 -0
  76. data/spec/vcr_cassettes/Inventory/Templates/Should_list_types_with_feed.yml +124 -0
  77. data/spec/vcr_cassettes/Inventory/{Should_not_find_an_unknown_resource.yml → Templates/Should_not_find_an_unknown_resource.yml} +14 -13
  78. 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
  79. data/spec/vcr_cassettes/Inventory/{Should_return_config_data_of_given_resource.yml → Templates/Should_return_config_data_of_given_resource.yml} +4 -4
  80. data/spec/vcr_cassettes/Inventory/Tenants/Should_Get_Tenant_For_Explicit_Credentials.yml +50 -0
  81. data/spec/vcr_cassettes/Inventory/Tenants/Should_Get_Tenant_For_Implicit_Credentials.yml +50 -0
  82. data/spec/vcr_cassettes/Operation/Helpers/get_feed.yml +54 -0
  83. data/spec/vcr_cassettes/Operation/Helpers/get_tenant.yml +50 -0
  84. data/spec/vcr_cassettes/Operation/Operation/Add_JDBC_driver_should_add_the_driver.json +26 -0
  85. data/spec/vcr_cassettes/Operation/Operation/Add_datasource_should_be_doable.json +26 -0
  86. data/spec/vcr_cassettes/Operation/Operation/Add_deployment_should_be_doable.json +26 -0
  87. data/spec/vcr_cassettes/Operation/Operation/Redeploy_can_be_run_multiple_times_in_parallel.json +40 -0
  88. data/spec/vcr_cassettes/Operation/Operation/Redeploy_should_be_performed_and_eventually_respond_with_success.json +26 -0
  89. data/spec/vcr_cassettes/Operation/Operation/Redeploy_should_not_be_performed_if_resource_path_is_wrong.json +26 -0
  90. data/spec/vcr_cassettes/Operation/Operation/Remove_JDBC_driver_should_be_performed_and_eventually_respond_with_success.json +26 -0
  91. data/spec/vcr_cassettes/Operation/Operation/Remove_datasource_should_be_performed_and_eventually_respond_with_success.json +26 -0
  92. data/spec/vcr_cassettes/Operation/Operation/Remove_deployment_should_be_performed_and_eventually_respond_with_success.json +26 -0
  93. data/spec/vcr_cassettes/Operation/Operation/Undeploy_should_be_performed_and_eventually_respond_with_success.json +26 -0
  94. data/spec/vcr_cassettes/Operation/Operation/should_not_be_possible_to_perform_on_closed_client.json +12 -0
  95. data/spec/vcr_cassettes/Operation/Websocket_connection/should_be_established.json +9 -0
  96. metadata +171 -72
  97. data/lib/hawkular_all.rb +0 -9
  98. data/spec/vcr_cassettes/Inventory/Should_create_a_feed.yml +0 -107
  99. data/spec/vcr_cassettes/Inventory/Should_create_a_feed_again.yml +0 -211
  100. data/spec/vcr_cassettes/Inventory/Should_create_and_delete_feed.yml +0 -201
  101. data/spec/vcr_cassettes/Inventory/Should_list_all_the_resource_types.yml +0 -177
  102. data/spec/vcr_cassettes/Inventory/Should_list_heap_metrics_for_WildFlys.yml +0 -775
  103. data/spec/vcr_cassettes/Inventory/Should_list_metrics_for_WildFlys.yml +0 -333
  104. data/spec/vcr_cassettes/Inventory/Should_list_metrics_of_given_metric_type.yml +0 -613
  105. data/spec/vcr_cassettes/Inventory/Should_list_metrics_of_given_resource_type.yml +0 -333
  106. data/spec/vcr_cassettes/Inventory/Should_list_recursive_children_of_WildFly.yml +0 -2064
  107. data/spec/vcr_cassettes/Inventory/Should_list_relationships_of_WildFly.yml +0 -460
  108. data/spec/vcr_cassettes/Inventory/Should_list_types_with_feed.yml +0 -175
@@ -2,7 +2,7 @@
2
2
  http_interactions:
3
3
  - request:
4
4
  method: get
5
- uri: http://jdoe:password@localhost:8080/hawkular/inventory/feeds/f1cb161f-4de3-44b9-a2a4-bdc5a2064f88/resources/Local~~/Local~%2Fsubsystem=datasources%2Fdata-source=ExampleDS
5
+ uri: http://jdoe:password@localhost:8080/hawkular/inventory/feeds/<%= feed_uuid %>/resources/Local~~/Local~%2Fsubsystem=datasources%2Fdata-source=ExampleDS
6
6
  body:
7
7
  encoding: US-ASCII
8
8
  string: ''
@@ -31,7 +31,7 @@ http_interactions:
31
31
  Pragma:
32
32
  - no-cache
33
33
  Date:
34
- - Thu, 21 Apr 2016 13:32:40 GMT
34
+ - Thu, 05 May 2016 11:18:42 GMT
35
35
  Connection:
36
36
  - keep-alive
37
37
  Content-Type:
@@ -42,9 +42,9 @@ http_interactions:
42
42
  encoding: ASCII-8BIT
43
43
  string: |-
44
44
  {
45
- "path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;f1cb161f-4de3-44b9-a2a4-bdc5a2064f88/r;Local~~/r;Local~%2Fsubsystem%3Ddatasources%2Fdata-source%3DExampleDS",
45
+ "path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;<%= feed_uuid %>/r;Local~~/r;Local~%2Fsubsystem%3Ddatasources%2Fdata-source%3DExampleDS",
46
46
  "type" : {
47
- "path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;f1cb161f-4de3-44b9-a2a4-bdc5a2064f88/rt;Datasource",
47
+ "path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;<%= feed_uuid %>/rt;Datasource",
48
48
  "name" : "Datasource",
49
49
  "id" : "Datasource"
50
50
  },
@@ -52,10 +52,10 @@ http_interactions:
52
52
  "id" : "Local~/subsystem=datasources/data-source=ExampleDS"
53
53
  }
54
54
  http_version:
55
- recorded_at: Thu, 21 Apr 2016 13:32:40 GMT
55
+ recorded_at: Thu, 05 May 2016 11:18:42 GMT
56
56
  - request:
57
57
  method: get
58
- uri: http://jdoe:password@localhost:8080/hawkular/inventory/feeds/f1cb161f-4de3-44b9-a2a4-bdc5a2064f88/resources/Local~~/Local~%2Fsubsystem=datasources%2Fdata-source=ExampleDS/data?dataType=configuration
58
+ uri: http://jdoe:password@localhost:8080/hawkular/inventory/feeds/<%= feed_uuid %>/resources/Local~~/Local~%2Fsubsystem=datasources%2Fdata-source=ExampleDS/data?dataType=configuration
59
59
  body:
60
60
  encoding: US-ASCII
61
61
  string: ''
@@ -84,7 +84,7 @@ http_interactions:
84
84
  Pragma:
85
85
  - no-cache
86
86
  Date:
87
- - Thu, 21 Apr 2016 13:32:40 GMT
87
+ - Thu, 05 May 2016 11:18:42 GMT
88
88
  Connection:
89
89
  - keep-alive
90
90
  Content-Type:
@@ -95,7 +95,7 @@ http_interactions:
95
95
  encoding: ASCII-8BIT
96
96
  string: |-
97
97
  {
98
- "path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;f1cb161f-4de3-44b9-a2a4-bdc5a2064f88/r;Local~~/r;Local~%2Fsubsystem%3Ddatasources%2Fdata-source%3DExampleDS/d;configuration",
98
+ "path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;<%= feed_uuid %>/r;Local~~/r;Local~%2Fsubsystem%3Ddatasources%2Fdata-source%3DExampleDS/d;configuration",
99
99
  "value" : {
100
100
  "Username" : "sa",
101
101
  "Driver Name" : "h2",
@@ -107,10 +107,10 @@ http_interactions:
107
107
  "name" : "configuration"
108
108
  }
109
109
  http_version:
110
- recorded_at: Thu, 21 Apr 2016 13:32:40 GMT
110
+ recorded_at: Thu, 05 May 2016 11:18:42 GMT
111
111
  - request:
112
112
  method: get
113
- uri: http://jdoe:password@localhost:8080/hawkular/inventory/feeds/f1cb161f-4de3-44b9-a2a4-bdc5a2064f88/resources/Local~~/Local~%2Fsubsystem=datasources%2Fdata-source=ExampleDS/children
113
+ uri: http://jdoe:password@localhost:8080/hawkular/inventory/feeds/<%= feed_uuid %>/resources/Local~~/Local~%2Fsubsystem=datasources%2Fdata-source=ExampleDS/children
114
114
  body:
115
115
  encoding: US-ASCII
116
116
  string: ''
@@ -139,7 +139,7 @@ http_interactions:
139
139
  Pragma:
140
140
  - no-cache
141
141
  Date:
142
- - Thu, 21 Apr 2016 13:32:40 GMT
142
+ - Thu, 05 May 2016 11:18:42 GMT
143
143
  X-Total-Count:
144
144
  - "-1"
145
145
  Connection:
@@ -149,11 +149,11 @@ http_interactions:
149
149
  Content-Length:
150
150
  - '3'
151
151
  Link:
152
- - <http://localhost:8080/hawkular/inventory/feeds/f1cb161f-4de3-44b9-a2a4-bdc5a2064f88/resources/Local~~/Local~%2Fsubsystem%3Ddatasources%2Fdata-source%3DExampleDS/children>;
152
+ - <http://localhost:8080/hawkular/inventory/feeds/<%= feed_uuid %>/resources/Local~~/Local~%2Fsubsystem%3Ddatasources%2Fdata-source%3DExampleDS/children>;
153
153
  rel="current"
154
154
  body:
155
155
  encoding: ASCII-8BIT
156
156
  string: "[ ]"
157
157
  http_version:
158
- recorded_at: Thu, 21 Apr 2016 13:32:40 GMT
158
+ recorded_at: Thu, 05 May 2016 11:18:42 GMT
159
159
  recorded_with: VCR 3.0.1
@@ -0,0 +1,54 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: http://jdoe:password@localhost:8080/hawkular/inventory/feeds
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:38 GMT
35
+ X-Total-Count:
36
+ - '1'
37
+ Connection:
38
+ - keep-alive
39
+ Content-Type:
40
+ - application/json
41
+ Content-Length:
42
+ - '148'
43
+ Link:
44
+ - <http://localhost:8080/hawkular/inventory/feeds>; rel="current"
45
+ body:
46
+ encoding: ASCII-8BIT
47
+ string: |-
48
+ [ {
49
+ "path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;<%= feed_uuid %>",
50
+ "id" : "<%= feed_uuid %>"
51
+ } ]
52
+ http_version:
53
+ recorded_at: Thu, 05 May 2016 11:18:38 GMT
54
+ recorded_with: VCR 3.0.1
@@ -0,0 +1,712 @@
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:43 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:43 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:43 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:43 GMT
278
+ - request:
279
+ method: get
280
+ uri: http://jdoe:password@localhost:8080/hawkular/inventory/feeds/<%= feed_uuid %>/resources/Local~~/metrics?sort=id
281
+ body:
282
+ encoding: US-ASCII
283
+ string: ''
284
+ headers:
285
+ Accept:
286
+ - application/json
287
+ Accept-Encoding:
288
+ - gzip, deflate
289
+ Content-Type:
290
+ - application/json
291
+ User-Agent:
292
+ - Ruby
293
+ response:
294
+ status:
295
+ code: 200
296
+ message: OK
297
+ headers:
298
+ Expires:
299
+ - '0'
300
+ Cache-Control:
301
+ - no-cache, no-store, must-revalidate
302
+ X-Powered-By:
303
+ - Undertow/1
304
+ Server:
305
+ - WildFly/10
306
+ Pragma:
307
+ - no-cache
308
+ Date:
309
+ - Thu, 05 May 2016 11:18:43 GMT
310
+ X-Total-Count:
311
+ - '14'
312
+ Connection:
313
+ - keep-alive
314
+ Content-Type:
315
+ - application/json
316
+ Content-Length:
317
+ - '10779'
318
+ Link:
319
+ - <http://localhost:8080/hawkular/inventory/feeds/<%= feed_uuid %>/resources/Local~~/metrics?sort=id>;
320
+ rel="current"
321
+ body:
322
+ encoding: ASCII-8BIT
323
+ string: |-
324
+ [ {
325
+ "path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;<%= feed_uuid %>/m;AI~R~%5B<%= feed_uuid %>%2FLocal~~%5D~AT~Server%20Availability~App%20Server",
326
+ "type" : {
327
+ "path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;<%= feed_uuid %>/mt;Server%20Availability~App%20Server",
328
+ "name" : "Server Availability~App Server",
329
+ "unit" : "NONE",
330
+ "type" : "AVAILABILITY",
331
+ "collectionInterval" : 30,
332
+ "id" : "Server Availability~App Server"
333
+ },
334
+ "name" : "Server Availability~App Server",
335
+ "id" : "AI~R~[<%= feed_uuid %>/Local~~]~AT~Server Availability~App Server"
336
+ }, {
337
+ "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",
338
+ "type" : {
339
+ "path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;<%= feed_uuid %>/mt;WildFly%20Aggregated%20Web%20Metrics~Aggregated%20Active%20Web%20Sessions",
340
+ "name" : "WildFly Aggregated Web Metrics~Aggregated Active Web Sessions",
341
+ "unit" : "NONE",
342
+ "type" : "GAUGE",
343
+ "collectionInterval" : 60,
344
+ "id" : "WildFly Aggregated Web Metrics~Aggregated Active Web Sessions"
345
+ },
346
+ "name" : "WildFly Aggregated Web Metrics~Aggregated Active Web Sessions",
347
+ "id" : "MI~R~[<%= feed_uuid %>/Local~~]~MT~WildFly Aggregated Web Metrics~Aggregated Active Web Sessions"
348
+ }, {
349
+ "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",
350
+ "type" : {
351
+ "path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;<%= feed_uuid %>/mt;WildFly%20Aggregated%20Web%20Metrics~Aggregated%20Expired%20Web%20Sessions",
352
+ "name" : "WildFly Aggregated Web Metrics~Aggregated Expired Web Sessions",
353
+ "unit" : "NONE",
354
+ "type" : "COUNTER",
355
+ "collectionInterval" : 60,
356
+ "id" : "WildFly Aggregated Web Metrics~Aggregated Expired Web Sessions"
357
+ },
358
+ "name" : "WildFly Aggregated Web Metrics~Aggregated Expired Web Sessions",
359
+ "id" : "MI~R~[<%= feed_uuid %>/Local~~]~MT~WildFly Aggregated Web Metrics~Aggregated Expired Web Sessions"
360
+ }, {
361
+ "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",
362
+ "type" : {
363
+ "path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;<%= feed_uuid %>/mt;WildFly%20Aggregated%20Web%20Metrics~Aggregated%20Max%20Active%20Web%20Sessions",
364
+ "name" : "WildFly Aggregated Web Metrics~Aggregated Max Active Web Sessions",
365
+ "unit" : "NONE",
366
+ "type" : "GAUGE",
367
+ "collectionInterval" : 60,
368
+ "id" : "WildFly Aggregated Web Metrics~Aggregated Max Active Web Sessions"
369
+ },
370
+ "name" : "WildFly Aggregated Web Metrics~Aggregated Max Active Web Sessions",
371
+ "id" : "MI~R~[<%= feed_uuid %>/Local~~]~MT~WildFly Aggregated Web Metrics~Aggregated Max Active Web Sessions"
372
+ }, {
373
+ "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",
374
+ "type" : {
375
+ "path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;<%= feed_uuid %>/mt;WildFly%20Aggregated%20Web%20Metrics~Aggregated%20Rejected%20Web%20Sessions",
376
+ "name" : "WildFly Aggregated Web Metrics~Aggregated Rejected Web Sessions",
377
+ "unit" : "NONE",
378
+ "type" : "COUNTER",
379
+ "collectionInterval" : 60,
380
+ "id" : "WildFly Aggregated Web Metrics~Aggregated Rejected Web Sessions"
381
+ },
382
+ "name" : "WildFly Aggregated Web Metrics~Aggregated Rejected Web Sessions",
383
+ "id" : "MI~R~[<%= feed_uuid %>/Local~~]~MT~WildFly Aggregated Web Metrics~Aggregated Rejected Web Sessions"
384
+ }, {
385
+ "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",
386
+ "type" : {
387
+ "path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;<%= feed_uuid %>/mt;WildFly%20Aggregated%20Web%20Metrics~Aggregated%20Servlet%20Request%20Count",
388
+ "name" : "WildFly Aggregated Web Metrics~Aggregated Servlet Request Count",
389
+ "unit" : "NONE",
390
+ "type" : "COUNTER",
391
+ "collectionInterval" : 60,
392
+ "id" : "WildFly Aggregated Web Metrics~Aggregated Servlet Request Count"
393
+ },
394
+ "name" : "WildFly Aggregated Web Metrics~Aggregated Servlet Request Count",
395
+ "id" : "MI~R~[<%= feed_uuid %>/Local~~]~MT~WildFly Aggregated Web Metrics~Aggregated Servlet Request Count"
396
+ }, {
397
+ "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",
398
+ "type" : {
399
+ "path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;<%= feed_uuid %>/mt;WildFly%20Aggregated%20Web%20Metrics~Aggregated%20Servlet%20Request%20Time",
400
+ "name" : "WildFly Aggregated Web Metrics~Aggregated Servlet Request Time",
401
+ "unit" : "NONE",
402
+ "type" : "COUNTER",
403
+ "collectionInterval" : 60,
404
+ "id" : "WildFly Aggregated Web Metrics~Aggregated Servlet Request Time"
405
+ },
406
+ "name" : "WildFly Aggregated Web Metrics~Aggregated Servlet Request Time",
407
+ "id" : "MI~R~[<%= feed_uuid %>/Local~~]~MT~WildFly Aggregated Web Metrics~Aggregated Servlet Request Time"
408
+ }, {
409
+ "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",
410
+ "type" : {
411
+ "path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;<%= feed_uuid %>/mt;WildFly%20Memory%20Metrics~Accumulated%20GC%20Duration",
412
+ "name" : "WildFly Memory Metrics~Accumulated GC Duration",
413
+ "unit" : "NONE",
414
+ "type" : "COUNTER",
415
+ "collectionInterval" : 60,
416
+ "id" : "WildFly Memory Metrics~Accumulated GC Duration"
417
+ },
418
+ "name" : "WildFly Memory Metrics~Accumulated GC Duration",
419
+ "id" : "MI~R~[<%= feed_uuid %>/Local~~]~MT~WildFly Memory Metrics~Accumulated GC Duration"
420
+ }, {
421
+ "path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;<%= feed_uuid %>/m;MI~R~%5B<%= feed_uuid %>%2FLocal~~%5D~MT~WildFly%20Memory%20Metrics~Heap%20Committed",
422
+ "type" : {
423
+ "path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;<%= feed_uuid %>/mt;WildFly%20Memory%20Metrics~Heap%20Committed",
424
+ "name" : "WildFly Memory Metrics~Heap Committed",
425
+ "unit" : "NONE",
426
+ "type" : "GAUGE",
427
+ "collectionInterval" : 60,
428
+ "id" : "WildFly Memory Metrics~Heap Committed"
429
+ },
430
+ "name" : "WildFly Memory Metrics~Heap Committed",
431
+ "id" : "MI~R~[<%= feed_uuid %>/Local~~]~MT~WildFly Memory Metrics~Heap Committed"
432
+ }, {
433
+ "path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;<%= feed_uuid %>/m;MI~R~%5B<%= feed_uuid %>%2FLocal~~%5D~MT~WildFly%20Memory%20Metrics~Heap%20Max",
434
+ "type" : {
435
+ "path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;<%= feed_uuid %>/mt;WildFly%20Memory%20Metrics~Heap%20Max",
436
+ "name" : "WildFly Memory Metrics~Heap Max",
437
+ "unit" : "NONE",
438
+ "type" : "GAUGE",
439
+ "collectionInterval" : 60,
440
+ "id" : "WildFly Memory Metrics~Heap Max"
441
+ },
442
+ "name" : "WildFly Memory Metrics~Heap Max",
443
+ "id" : "MI~R~[<%= feed_uuid %>/Local~~]~MT~WildFly Memory Metrics~Heap Max"
444
+ }, {
445
+ "path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;<%= feed_uuid %>/m;MI~R~%5B<%= feed_uuid %>%2FLocal~~%5D~MT~WildFly%20Memory%20Metrics~Heap%20Used",
446
+ "type" : {
447
+ "path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;<%= feed_uuid %>/mt;WildFly%20Memory%20Metrics~Heap%20Used",
448
+ "name" : "WildFly Memory Metrics~Heap Used",
449
+ "unit" : "BYTES",
450
+ "type" : "GAUGE",
451
+ "collectionInterval" : 30,
452
+ "id" : "WildFly Memory Metrics~Heap Used"
453
+ },
454
+ "name" : "WildFly Memory Metrics~Heap Used",
455
+ "id" : "MI~R~[<%= feed_uuid %>/Local~~]~MT~WildFly Memory Metrics~Heap Used"
456
+ }, {
457
+ "path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;<%= feed_uuid %>/m;MI~R~%5B<%= feed_uuid %>%2FLocal~~%5D~MT~WildFly%20Memory%20Metrics~NonHeap%20Committed",
458
+ "type" : {
459
+ "path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;<%= feed_uuid %>/mt;WildFly%20Memory%20Metrics~NonHeap%20Committed",
460
+ "name" : "WildFly Memory Metrics~NonHeap Committed",
461
+ "unit" : "NONE",
462
+ "type" : "GAUGE",
463
+ "collectionInterval" : 60,
464
+ "id" : "WildFly Memory Metrics~NonHeap Committed"
465
+ },
466
+ "name" : "WildFly Memory Metrics~NonHeap Committed",
467
+ "id" : "MI~R~[<%= feed_uuid %>/Local~~]~MT~WildFly Memory Metrics~NonHeap Committed"
468
+ }, {
469
+ "path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;<%= feed_uuid %>/m;MI~R~%5B<%= feed_uuid %>%2FLocal~~%5D~MT~WildFly%20Memory%20Metrics~NonHeap%20Used",
470
+ "type" : {
471
+ "path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;<%= feed_uuid %>/mt;WildFly%20Memory%20Metrics~NonHeap%20Used",
472
+ "name" : "WildFly Memory Metrics~NonHeap Used",
473
+ "unit" : "NONE",
474
+ "type" : "GAUGE",
475
+ "collectionInterval" : 30,
476
+ "id" : "WildFly Memory Metrics~NonHeap Used"
477
+ },
478
+ "name" : "WildFly Memory Metrics~NonHeap Used",
479
+ "id" : "MI~R~[<%= feed_uuid %>/Local~~]~MT~WildFly Memory Metrics~NonHeap Used"
480
+ }, {
481
+ "path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;<%= feed_uuid %>/m;MI~R~%5B<%= feed_uuid %>%2FLocal~~%5D~MT~WildFly%20Threading%20Metrics~Thread%20Count",
482
+ "type" : {
483
+ "path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;<%= feed_uuid %>/mt;WildFly%20Threading%20Metrics~Thread%20Count",
484
+ "name" : "WildFly Threading Metrics~Thread Count",
485
+ "unit" : "NONE",
486
+ "type" : "GAUGE",
487
+ "collectionInterval" : 120,
488
+ "id" : "WildFly Threading Metrics~Thread Count"
489
+ },
490
+ "name" : "WildFly Threading Metrics~Thread Count",
491
+ "id" : "MI~R~[<%= feed_uuid %>/Local~~]~MT~WildFly Threading Metrics~Thread Count"
492
+ } ]
493
+ http_version:
494
+ recorded_at: Thu, 05 May 2016 11:18:43 GMT
495
+ - request:
496
+ method: get
497
+ uri: http://jdoe:password@localhost:8080/hawkular/inventory/feeds/<%= feed_uuid %>/resources/Local~~/metrics?sort=id
498
+ body:
499
+ encoding: US-ASCII
500
+ string: ''
501
+ headers:
502
+ Accept:
503
+ - application/json
504
+ Accept-Encoding:
505
+ - gzip, deflate
506
+ Content-Type:
507
+ - application/json
508
+ User-Agent:
509
+ - Ruby
510
+ response:
511
+ status:
512
+ code: 200
513
+ message: OK
514
+ headers:
515
+ Expires:
516
+ - '0'
517
+ Cache-Control:
518
+ - no-cache, no-store, must-revalidate
519
+ X-Powered-By:
520
+ - Undertow/1
521
+ Server:
522
+ - WildFly/10
523
+ Pragma:
524
+ - no-cache
525
+ Date:
526
+ - Thu, 05 May 2016 11:18:44 GMT
527
+ X-Total-Count:
528
+ - '14'
529
+ Connection:
530
+ - keep-alive
531
+ Content-Type:
532
+ - application/json
533
+ Content-Length:
534
+ - '10779'
535
+ Link:
536
+ - <http://localhost:8080/hawkular/inventory/feeds/<%= feed_uuid %>/resources/Local~~/metrics?sort=id>;
537
+ rel="current"
538
+ body:
539
+ encoding: ASCII-8BIT
540
+ string: |-
541
+ [ {
542
+ "path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;<%= feed_uuid %>/m;AI~R~%5B<%= feed_uuid %>%2FLocal~~%5D~AT~Server%20Availability~App%20Server",
543
+ "type" : {
544
+ "path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;<%= feed_uuid %>/mt;Server%20Availability~App%20Server",
545
+ "name" : "Server Availability~App Server",
546
+ "unit" : "NONE",
547
+ "type" : "AVAILABILITY",
548
+ "collectionInterval" : 30,
549
+ "id" : "Server Availability~App Server"
550
+ },
551
+ "name" : "Server Availability~App Server",
552
+ "id" : "AI~R~[<%= feed_uuid %>/Local~~]~AT~Server Availability~App Server"
553
+ }, {
554
+ "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",
555
+ "type" : {
556
+ "path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;<%= feed_uuid %>/mt;WildFly%20Aggregated%20Web%20Metrics~Aggregated%20Active%20Web%20Sessions",
557
+ "name" : "WildFly Aggregated Web Metrics~Aggregated Active Web Sessions",
558
+ "unit" : "NONE",
559
+ "type" : "GAUGE",
560
+ "collectionInterval" : 60,
561
+ "id" : "WildFly Aggregated Web Metrics~Aggregated Active Web Sessions"
562
+ },
563
+ "name" : "WildFly Aggregated Web Metrics~Aggregated Active Web Sessions",
564
+ "id" : "MI~R~[<%= feed_uuid %>/Local~~]~MT~WildFly Aggregated Web Metrics~Aggregated Active Web Sessions"
565
+ }, {
566
+ "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",
567
+ "type" : {
568
+ "path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;<%= feed_uuid %>/mt;WildFly%20Aggregated%20Web%20Metrics~Aggregated%20Expired%20Web%20Sessions",
569
+ "name" : "WildFly Aggregated Web Metrics~Aggregated Expired Web Sessions",
570
+ "unit" : "NONE",
571
+ "type" : "COUNTER",
572
+ "collectionInterval" : 60,
573
+ "id" : "WildFly Aggregated Web Metrics~Aggregated Expired Web Sessions"
574
+ },
575
+ "name" : "WildFly Aggregated Web Metrics~Aggregated Expired Web Sessions",
576
+ "id" : "MI~R~[<%= feed_uuid %>/Local~~]~MT~WildFly Aggregated Web Metrics~Aggregated Expired Web Sessions"
577
+ }, {
578
+ "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",
579
+ "type" : {
580
+ "path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;<%= feed_uuid %>/mt;WildFly%20Aggregated%20Web%20Metrics~Aggregated%20Max%20Active%20Web%20Sessions",
581
+ "name" : "WildFly Aggregated Web Metrics~Aggregated Max Active Web Sessions",
582
+ "unit" : "NONE",
583
+ "type" : "GAUGE",
584
+ "collectionInterval" : 60,
585
+ "id" : "WildFly Aggregated Web Metrics~Aggregated Max Active Web Sessions"
586
+ },
587
+ "name" : "WildFly Aggregated Web Metrics~Aggregated Max Active Web Sessions",
588
+ "id" : "MI~R~[<%= feed_uuid %>/Local~~]~MT~WildFly Aggregated Web Metrics~Aggregated Max Active Web Sessions"
589
+ }, {
590
+ "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",
591
+ "type" : {
592
+ "path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;<%= feed_uuid %>/mt;WildFly%20Aggregated%20Web%20Metrics~Aggregated%20Rejected%20Web%20Sessions",
593
+ "name" : "WildFly Aggregated Web Metrics~Aggregated Rejected Web Sessions",
594
+ "unit" : "NONE",
595
+ "type" : "COUNTER",
596
+ "collectionInterval" : 60,
597
+ "id" : "WildFly Aggregated Web Metrics~Aggregated Rejected Web Sessions"
598
+ },
599
+ "name" : "WildFly Aggregated Web Metrics~Aggregated Rejected Web Sessions",
600
+ "id" : "MI~R~[<%= feed_uuid %>/Local~~]~MT~WildFly Aggregated Web Metrics~Aggregated Rejected Web Sessions"
601
+ }, {
602
+ "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",
603
+ "type" : {
604
+ "path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;<%= feed_uuid %>/mt;WildFly%20Aggregated%20Web%20Metrics~Aggregated%20Servlet%20Request%20Count",
605
+ "name" : "WildFly Aggregated Web Metrics~Aggregated Servlet Request Count",
606
+ "unit" : "NONE",
607
+ "type" : "COUNTER",
608
+ "collectionInterval" : 60,
609
+ "id" : "WildFly Aggregated Web Metrics~Aggregated Servlet Request Count"
610
+ },
611
+ "name" : "WildFly Aggregated Web Metrics~Aggregated Servlet Request Count",
612
+ "id" : "MI~R~[<%= feed_uuid %>/Local~~]~MT~WildFly Aggregated Web Metrics~Aggregated Servlet Request Count"
613
+ }, {
614
+ "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",
615
+ "type" : {
616
+ "path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;<%= feed_uuid %>/mt;WildFly%20Aggregated%20Web%20Metrics~Aggregated%20Servlet%20Request%20Time",
617
+ "name" : "WildFly Aggregated Web Metrics~Aggregated Servlet Request Time",
618
+ "unit" : "NONE",
619
+ "type" : "COUNTER",
620
+ "collectionInterval" : 60,
621
+ "id" : "WildFly Aggregated Web Metrics~Aggregated Servlet Request Time"
622
+ },
623
+ "name" : "WildFly Aggregated Web Metrics~Aggregated Servlet Request Time",
624
+ "id" : "MI~R~[<%= feed_uuid %>/Local~~]~MT~WildFly Aggregated Web Metrics~Aggregated Servlet Request Time"
625
+ }, {
626
+ "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",
627
+ "type" : {
628
+ "path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;<%= feed_uuid %>/mt;WildFly%20Memory%20Metrics~Accumulated%20GC%20Duration",
629
+ "name" : "WildFly Memory Metrics~Accumulated GC Duration",
630
+ "unit" : "NONE",
631
+ "type" : "COUNTER",
632
+ "collectionInterval" : 60,
633
+ "id" : "WildFly Memory Metrics~Accumulated GC Duration"
634
+ },
635
+ "name" : "WildFly Memory Metrics~Accumulated GC Duration",
636
+ "id" : "MI~R~[<%= feed_uuid %>/Local~~]~MT~WildFly Memory Metrics~Accumulated GC Duration"
637
+ }, {
638
+ "path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;<%= feed_uuid %>/m;MI~R~%5B<%= feed_uuid %>%2FLocal~~%5D~MT~WildFly%20Memory%20Metrics~Heap%20Committed",
639
+ "type" : {
640
+ "path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;<%= feed_uuid %>/mt;WildFly%20Memory%20Metrics~Heap%20Committed",
641
+ "name" : "WildFly Memory Metrics~Heap Committed",
642
+ "unit" : "NONE",
643
+ "type" : "GAUGE",
644
+ "collectionInterval" : 60,
645
+ "id" : "WildFly Memory Metrics~Heap Committed"
646
+ },
647
+ "name" : "WildFly Memory Metrics~Heap Committed",
648
+ "id" : "MI~R~[<%= feed_uuid %>/Local~~]~MT~WildFly Memory Metrics~Heap Committed"
649
+ }, {
650
+ "path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;<%= feed_uuid %>/m;MI~R~%5B<%= feed_uuid %>%2FLocal~~%5D~MT~WildFly%20Memory%20Metrics~Heap%20Max",
651
+ "type" : {
652
+ "path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;<%= feed_uuid %>/mt;WildFly%20Memory%20Metrics~Heap%20Max",
653
+ "name" : "WildFly Memory Metrics~Heap Max",
654
+ "unit" : "NONE",
655
+ "type" : "GAUGE",
656
+ "collectionInterval" : 60,
657
+ "id" : "WildFly Memory Metrics~Heap Max"
658
+ },
659
+ "name" : "WildFly Memory Metrics~Heap Max",
660
+ "id" : "MI~R~[<%= feed_uuid %>/Local~~]~MT~WildFly Memory Metrics~Heap Max"
661
+ }, {
662
+ "path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;<%= feed_uuid %>/m;MI~R~%5B<%= feed_uuid %>%2FLocal~~%5D~MT~WildFly%20Memory%20Metrics~Heap%20Used",
663
+ "type" : {
664
+ "path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;<%= feed_uuid %>/mt;WildFly%20Memory%20Metrics~Heap%20Used",
665
+ "name" : "WildFly Memory Metrics~Heap Used",
666
+ "unit" : "BYTES",
667
+ "type" : "GAUGE",
668
+ "collectionInterval" : 30,
669
+ "id" : "WildFly Memory Metrics~Heap Used"
670
+ },
671
+ "name" : "WildFly Memory Metrics~Heap Used",
672
+ "id" : "MI~R~[<%= feed_uuid %>/Local~~]~MT~WildFly Memory Metrics~Heap Used"
673
+ }, {
674
+ "path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;<%= feed_uuid %>/m;MI~R~%5B<%= feed_uuid %>%2FLocal~~%5D~MT~WildFly%20Memory%20Metrics~NonHeap%20Committed",
675
+ "type" : {
676
+ "path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;<%= feed_uuid %>/mt;WildFly%20Memory%20Metrics~NonHeap%20Committed",
677
+ "name" : "WildFly Memory Metrics~NonHeap Committed",
678
+ "unit" : "NONE",
679
+ "type" : "GAUGE",
680
+ "collectionInterval" : 60,
681
+ "id" : "WildFly Memory Metrics~NonHeap Committed"
682
+ },
683
+ "name" : "WildFly Memory Metrics~NonHeap Committed",
684
+ "id" : "MI~R~[<%= feed_uuid %>/Local~~]~MT~WildFly Memory Metrics~NonHeap Committed"
685
+ }, {
686
+ "path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;<%= feed_uuid %>/m;MI~R~%5B<%= feed_uuid %>%2FLocal~~%5D~MT~WildFly%20Memory%20Metrics~NonHeap%20Used",
687
+ "type" : {
688
+ "path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;<%= feed_uuid %>/mt;WildFly%20Memory%20Metrics~NonHeap%20Used",
689
+ "name" : "WildFly Memory Metrics~NonHeap Used",
690
+ "unit" : "NONE",
691
+ "type" : "GAUGE",
692
+ "collectionInterval" : 30,
693
+ "id" : "WildFly Memory Metrics~NonHeap Used"
694
+ },
695
+ "name" : "WildFly Memory Metrics~NonHeap Used",
696
+ "id" : "MI~R~[<%= feed_uuid %>/Local~~]~MT~WildFly Memory Metrics~NonHeap Used"
697
+ }, {
698
+ "path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;<%= feed_uuid %>/m;MI~R~%5B<%= feed_uuid %>%2FLocal~~%5D~MT~WildFly%20Threading%20Metrics~Thread%20Count",
699
+ "type" : {
700
+ "path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;<%= feed_uuid %>/mt;WildFly%20Threading%20Metrics~Thread%20Count",
701
+ "name" : "WildFly Threading Metrics~Thread Count",
702
+ "unit" : "NONE",
703
+ "type" : "GAUGE",
704
+ "collectionInterval" : 120,
705
+ "id" : "WildFly Threading Metrics~Thread Count"
706
+ },
707
+ "name" : "WildFly Threading Metrics~Thread Count",
708
+ "id" : "MI~R~[<%= feed_uuid %>/Local~~]~MT~WildFly Threading Metrics~Thread Count"
709
+ } ]
710
+ http_version:
711
+ recorded_at: Thu, 05 May 2016 11:18:44 GMT
712
+ recorded_with: VCR 3.0.1