hawkular-client 2.7.0 → 2.8.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (156) hide show
  1. checksums.yaml +4 -4
  2. data/.travis.yml +19 -2
  3. data/.travis/wait_for_services.rb +23 -0
  4. data/CHANGES.rdoc +11 -0
  5. data/docker-compose.yml +15 -0
  6. data/lib/hawkular/alerts/alerts_api.rb +24 -0
  7. data/lib/hawkular/base_client.rb +7 -0
  8. data/lib/hawkular/inventory/entities.rb +3 -0
  9. data/lib/hawkular/metrics/metric_api.rb +38 -3
  10. data/lib/hawkular/metrics/metrics_client.rb +3 -0
  11. data/lib/hawkular/metrics/tenant_api.rb +2 -2
  12. data/lib/hawkular/version.rb +1 -1
  13. data/spec/integration/alert-resources/alerts-test-data.json +40 -0
  14. data/spec/integration/alert-resources/events-test-data.json +78 -0
  15. data/spec/integration/alert-resources/triggers-test-data.json +66 -0
  16. data/spec/integration/alerts_spec.rb +192 -83
  17. data/spec/integration/hello-world-definitions.json +1 -2
  18. data/spec/integration/inventory_spec.rb +18 -5
  19. data/spec/integration/metric_spec.rb +201 -40
  20. data/spec/integration/operations_spec.rb +45 -1
  21. data/spec/spec_helper.rb +25 -6
  22. data/spec/vcr_cassettes/Alert/Alerts/Templates/Should_acknowledge_an_alert.yml +205 -0
  23. data/spec/vcr_cassettes/Alert/Alerts/Templates/Should_fetch_single_alert.yml +108 -0
  24. data/spec/vcr_cassettes/Alert/Alerts/Templates/Should_list_alerts.yml +59 -0
  25. data/spec/vcr_cassettes/Alert/Alerts/Templates/Should_list_alerts_for_trigger.yml +58 -0
  26. data/spec/vcr_cassettes/Alert/Alerts/{Should_list_alerts_for_unknown_trigger.yml → Templates/Should_list_alerts_for_unknown_trigger.yml} +13 -9
  27. data/spec/vcr_cassettes/Alert/Alerts/Templates/Should_list_open_alerts.yml +59 -0
  28. data/spec/vcr_cassettes/Alert/Alerts/Templates/Should_resolve_an_alert.yml +207 -0
  29. data/spec/vcr_cassettes/Alert/Alerts/Templates/setup.yml +255 -0
  30. data/spec/vcr_cassettes/Alert/Alerts/Templates/setup_cleanup.yml +302 -0
  31. data/spec/vcr_cassettes/Alert/EndToEnd/Templates/Should_create_and_fire_a_trigger.yml +527 -0
  32. data/spec/vcr_cassettes/{Metrics/NonSecure/metrics_0_16_0/Templates/Gauge_metrics/Should_return_periods.yml → Alert/Events/Templates/Should_create_an_event.yml} +22 -18
  33. data/spec/vcr_cassettes/{Metrics/NonSecure/metrics_0_16_0/Templates/Availability_metrics/Should_push_metric_data_to_non-existing_Availability.yml → Alert/Events/Templates/Should_delete_an_event.yml} +28 -24
  34. data/spec/vcr_cassettes/Alert/Events/Templates/Should_list_events.yml +91 -0
  35. data/spec/vcr_cassettes/Alert/Events/Templates/Should_list_events_using_criteria.yml +60 -0
  36. data/spec/vcr_cassettes/Alert/Events/{Should_not_list_events_using_criteria.yml → Templates/Should_not_list_events_using_criteria.yml} +14 -13
  37. data/spec/vcr_cassettes/Alert/Events/Templates/setup.yml +615 -0
  38. data/spec/vcr_cassettes/Alert/Events/Templates/setup_cleanup.yml +567 -0
  39. data/spec/vcr_cassettes/Alert/Groups/{Should_operate_a_complex_group_trigger.yml → Templates/Should_operate_a_complex_group_trigger.yml} +508 -352
  40. data/spec/vcr_cassettes/{Alerts → Alert/Templates}/Should_return_the_version.yml +10 -8
  41. data/spec/vcr_cassettes/Alert/Triggers/Templates/Should_List_Triggers.yml +55 -0
  42. data/spec/vcr_cassettes/Alert/Triggers/Templates/Should_List_Triggers_for_ID.yml +56 -0
  43. data/spec/vcr_cassettes/Alert/Triggers/Templates/Should_List_Triggers_for_Tag.yml +56 -0
  44. data/spec/vcr_cassettes/Alert/Triggers/Templates/Should_List_Triggers_for_Tags.yml +56 -0
  45. data/spec/vcr_cassettes/Alert/Triggers/Templates/Should_bulk_load_triggers.yml +243 -0
  46. data/spec/vcr_cassettes/Alert/Triggers/{Should_create_a_basic_trigger_with_action.yml → Templates/Should_create_a_basic_trigger_with_action.yml} +107 -76
  47. data/spec/vcr_cassettes/Alert/Triggers/{Should_create_a_firing_ALL_ANY_trigger.yml → Templates/Should_create_a_firing_ALL_ANY_trigger.yml} +81 -61
  48. data/spec/vcr_cassettes/{Metrics/NonSecure/metrics_0_16_0/Templates/Counter_metrics/Should_push_metric_data_to_non-existing_counter.yml → Alert/Triggers/Templates/Should_create_an_action.yml} +32 -30
  49. data/spec/vcr_cassettes/{Metrics/Secure/metrics_0_16_0/Templates/Availability_metrics/Should_push_metric_data_to_non-existing_Availability.yml → Alert/Triggers/Templates/Should_get_a_single_Trigger_with_conditions.yml} +29 -29
  50. data/spec/vcr_cassettes/Alert/Triggers/Templates/Should_get_a_single_metric_Trigger.yml +50 -0
  51. data/spec/vcr_cassettes/Alert/Triggers/{Should_get_the_action_definitions.yml → Templates/Should_get_the_action_definitions.yml} +46 -73
  52. data/spec/vcr_cassettes/Alert/Triggers/{Should_not_create_an_action_for_unknown_plugin.yml → Templates/Should_not_create_an_action_for_unknown_plugin.yml} +12 -8
  53. data/spec/vcr_cassettes/{Metrics/NonSecure/metrics_0_16_0/Templates/Availability_metrics/Should_create_Availability_definition_using_MetricDefinition_parameter.yml → Alert/Triggers/Templates/Should_not_create_an_action_for_unknown_properties.yml} +27 -26
  54. data/spec/vcr_cassettes/Alert/Triggers/Templates/setup.yml +52 -0
  55. data/spec/vcr_cassettes/{Metrics/NonSecure/metrics_0_16_0/Templates/Mixed_metrics/Should_send_mixed_metric_request_of_a_single_type.yml → Alert/Triggers/Templates/setup_cleanup.yml} +51 -51
  56. data/spec/vcr_cassettes/Inventory/NonSecure/inventory_0_17/Templates/Should_list_metrics_of_given_metric_type.yml +29 -25
  57. data/spec/vcr_cassettes/Metrics/NonSecure/ID_with_special_characters/Templates/Get_metric_definition_by_id.yml +3 -3
  58. data/spec/vcr_cassettes/Metrics/NonSecure/ID_with_special_characters/Templates/Retrieve_metric_rate_points.yml +5 -5
  59. data/spec/vcr_cassettes/Metrics/NonSecure/ID_with_special_characters/Templates/Should_create_Availability_definition.yml +4 -4
  60. data/spec/vcr_cassettes/Metrics/NonSecure/ID_with_special_characters/Templates/Should_create_Counter_definition.yml +4 -4
  61. data/spec/vcr_cassettes/Metrics/NonSecure/ID_with_special_characters/Templates/Should_create_gauge_definition.yml +4 -4
  62. data/spec/vcr_cassettes/Metrics/NonSecure/ID_with_special_characters/Templates/Should_push_metric_data_to_existing_gauge.yml +4 -4
  63. data/spec/vcr_cassettes/Metrics/NonSecure/ID_with_special_characters/Templates/Should_update_tags_for_Availability_definition.yml +6 -6
  64. data/spec/vcr_cassettes/Metrics/NonSecure/ID_with_special_characters/Templates/Should_update_tags_for_gauge_definition.yml +8 -8
  65. data/spec/vcr_cassettes/Metrics/NonSecure/ID_with_special_characters/Templates/setup_client.yml +44 -0
  66. data/spec/vcr_cassettes/Metrics/NonSecure/{metrics_0_16_0/Templates/Counter_metrics/Should_get_metrics_with_limit_and_order.yml → metrics_services/Templates/All_Tags_for_metrics/Should_fetch_all_metric_tags_for_metrics_definitions.yml} +159 -53
  67. data/spec/vcr_cassettes/Metrics/NonSecure/metrics_services/Templates/Availability_metrics/Should_group_contiguous_values.yml +47 -6
  68. data/spec/vcr_cassettes/Metrics/NonSecure/metrics_services/Templates/Availability_metrics/Should_push_metric_data_to_non-existing_Availability.yml +12 -12
  69. data/spec/vcr_cassettes/Metrics/NonSecure/metrics_services/Templates/Availability_metrics/setup_client.yml +44 -0
  70. data/spec/vcr_cassettes/Metrics/NonSecure/metrics_services/Templates/Counter_metrics/Should_get_metrics_as_bucketed_results.yml +17 -17
  71. data/spec/vcr_cassettes/Metrics/NonSecure/metrics_services/Templates/Counter_metrics/Should_get_metrics_with_limit_and_order.yml +23 -23
  72. data/spec/vcr_cassettes/Metrics/NonSecure/metrics_services/Templates/Counter_metrics/Should_push_metric_data_to_existing_counter.yml +19 -19
  73. data/spec/vcr_cassettes/Metrics/NonSecure/metrics_services/Templates/Counter_metrics/Should_push_metric_data_to_non-existing_counter.yml +12 -12
  74. data/spec/vcr_cassettes/Metrics/NonSecure/metrics_services/Templates/Counter_metrics/setup_client.yml +44 -0
  75. data/spec/vcr_cassettes/Metrics/NonSecure/metrics_services/Templates/Gauge_metrics/Should_push_metric_data_to_existing_gauge.yml +19 -19
  76. data/spec/vcr_cassettes/Metrics/NonSecure/metrics_services/Templates/Gauge_metrics/Should_push_metric_data_to_non-existing_gauge.yml +12 -12
  77. data/spec/vcr_cassettes/Metrics/NonSecure/metrics_services/Templates/Gauge_metrics/Should_return_periods.yml +5 -5
  78. data/spec/vcr_cassettes/Metrics/NonSecure/metrics_services/Templates/Gauge_metrics/Should_return_platform_memory.yml +151 -5
  79. data/spec/vcr_cassettes/Metrics/NonSecure/metrics_services/Templates/Gauge_metrics/Should_return_platform_memory_def.yml +152 -6
  80. data/spec/vcr_cassettes/Metrics/NonSecure/metrics_services/Templates/Gauge_metrics/setup_client.yml +44 -0
  81. data/spec/vcr_cassettes/Metrics/NonSecure/metrics_services/Templates/Mixed_metrics/Should_fetch_rate_stats_for_mixed_metric.yml +33 -33
  82. data/spec/vcr_cassettes/Metrics/NonSecure/metrics_services/Templates/Mixed_metrics/Should_fetch_stats_for_mixed_metric.yml +31 -32
  83. data/spec/vcr_cassettes/Metrics/NonSecure/metrics_services/Templates/Mixed_metrics/Should_requests_raw_data_for_multiple_metrics.yml +108 -20
  84. data/spec/vcr_cassettes/Metrics/NonSecure/metrics_services/Templates/Mixed_metrics/Should_send_mixed_metric_request.yml +26 -26
  85. data/spec/vcr_cassettes/Metrics/NonSecure/metrics_services/Templates/Mixed_metrics/Should_send_mixed_metric_request_of_a_single_type.yml +27 -27
  86. data/spec/vcr_cassettes/Metrics/NonSecure/{metrics_0_16_0/Templates/Status/Should_return_the_version.yml → metrics_services/Templates/Mixed_metrics/setup_client.yml} +3 -3
  87. data/spec/vcr_cassettes/Metrics/NonSecure/metrics_services/Templates/No_Tenant/Should_fail.yml +43 -4
  88. data/spec/vcr_cassettes/Metrics/NonSecure/metrics_services/Templates/Status/Should_return_the_version.yml +44 -3
  89. data/spec/vcr_cassettes/Metrics/NonSecure/{metrics_0_16_0/Templates/Gauge_metrics/Should_create_gauge_definition_using_Hash.yml → metrics_services/Templates/String_metrics/Should_create_string_definition_using_Hash.yml} +9 -9
  90. data/spec/vcr_cassettes/Metrics/NonSecure/{metrics_0_16_0/Templates/Gauge_metrics/Should_create_gauge_definition_using_MetricDefinition.yml → metrics_services/Templates/String_metrics/Should_create_string_definition_using_MetricDefinition.yml} +9 -9
  91. data/spec/vcr_cassettes/Metrics/NonSecure/{metrics_0_16_0/Templates/Gauge_metrics/Should_push_metric_data_to_existing_gauge.yml → metrics_services/Templates/String_metrics/Should_push_metric_data_to_existing_string.yml} +27 -27
  92. data/spec/vcr_cassettes/Metrics/NonSecure/{metrics_0_16_0/Templates/Gauge_metrics/Should_push_metric_data_to_non-existing_gauge.yml → metrics_services/Templates/String_metrics/Should_push_metric_data_to_non-existing_string.yml} +15 -15
  93. data/spec/vcr_cassettes/Metrics/NonSecure/metrics_services/Templates/String_metrics/setup_client.yml +44 -0
  94. data/spec/vcr_cassettes/Metrics/NonSecure/metrics_services/Templates/Tags_Metrics/setup_client.yml +44 -0
  95. data/spec/vcr_cassettes/Metrics/NonSecure/metrics_services/Templates/Tenants/Should_create_and_return_tenant.yml +10 -6
  96. data/spec/vcr_cassettes/Metrics/{Secure/metrics_0_16_0/Templates/Status/Should_return_the_version.yml → NonSecure/metrics_services/Templates/Tenants/setup_client.yml} +5 -5
  97. data/spec/vcr_cassettes/Metrics/NonSecure/metrics_services/Templates/setup_client.yml +44 -0
  98. data/spec/vcr_cassettes/Metrics/Secure/metrics_services/Templates/Mixed_metrics/Should_requests_raw_data_for_multiple_metrics.yml +80 -33
  99. data/spec/vcr_cassettes/Operation/NonSecure/Operation/Add_XA_datasource_should_be_doable.json +23 -0
  100. data/spec/vcr_cassettes/Operation/NonSecure/Operation/{Add_datasource_should_be_doable.json → Add_non-XA_datasource_should_be_doable.json} +0 -0
  101. metadata +111 -156
  102. data/spec/vcr_cassettes/Alert/Alerts/Should_acknowledge_an_alert.yml +0 -183
  103. data/spec/vcr_cassettes/Alert/Alerts/Should_fetch_single_alert.yml +0 -69
  104. data/spec/vcr_cassettes/Alert/Alerts/Should_list_alerts.yml +0 -85
  105. data/spec/vcr_cassettes/Alert/Alerts/Should_list_alerts_for_trigger.yml +0 -142
  106. data/spec/vcr_cassettes/Alert/Alerts/Should_resolve_an_alert.yml +0 -181
  107. data/spec/vcr_cassettes/Alert/Alerts/Should_resolve_an_alert2.yml +0 -49
  108. data/spec/vcr_cassettes/Alert/EndToEnd/Should_create_and_fire_a_trigger.yml +0 -1187
  109. data/spec/vcr_cassettes/Alert/Events/Should_create_an_event.yml +0 -50
  110. data/spec/vcr_cassettes/Alert/Events/Should_list_events.yml +0 -101
  111. data/spec/vcr_cassettes/Alert/Events/Should_list_events_using_criteria.yml +0 -79
  112. data/spec/vcr_cassettes/Alert/Triggers/Should_List_Triggers.yml +0 -62
  113. data/spec/vcr_cassettes/Alert/Triggers/Should_List_Triggers_for_ID.yml +0 -55
  114. data/spec/vcr_cassettes/Alert/Triggers/Should_List_Triggers_for_Tag.yml +0 -68
  115. data/spec/vcr_cassettes/Alert/Triggers/Should_List_Triggers_for_Tags.yml +0 -68
  116. data/spec/vcr_cassettes/Alert/Triggers/Should_bulk_load_triggers.yml +0 -225
  117. data/spec/vcr_cassettes/Alert/Triggers/Should_create_an_action.yml +0 -134
  118. data/spec/vcr_cassettes/Alert/Triggers/Should_create_an_action_for_webhooks.yml +0 -220
  119. data/spec/vcr_cassettes/Alert/Triggers/Should_get_a_single_Trigger_with_conditions.yml +0 -138
  120. data/spec/vcr_cassettes/Alert/Triggers/Should_get_a_single_metric_Trigger.yml +0 -50
  121. data/spec/vcr_cassettes/Alert/Triggers/Should_not_create_an_action_for_unknown_properties.yml +0 -134
  122. data/spec/vcr_cassettes/Metrics/NonSecure/metrics_0_16_0/Templates/Availability_metrics/Should_create_and_return_Availability_using_Hash_parameter.yml +0 -99
  123. data/spec/vcr_cassettes/Metrics/NonSecure/metrics_0_16_0/Templates/Availability_metrics/Should_group_contiguous_values.yml +0 -97
  124. data/spec/vcr_cassettes/Metrics/NonSecure/metrics_0_16_0/Templates/Availability_metrics/Should_update_tags_for_Availability_definition.yml +0 -240
  125. data/spec/vcr_cassettes/Metrics/NonSecure/metrics_0_16_0/Templates/Counter_metrics/Should_create_and_return_counter_using_Hash_parameter.yml +0 -99
  126. data/spec/vcr_cassettes/Metrics/NonSecure/metrics_0_16_0/Templates/Counter_metrics/Should_create_counter_definition_using_MetricDefinition_parameter.yml +0 -99
  127. data/spec/vcr_cassettes/Metrics/NonSecure/metrics_0_16_0/Templates/Counter_metrics/Should_get_metrics_as_bucketed_results.yml +0 -240
  128. data/spec/vcr_cassettes/Metrics/NonSecure/metrics_0_16_0/Templates/Counter_metrics/Should_push_metric_data_to_existing_counter.yml +0 -281
  129. data/spec/vcr_cassettes/Metrics/NonSecure/metrics_0_16_0/Templates/Gauge_metrics/Should_update_tags_for_gauge_definition.yml +0 -240
  130. data/spec/vcr_cassettes/Metrics/NonSecure/metrics_0_16_0/Templates/Mixed_metrics/Should_requests_raw_data_for_multiple_metrics.yml +0 -326
  131. data/spec/vcr_cassettes/Metrics/NonSecure/metrics_0_16_0/Templates/Mixed_metrics/Should_send_mixed_metric_request.yml +0 -314
  132. data/spec/vcr_cassettes/Metrics/NonSecure/metrics_0_16_0/Templates/No_Tenant/Should_fail.yml +0 -50
  133. data/spec/vcr_cassettes/Metrics/NonSecure/metrics_0_16_0/Templates/Simple/Should_be_Cool.yml +0 -48
  134. data/spec/vcr_cassettes/Metrics/NonSecure/metrics_0_16_0/Templates/Tenants/Should_create_and_return_tenant.yml +0 -99
  135. data/spec/vcr_cassettes/Metrics/Secure/metrics_0_16_0/Templates/Availability_metrics/Should_create_Availability_definition_using_MetricDefinition_parameter.yml +0 -99
  136. data/spec/vcr_cassettes/Metrics/Secure/metrics_0_16_0/Templates/Availability_metrics/Should_create_and_return_Availability_using_Hash_parameter.yml +0 -99
  137. data/spec/vcr_cassettes/Metrics/Secure/metrics_0_16_0/Templates/Availability_metrics/Should_group_contiguous_values.yml +0 -97
  138. data/spec/vcr_cassettes/Metrics/Secure/metrics_0_16_0/Templates/Availability_metrics/Should_update_tags_for_Availability_definition.yml +0 -240
  139. data/spec/vcr_cassettes/Metrics/Secure/metrics_0_16_0/Templates/Counter_metrics/Should_create_and_return_counter_using_Hash_parameter.yml +0 -99
  140. data/spec/vcr_cassettes/Metrics/Secure/metrics_0_16_0/Templates/Counter_metrics/Should_create_counter_definition_using_MetricDefinition_parameter.yml +0 -99
  141. data/spec/vcr_cassettes/Metrics/Secure/metrics_0_16_0/Templates/Counter_metrics/Should_get_metrics_as_bucketed_results.yml +0 -240
  142. data/spec/vcr_cassettes/Metrics/Secure/metrics_0_16_0/Templates/Counter_metrics/Should_get_metrics_with_limit_and_order.yml +0 -328
  143. data/spec/vcr_cassettes/Metrics/Secure/metrics_0_16_0/Templates/Counter_metrics/Should_push_metric_data_to_existing_counter.yml +0 -281
  144. data/spec/vcr_cassettes/Metrics/Secure/metrics_0_16_0/Templates/Counter_metrics/Should_push_metric_data_to_non-existing_counter.yml +0 -144
  145. data/spec/vcr_cassettes/Metrics/Secure/metrics_0_16_0/Templates/Gauge_metrics/Should_create_gauge_definition_using_Hash.yml +0 -99
  146. data/spec/vcr_cassettes/Metrics/Secure/metrics_0_16_0/Templates/Gauge_metrics/Should_create_gauge_definition_using_MetricDefinition.yml +0 -99
  147. data/spec/vcr_cassettes/Metrics/Secure/metrics_0_16_0/Templates/Gauge_metrics/Should_push_metric_data_to_existing_gauge.yml +0 -281
  148. data/spec/vcr_cassettes/Metrics/Secure/metrics_0_16_0/Templates/Gauge_metrics/Should_push_metric_data_to_non-existing_gauge.yml +0 -144
  149. data/spec/vcr_cassettes/Metrics/Secure/metrics_0_16_0/Templates/Gauge_metrics/Should_return_periods.yml +0 -97
  150. data/spec/vcr_cassettes/Metrics/Secure/metrics_0_16_0/Templates/Gauge_metrics/Should_update_tags_for_gauge_definition.yml +0 -240
  151. data/spec/vcr_cassettes/Metrics/Secure/metrics_0_16_0/Templates/Mixed_metrics/Should_requests_raw_data_for_multiple_metrics.yml +0 -326
  152. data/spec/vcr_cassettes/Metrics/Secure/metrics_0_16_0/Templates/Mixed_metrics/Should_send_mixed_metric_request.yml +0 -314
  153. data/spec/vcr_cassettes/Metrics/Secure/metrics_0_16_0/Templates/Mixed_metrics/Should_send_mixed_metric_request_of_a_single_type.yml +0 -285
  154. data/spec/vcr_cassettes/Metrics/Secure/metrics_0_16_0/Templates/No_Tenant/Should_fail.yml +0 -50
  155. data/spec/vcr_cassettes/Metrics/Secure/metrics_0_16_0/Templates/Simple/Should_be_Cool.yml +0 -48
  156. data/spec/vcr_cassettes/Metrics/Secure/metrics_0_16_0/Templates/Tenants/Should_create_and_return_tenant.yml +0 -99
@@ -2,7 +2,7 @@
2
2
  http_interactions:
3
3
  - request:
4
4
  method: get
5
- uri: http://<%= super_secret_username %>:<%= super_secret_password %>@localhost:8080/hawkular/inventory/traversal/f;<%= feed_uuid %>/mt;Total%20Space/rl;defines/type=m
5
+ uri: http://<%= super_secret_username %>:<%= super_secret_password %>@localhost:8080/hawkular/inventory/traversal/f;<%= feed_uuid %>/mt;Platform_File%20Store_Total%20Space/rl;defines/type=m
6
6
  body:
7
7
  encoding: US-ASCII
8
8
  string: ''
@@ -35,7 +35,7 @@ http_interactions:
35
35
  Pragma:
36
36
  - no-cache
37
37
  Date:
38
- - Wed, 10 Aug 2016 22:35:37 GMT
38
+ - Tue, 27 Sep 2016 22:09:35 GMT
39
39
  X-Total-Count:
40
40
  - '2'
41
41
  Connection:
@@ -43,48 +43,52 @@ http_interactions:
43
43
  Content-Type:
44
44
  - application/json
45
45
  Content-Length:
46
- - '1762'
46
+ - '2737'
47
47
  Link:
48
- - <http://localhost:8080/hawkular/inventory/traversal/f;<%= feed_uuid %>/mt;Total%20Space/rl;defines/type=m>;
48
+ - <http://localhost:8080/hawkular/inventory/traversal/f;<%= feed_uuid %>/mt;Platform_File%20Store_Total%20Space/rl;defines/type=m>;
49
49
  rel="current"
50
50
  body:
51
51
  encoding: UTF-8
52
52
  string: |-
53
53
  [ {
54
- "path" : "/t;hawkular/f;<%= feed_uuid %>/m;MI~R~%5B<%= feed_uuid %>%2Fplatform~%2FOPERATING_SYSTEM%3D<%= feed_uuid %>_OperatingSystem%2FFILE_STORE%3D~%5D~MT~Total%20Space",
55
- "properties" : {
56
- "__identityHash" : "1c6ad522edd8cb6bbc779b81dc84c2e5a26ac68"
57
- },
54
+ "path" : "/t;hawkular/f;<%= feed_uuid %>/r;platform~%2FOPERATING_SYSTEM%3D<%= feed_uuid %>_OperatingSystem/r;platform~%2FOPERATING_SYSTEM%3D<%= feed_uuid %>_OperatingSystem%2FFILE_STORE%3D%2Fdev%2Fmapper%2Ffedora-root/m;MI~R~%5B<%= feed_uuid %>%2Fplatform~%2FOPERATING_SYSTEM%3D<%= feed_uuid %>_OperatingSystem%2FFILE_STORE%3D%2Fdev%2Fmapper%2Ffedora-root%5D~MT~Platform_File%20Store_Total%20Space",
58
55
  "name" : "Total Space",
59
- "identityHash" : "1c6ad522edd8cb6bbc779b81dc84c2e5a26ac68",
56
+ "identityHash" : "f78189d0d4267ba87d5134a72abec6e14fe3e9",
57
+ "contentHash" : "3dd9504a5164fc43684998c14ee9f58f1f1680",
58
+ "syncHash" : "51fbca7b3430636eb4b6e87acf976ce6945ff89",
60
59
  "type" : {
61
- "path" : "/t;hawkular/f;<%= feed_uuid %>/mt;Total%20Space",
60
+ "path" : "/t;hawkular/f;<%= feed_uuid %>/mt;Platform_File%20Store_Total%20Space",
62
61
  "name" : "Total Space",
63
- "identityHash" : "4753b6bbe4fad4dfd57fae8fc2d35f91af13e53",
62
+ "identityHash" : "48119f116f7a3d5286f36d47f32e252c5efbc2",
63
+ "contentHash" : "9bfbd69306bacce80d9b125e1829f8062c921f6",
64
+ "syncHash" : "7d4182db7552bf38fbc535d12ff83eb9e311c3",
64
65
  "unit" : "BYTES",
65
- "type" : "GAUGE",
66
+ "metricDataType" : "gauge",
66
67
  "collectionInterval" : 300,
67
- "id" : "Total Space"
68
+ "type" : "GAUGE",
69
+ "id" : "Platform_File Store_Total Space"
68
70
  },
69
- "id" : "MI~R~[<%= feed_uuid %>/platform~/OPERATING_SYSTEM=<%= feed_uuid %>_OperatingSystem/FILE_STORE=~]~MT~Total Space"
71
+ "id" : "MI~R~[<%= feed_uuid %>/platform~/OPERATING_SYSTEM=<%= feed_uuid %>_OperatingSystem/FILE_STORE=/dev/mapper/fedora-root]~MT~Platform_File Store_Total Space"
70
72
  }, {
71
- "path" : "/t;hawkular/f;<%= feed_uuid %>/m;MI~R~%5B<%= feed_uuid %>%2Fplatform~%2FOPERATING_SYSTEM%3D<%= feed_uuid %>_OperatingSystem%2FFILE_STORE%3Dtmpfs%5D~MT~Total%20Space",
72
- "properties" : {
73
- "__identityHash" : "5cce8cfe50ab6842b983f03bfb98d7f652ec6ae8"
74
- },
73
+ "path" : "/t;hawkular/f;<%= feed_uuid %>/r;platform~%2FOPERATING_SYSTEM%3D<%= feed_uuid %>_OperatingSystem/r;platform~%2FOPERATING_SYSTEM%3D<%= feed_uuid %>_OperatingSystem%2FFILE_STORE%3D~/m;MI~R~%5B<%= feed_uuid %>%2Fplatform~%2FOPERATING_SYSTEM%3D<%= feed_uuid %>_OperatingSystem%2FFILE_STORE%3D~%5D~MT~Platform_File%20Store_Total%20Space",
75
74
  "name" : "Total Space",
76
- "identityHash" : "5cce8cfe50ab6842b983f03bfb98d7f652ec6ae8",
75
+ "identityHash" : "e45fe32db1522e0554c7115e2b719df779c45",
76
+ "contentHash" : "3dd9504a5164fc43684998c14ee9f58f1f1680",
77
+ "syncHash" : "72f2983d2fdfcf739254653dfdea18403ad449c",
77
78
  "type" : {
78
- "path" : "/t;hawkular/f;<%= feed_uuid %>/mt;Total%20Space",
79
+ "path" : "/t;hawkular/f;<%= feed_uuid %>/mt;Platform_File%20Store_Total%20Space",
79
80
  "name" : "Total Space",
80
- "identityHash" : "4753b6bbe4fad4dfd57fae8fc2d35f91af13e53",
81
+ "identityHash" : "48119f116f7a3d5286f36d47f32e252c5efbc2",
82
+ "contentHash" : "9bfbd69306bacce80d9b125e1829f8062c921f6",
83
+ "syncHash" : "7d4182db7552bf38fbc535d12ff83eb9e311c3",
81
84
  "unit" : "BYTES",
82
- "type" : "GAUGE",
85
+ "metricDataType" : "gauge",
83
86
  "collectionInterval" : 300,
84
- "id" : "Total Space"
87
+ "type" : "GAUGE",
88
+ "id" : "Platform_File Store_Total Space"
85
89
  },
86
- "id" : "MI~R~[<%= feed_uuid %>/platform~/OPERATING_SYSTEM=<%= feed_uuid %>_OperatingSystem/FILE_STORE=tmpfs]~MT~Total Space"
90
+ "id" : "MI~R~[<%= feed_uuid %>/platform~/OPERATING_SYSTEM=<%= feed_uuid %>_OperatingSystem/FILE_STORE=~]~MT~Platform_File Store_Total Space"
87
91
  } ]
88
92
  http_version:
89
- recorded_at: Wed, 10 Aug 2016 22:35:37 GMT
93
+ recorded_at: Tue, 27 Sep 2016 22:09:35 GMT
90
94
  recorded_with: VCR 3.0.3
@@ -35,7 +35,7 @@ http_interactions:
35
35
  Pragma:
36
36
  - no-cache
37
37
  Date:
38
- - Mon, 15 Aug 2016 15:20:38 GMT
38
+ - Thu, 13 Oct 2016 03:10:06 GMT
39
39
  Connection:
40
40
  - keep-alive
41
41
  Content-Type:
@@ -45,7 +45,7 @@ http_interactions:
45
45
  body:
46
46
  encoding: UTF-8
47
47
  string: '{"id":"MI~R~[8b*}{''\\14#?/5-7%92e[-c9_.r1//;/74eddf/L=c~~]~MT~ * /
48
- Met@ics~Aggre&? ated s Active\" Ses;ns","tags":{"name1":"value1","name2":"value2","name3":"value3","tag":"value"},"dataRetention":90,"type":"gauge","tenantId":"<%= vcr_test_tenant %>","minTimestamp":1471274438628,"maxTimestamp":1471274438628}'
48
+ Met@ics~Aggre&? ated s Active\" Ses;ns","tags":{"name1":"value1","name2":"value2","name3":"value3","tag":"value"},"dataRetention":90,"type":"gauge","tenantId":"<%= vcr_test_tenant %>","minTimestamp":1476328206273,"maxTimestamp":1476328206273}'
49
49
  http_version:
50
- recorded_at: Mon, 15 Aug 2016 15:20:38 GMT
50
+ recorded_at: Thu, 13 Oct 2016 03:10:06 GMT
51
51
  recorded_with: VCR 3.0.3
@@ -35,7 +35,7 @@ http_interactions:
35
35
  Pragma:
36
36
  - no-cache
37
37
  Date:
38
- - Mon, 15 Aug 2016 15:20:38 GMT
38
+ - Thu, 13 Oct 2016 03:10:06 GMT
39
39
  Connection:
40
40
  - keep-alive
41
41
  Content-Type:
@@ -45,9 +45,9 @@ http_interactions:
45
45
  body:
46
46
  encoding: UTF-8
47
47
  string: '{"id":"MI~R~[8b*}{''\\14#?/5-7%92e[-c9_.r1//;/74eddf/L=c~~]~MT~ * /
48
- Met@ics~Aggre&? ated s Active\" Ses;ns","tags":{"name1":"value1","name2":"value2","name3":"value3","tag":"value"},"dataRetention":90,"type":"gauge","tenantId":"<%= vcr_test_tenant %>","minTimestamp":1471274438628,"maxTimestamp":1471274438628}'
48
+ Met@ics~Aggre&? ated s Active\" Ses;ns","tags":{"name1":"value1","name2":"value2","name3":"value3","tag":"value"},"dataRetention":90,"type":"gauge","tenantId":"<%= vcr_test_tenant %>","minTimestamp":1476328206273,"maxTimestamp":1476328206273}'
49
49
  http_version:
50
- recorded_at: Mon, 15 Aug 2016 15:20:38 GMT
50
+ recorded_at: Thu, 13 Oct 2016 03:10:06 GMT
51
51
  - request:
52
52
  method: get
53
53
  uri: http://jdoe:password@localhost:8080/hawkular/metrics/counters/AA~R~%5B8b*%7D%7B'%5C14%23%3F%2F5-7%2592%5Bd-c9_.r1%2F%2F%2F7;:4eddf%2FL=c~~%5D~MT~%20%20%25-Met@ics~Aggre&%3Fated%20%22%20Sess%7Bons/rate
@@ -83,10 +83,10 @@ http_interactions:
83
83
  Pragma:
84
84
  - no-cache
85
85
  Date:
86
- - Mon, 15 Aug 2016 15:20:38 GMT
86
+ - Thu, 13 Oct 2016 03:10:06 GMT
87
87
  body:
88
88
  encoding: UTF-8
89
89
  string: ''
90
90
  http_version:
91
- recorded_at: Mon, 15 Aug 2016 15:20:38 GMT
91
+ recorded_at: Thu, 13 Oct 2016 03:10:06 GMT
92
92
  recorded_with: VCR 3.0.3
@@ -40,7 +40,7 @@ http_interactions:
40
40
  Location:
41
41
  - http://localhost:8080/hawkular/metrics/availability/AA~R~%5B8b*%7D%7B'%5C14%23%3F%2F5-7%2592%5Bd-c9_.r1%2F%2F%2F7;:4eddf%2FL=c~~%5D~MT~%20A%20%20*%20%20%25-Met@ics~Aggre&%3Fated%20%22%20Sess%7Bons
42
42
  Date:
43
- - Mon, 15 Aug 2016 15:20:38 GMT
43
+ - Thu, 13 Oct 2016 03:10:06 GMT
44
44
  Connection:
45
45
  - keep-alive
46
46
  Content-Length:
@@ -49,7 +49,7 @@ http_interactions:
49
49
  encoding: UTF-8
50
50
  string: ''
51
51
  http_version:
52
- recorded_at: Mon, 15 Aug 2016 15:20:38 GMT
52
+ recorded_at: Thu, 13 Oct 2016 03:10:06 GMT
53
53
  - request:
54
54
  method: get
55
55
  uri: http://jdoe:password@localhost:8080/hawkular/metrics/availability/AA~R~%5B8b*%7D%7B'%5C14%23%3F%2F5-7%2592%5Bd-c9_.r1%2F%2F%2F7;:4eddf%2FL=c~~%5D~MT~%20A%20%20*%20%20%25-Met@ics~Aggre&%3Fated%20%22%20Sess%7Bons
@@ -85,7 +85,7 @@ http_interactions:
85
85
  Pragma:
86
86
  - no-cache
87
87
  Date:
88
- - Mon, 15 Aug 2016 15:20:38 GMT
88
+ - Thu, 13 Oct 2016 03:10:06 GMT
89
89
  Connection:
90
90
  - keep-alive
91
91
  Content-Type:
@@ -97,5 +97,5 @@ http_interactions:
97
97
  string: '{"id":"AA~R~[8b*}{''\\14#?/5-7%92[d-c9_.r1///7;:4eddf/L=c~~]~MT~ A * %-Met@ics~Aggre&?ated
98
98
  \" Sess{ons","tags":{"tag":"value"},"dataRetention":90,"type":"availability","tenantId":"<%= vcr_test_tenant %>"}'
99
99
  http_version:
100
- recorded_at: Mon, 15 Aug 2016 15:20:38 GMT
100
+ recorded_at: Thu, 13 Oct 2016 03:10:06 GMT
101
101
  recorded_with: VCR 3.0.3
@@ -40,7 +40,7 @@ http_interactions:
40
40
  Location:
41
41
  - http://localhost:8080/hawkular/metrics/counters/AA~R~%5B8b*%7D%7B'%5C14%23%3F%2F5-7%2592%5Bd-c9_.r1%2F%2F%2F7;:4eddf%2FL=c~~%5D~MT~%20%20%25-Met@ics~Aggre&%3Fated%20%22%20Sess%7Bons
42
42
  Date:
43
- - Mon, 15 Aug 2016 15:20:38 GMT
43
+ - Thu, 13 Oct 2016 03:10:06 GMT
44
44
  Connection:
45
45
  - keep-alive
46
46
  Content-Length:
@@ -49,7 +49,7 @@ http_interactions:
49
49
  encoding: UTF-8
50
50
  string: ''
51
51
  http_version:
52
- recorded_at: Mon, 15 Aug 2016 15:20:38 GMT
52
+ recorded_at: Thu, 13 Oct 2016 03:10:06 GMT
53
53
  - request:
54
54
  method: get
55
55
  uri: http://jdoe:password@localhost:8080/hawkular/metrics/counters/AA~R~%5B8b*%7D%7B'%5C14%23%3F%2F5-7%2592%5Bd-c9_.r1%2F%2F%2F7;:4eddf%2FL=c~~%5D~MT~%20%20%25-Met@ics~Aggre&%3Fated%20%22%20Sess%7Bons
@@ -85,7 +85,7 @@ http_interactions:
85
85
  Pragma:
86
86
  - no-cache
87
87
  Date:
88
- - Mon, 15 Aug 2016 15:20:38 GMT
88
+ - Thu, 13 Oct 2016 03:10:06 GMT
89
89
  Connection:
90
90
  - keep-alive
91
91
  Content-Type:
@@ -97,5 +97,5 @@ http_interactions:
97
97
  string: '{"id":"AA~R~[8b*}{''\\14#?/5-7%92[d-c9_.r1///7;:4eddf/L=c~~]~MT~ %-Met@ics~Aggre&?ated
98
98
  \" Sess{ons","tags":{"tag":"value"},"dataRetention":90,"type":"counter","tenantId":"<%= vcr_test_tenant %>"}'
99
99
  http_version:
100
- recorded_at: Mon, 15 Aug 2016 15:20:38 GMT
100
+ recorded_at: Thu, 13 Oct 2016 03:10:06 GMT
101
101
  recorded_with: VCR 3.0.3
@@ -40,7 +40,7 @@ http_interactions:
40
40
  Location:
41
41
  - http://localhost:8080/hawkular/metrics/gauges/MI~R~%5B8b*%7D%7B'%5C14%23%3F%2F5-7%2592e%5B-c9_.r1%2F%2F;%2F74eddf%2FL=c~~%5D~MT~%20%20%20%20*%20%20%2F%20Met@ics~Aggre&%3F%20ated%20s%20%20Active%22%20Ses;ns
42
42
  Date:
43
- - Mon, 15 Aug 2016 15:20:38 GMT
43
+ - Thu, 13 Oct 2016 03:10:06 GMT
44
44
  Connection:
45
45
  - keep-alive
46
46
  Content-Length:
@@ -49,7 +49,7 @@ http_interactions:
49
49
  encoding: UTF-8
50
50
  string: ''
51
51
  http_version:
52
- recorded_at: Mon, 15 Aug 2016 15:20:38 GMT
52
+ recorded_at: Thu, 13 Oct 2016 03:10:06 GMT
53
53
  - request:
54
54
  method: get
55
55
  uri: http://jdoe:password@localhost:8080/hawkular/metrics/gauges/MI~R~%5B8b*%7D%7B'%5C14%23%3F%2F5-7%2592e%5B-c9_.r1%2F%2F;%2F74eddf%2FL=c~~%5D~MT~%20%20%20%20*%20%20%2F%20Met@ics~Aggre&%3F%20ated%20s%20%20Active%22%20Ses;ns
@@ -85,7 +85,7 @@ http_interactions:
85
85
  Pragma:
86
86
  - no-cache
87
87
  Date:
88
- - Mon, 15 Aug 2016 15:20:38 GMT
88
+ - Thu, 13 Oct 2016 03:10:06 GMT
89
89
  Connection:
90
90
  - keep-alive
91
91
  Content-Type:
@@ -97,5 +97,5 @@ http_interactions:
97
97
  string: '{"id":"MI~R~[8b*}{''\\14#?/5-7%92e[-c9_.r1//;/74eddf/L=c~~]~MT~ * /
98
98
  Met@ics~Aggre&? ated s Active\" Ses;ns","tags":{"tag":"value"},"dataRetention":90,"type":"gauge","tenantId":"<%= vcr_test_tenant %>"}'
99
99
  http_version:
100
- recorded_at: Mon, 15 Aug 2016 15:20:38 GMT
100
+ recorded_at: Thu, 13 Oct 2016 03:10:06 GMT
101
101
  recorded_with: VCR 3.0.3
@@ -2,10 +2,10 @@
2
2
  http_interactions:
3
3
  - request:
4
4
  method: post
5
- uri: http://jdoe:password@localhost:8080/hawkular/metrics/gauges/MI~R~%5B8b*%7D%7B'%5C14%23%3F%2F5-7%2592e%5B-c9_.r1%2F%2F;%2F74eddf%2FL=c~~%5D~MT~%20%20%20%20*%20%20%2F%20Met@ics~Aggre&%3F%20ated%20s%20%20Active%22%20Ses;ns/data
5
+ uri: http://jdoe:password@localhost:8080/hawkular/metrics/gauges/MI~R~%5B8b*%7D%7B'%5C14%23%3F%2F5-7%2592e%5B-c9_.r1%2F%2F;%2F74eddf%2FL=c~~%5D~MT~%20%20%20%20*%20%20%2F%20Met@ics~Aggre&%3F%20ated%20s%20%20Active%22%20Ses;ns/raw
6
6
  body:
7
7
  encoding: UTF-8
8
- string: '[{"value":0.1,"tags":{"tagName":"myMin"},"timestamp":1471274438628},{"value":99.9,"tags":{"tagName":"myMax"},"timestamp":1471274438628}]'
8
+ string: '[{"value":0.1,"tags":{"tagName":"myMin"},"timestamp":1476328206273},{"value":99.9,"tags":{"tagName":"myMax"},"timestamp":1476328206273}]'
9
9
  headers:
10
10
  Accept:
11
11
  - application/json
@@ -41,10 +41,10 @@ http_interactions:
41
41
  Content-Length:
42
42
  - '0'
43
43
  Date:
44
- - Mon, 15 Aug 2016 15:20:38 GMT
44
+ - Thu, 13 Oct 2016 03:10:06 GMT
45
45
  body:
46
46
  encoding: UTF-8
47
47
  string: ''
48
48
  http_version:
49
- recorded_at: Mon, 15 Aug 2016 15:20:38 GMT
49
+ recorded_at: Thu, 13 Oct 2016 03:10:06 GMT
50
50
  recorded_with: VCR 3.0.3
@@ -35,7 +35,7 @@ http_interactions:
35
35
  Pragma:
36
36
  - no-cache
37
37
  Date:
38
- - Mon, 15 Aug 2016 15:20:38 GMT
38
+ - Thu, 13 Oct 2016 03:10:06 GMT
39
39
  Connection:
40
40
  - keep-alive
41
41
  Content-Type:
@@ -47,7 +47,7 @@ http_interactions:
47
47
  string: '{"id":"AA~R~[8b*}{''\\14#?/5-7%92[d-c9_.r1///7;:4eddf/L=c~~]~MT~ A * %-Met@ics~Aggre&?ated
48
48
  \" Sess{ons","tags":{"tag":"value"},"dataRetention":90,"type":"availability","tenantId":"<%= vcr_test_tenant %>"}'
49
49
  http_version:
50
- recorded_at: Mon, 15 Aug 2016 15:20:38 GMT
50
+ recorded_at: Thu, 13 Oct 2016 03:10:06 GMT
51
51
  - request:
52
52
  method: put
53
53
  uri: http://jdoe:password@localhost:8080/hawkular/metrics/availability/AA~R~%5B8b*%7D%7B'%5C14%23%3F%2F5-7%2592%5Bd-c9_.r1%2F%2F%2F7;:4eddf%2FL=c~~%5D~MT~%20A%20%20*%20%20%25-Met@ics~Aggre&%3Fated%20%22%20Sess%7Bons/tags
@@ -89,12 +89,12 @@ http_interactions:
89
89
  Content-Length:
90
90
  - '0'
91
91
  Date:
92
- - Mon, 15 Aug 2016 15:20:38 GMT
92
+ - Thu, 13 Oct 2016 03:10:06 GMT
93
93
  body:
94
94
  encoding: UTF-8
95
95
  string: ''
96
96
  http_version:
97
- recorded_at: Mon, 15 Aug 2016 15:20:38 GMT
97
+ recorded_at: Thu, 13 Oct 2016 03:10:06 GMT
98
98
  - request:
99
99
  method: get
100
100
  uri: http://jdoe:password@localhost:8080/hawkular/metrics/availability/AA~R~%5B8b*%7D%7B'%5C14%23%3F%2F5-7%2592%5Bd-c9_.r1%2F%2F%2F7;:4eddf%2FL=c~~%5D~MT~%20A%20%20*%20%20%25-Met@ics~Aggre&%3Fated%20%22%20Sess%7Bons
@@ -130,7 +130,7 @@ http_interactions:
130
130
  Pragma:
131
131
  - no-cache
132
132
  Date:
133
- - Mon, 15 Aug 2016 15:20:38 GMT
133
+ - Thu, 13 Oct 2016 03:10:06 GMT
134
134
  Connection:
135
135
  - keep-alive
136
136
  Content-Type:
@@ -142,5 +142,5 @@ http_interactions:
142
142
  string: '{"id":"AA~R~[8b*}{''\\14#?/5-7%92[d-c9_.r1///7;:4eddf/L=c~~]~MT~ A * %-Met@ics~Aggre&?ated
143
143
  \" Sess{ons","tags":{"name1":"value1","name2":"value2","name3":"value3","tag":"value"},"dataRetention":90,"type":"availability","tenantId":"<%= vcr_test_tenant %>"}'
144
144
  http_version:
145
- recorded_at: Mon, 15 Aug 2016 15:20:38 GMT
145
+ recorded_at: Thu, 13 Oct 2016 03:10:06 GMT
146
146
  recorded_with: VCR 3.0.3
@@ -35,7 +35,7 @@ http_interactions:
35
35
  Pragma:
36
36
  - no-cache
37
37
  Date:
38
- - Mon, 15 Aug 2016 15:20:38 GMT
38
+ - Thu, 13 Oct 2016 03:10:06 GMT
39
39
  Connection:
40
40
  - keep-alive
41
41
  Content-Type:
@@ -45,9 +45,9 @@ http_interactions:
45
45
  body:
46
46
  encoding: UTF-8
47
47
  string: '{"id":"MI~R~[8b*}{''\\14#?/5-7%92e[-c9_.r1//;/74eddf/L=c~~]~MT~ * /
48
- Met@ics~Aggre&? ated s Active\" Ses;ns","tags":{"tag":"value"},"dataRetention":90,"type":"gauge","tenantId":"<%= vcr_test_tenant %>","minTimestamp":1471274438628,"maxTimestamp":1471274438628}'
48
+ Met@ics~Aggre&? ated s Active\" Ses;ns","tags":{"tag":"value"},"dataRetention":90,"type":"gauge","tenantId":"<%= vcr_test_tenant %>","minTimestamp":1476328206273,"maxTimestamp":1476328206273}'
49
49
  http_version:
50
- recorded_at: Mon, 15 Aug 2016 15:20:38 GMT
50
+ recorded_at: Thu, 13 Oct 2016 03:10:06 GMT
51
51
  - request:
52
52
  method: put
53
53
  uri: http://jdoe:password@localhost:8080/hawkular/metrics/gauges/MI~R~%5B8b*%7D%7B'%5C14%23%3F%2F5-7%2592e%5B-c9_.r1%2F%2F;%2F74eddf%2FL=c~~%5D~MT~%20%20%20%20*%20%20%2F%20Met@ics~Aggre&%3F%20ated%20s%20%20Active%22%20Ses;ns/tags
@@ -89,12 +89,12 @@ http_interactions:
89
89
  Content-Length:
90
90
  - '0'
91
91
  Date:
92
- - Mon, 15 Aug 2016 15:20:38 GMT
92
+ - Thu, 13 Oct 2016 03:10:06 GMT
93
93
  body:
94
94
  encoding: UTF-8
95
95
  string: ''
96
96
  http_version:
97
- recorded_at: Mon, 15 Aug 2016 15:20:38 GMT
97
+ recorded_at: Thu, 13 Oct 2016 03:10:06 GMT
98
98
  - request:
99
99
  method: get
100
100
  uri: http://jdoe:password@localhost:8080/hawkular/metrics/gauges/MI~R~%5B8b*%7D%7B'%5C14%23%3F%2F5-7%2592e%5B-c9_.r1%2F%2F;%2F74eddf%2FL=c~~%5D~MT~%20%20%20%20*%20%20%2F%20Met@ics~Aggre&%3F%20ated%20s%20%20Active%22%20Ses;ns
@@ -130,7 +130,7 @@ http_interactions:
130
130
  Pragma:
131
131
  - no-cache
132
132
  Date:
133
- - Mon, 15 Aug 2016 15:20:38 GMT
133
+ - Thu, 13 Oct 2016 03:10:06 GMT
134
134
  Connection:
135
135
  - keep-alive
136
136
  Content-Type:
@@ -140,7 +140,7 @@ http_interactions:
140
140
  body:
141
141
  encoding: UTF-8
142
142
  string: '{"id":"MI~R~[8b*}{''\\14#?/5-7%92e[-c9_.r1//;/74eddf/L=c~~]~MT~ * /
143
- Met@ics~Aggre&? ated s Active\" Ses;ns","tags":{"name1":"value1","name2":"value2","name3":"value3","tag":"value"},"dataRetention":90,"type":"gauge","tenantId":"<%= vcr_test_tenant %>","minTimestamp":1471274438628,"maxTimestamp":1471274438628}'
143
+ Met@ics~Aggre&? ated s Active\" Ses;ns","tags":{"name1":"value1","name2":"value2","name3":"value3","tag":"value"},"dataRetention":90,"type":"gauge","tenantId":"<%= vcr_test_tenant %>","minTimestamp":1476328206273,"maxTimestamp":1476328206273}'
144
144
  http_version:
145
- recorded_at: Mon, 15 Aug 2016 15:20:38 GMT
145
+ recorded_at: Thu, 13 Oct 2016 03:10:06 GMT
146
146
  recorded_with: VCR 3.0.3
@@ -0,0 +1,44 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: http://jdoe:password@localhost:8080/hawkular/metrics/status
6
+ body:
7
+ encoding: US-ASCII
8
+ string: ''
9
+ headers:
10
+ Accept:
11
+ - application/json
12
+ Accept-Encoding:
13
+ - identity
14
+ User-Agent:
15
+ - hawkular-client-ruby
16
+ Hawkular-Tenant:
17
+ - <%= tenant %>
18
+ Content-Type:
19
+ - application/json
20
+ Host:
21
+ - localhost:8080
22
+ response:
23
+ status:
24
+ code: 200
25
+ message: OK
26
+ headers:
27
+ Connection:
28
+ - keep-alive
29
+ X-Powered-By:
30
+ - Undertow/1
31
+ Server:
32
+ - WildFly/10
33
+ Content-Type:
34
+ - application/json
35
+ Content-Length:
36
+ - '133'
37
+ Date:
38
+ - Thu, 13 Oct 2016 03:10:06 GMT
39
+ body:
40
+ encoding: UTF-8
41
+ string: '{"MetricsService":"STARTED","Implementation-Version":"0.20.1.Final","Built-From-Git-SHA1":"f23946235446d3425db31d262b47b4f950ddabb3"}'
42
+ http_version:
43
+ recorded_at: Thu, 13 Oct 2016 03:10:06 GMT
44
+ recorded_with: VCR 3.0.3
@@ -2,10 +2,10 @@
2
2
  http_interactions:
3
3
  - request:
4
4
  method: post
5
- uri: http://jdoe:password@localhost:8080/hawkular/metrics/counters
5
+ uri: http://jdoe:password@localhost:8080/hawkular/metrics/gauges
6
6
  body:
7
7
  encoding: UTF-8
8
- string: '{"id":"<%= id %>"}'
8
+ string: '{"id":"metric_1","dataRetention":90,"tags":{"tag1":"value1","tag2":"value2","tag3":"value3"}}'
9
9
  headers:
10
10
  Accept:
11
11
  - application/json
@@ -14,11 +14,11 @@ http_interactions:
14
14
  User-Agent:
15
15
  - hawkular-client-ruby
16
16
  Hawkular-Tenant:
17
- - <%= vcr_test_tenant %>
17
+ - all_tags_tenant
18
18
  Content-Type:
19
19
  - application/json
20
20
  Content-Length:
21
- - '45'
21
+ - '93'
22
22
  Host:
23
23
  - localhost:8080
24
24
  response:
@@ -37,9 +37,9 @@ http_interactions:
37
37
  Pragma:
38
38
  - no-cache
39
39
  Location:
40
- - http://localhost:8080/hawkular/metrics/counters/<%= id %>
40
+ - http://localhost:8080/hawkular/metrics/gauges/metric_1
41
41
  Date:
42
- - Mon, 15 Aug 2016 15:20:38 GMT
42
+ - Fri, 14 Oct 2016 21:11:20 GMT
43
43
  Connection:
44
44
  - keep-alive
45
45
  Content-Length:
@@ -48,13 +48,13 @@ http_interactions:
48
48
  encoding: UTF-8
49
49
  string: ''
50
50
  http_version:
51
- recorded_at: Mon, 15 Aug 2016 15:20:38 GMT
51
+ recorded_at: Fri, 14 Oct 2016 21:11:20 GMT
52
52
  - request:
53
- method: post
54
- uri: http://jdoe:password@localhost:8080/hawkular/metrics/counters/<%= id %>/raw
53
+ method: get
54
+ uri: http://jdoe:password@localhost:8080/hawkular/metrics/gauges/metric_1
55
55
  body:
56
- encoding: UTF-8
57
- string: '[{"value":1,"timestamp":<%= minus30 %>},{"value":2,"timestamp":<%= minus20 %>},{"value":3,"timestamp":<%= minus10 %>}]'
56
+ encoding: US-ASCII
57
+ string: ''
58
58
  headers:
59
59
  Accept:
60
60
  - application/json
@@ -63,11 +63,9 @@ http_interactions:
63
63
  User-Agent:
64
64
  - hawkular-client-ruby
65
65
  Hawkular-Tenant:
66
- - <%= vcr_test_tenant %>
66
+ - all_tags_tenant
67
67
  Content-Type:
68
68
  - application/json
69
- Content-Length:
70
- - '115'
71
69
  Host:
72
70
  - localhost:8080
73
71
  response:
@@ -77,8 +75,55 @@ http_interactions:
77
75
  headers:
78
76
  Expires:
79
77
  - '0'
78
+ Cache-Control:
79
+ - no-cache, no-store, must-revalidate
80
+ X-Powered-By:
81
+ - Undertow/1
82
+ Server:
83
+ - WildFly/10
84
+ Pragma:
85
+ - no-cache
86
+ Date:
87
+ - Fri, 14 Oct 2016 21:11:20 GMT
80
88
  Connection:
81
89
  - keep-alive
90
+ Content-Type:
91
+ - application/json
92
+ Content-Length:
93
+ - '137'
94
+ body:
95
+ encoding: UTF-8
96
+ string: '{"id":"metric_1","tags":{"tag1":"value1","tag2":"value2","tag3":"value3"},"dataRetention":90,"type":"gauge","tenantId":"all_tags_tenant"}'
97
+ http_version:
98
+ recorded_at: Fri, 14 Oct 2016 21:11:20 GMT
99
+ - request:
100
+ method: post
101
+ uri: http://jdoe:password@localhost:8080/hawkular/metrics/availability
102
+ body:
103
+ encoding: UTF-8
104
+ string: '{"id":"metric_2","dataRetention":90,"tags":{"tag1":"value1","tag4":"value4","tag5":"value5"}}'
105
+ headers:
106
+ Accept:
107
+ - application/json
108
+ Accept-Encoding:
109
+ - identity
110
+ User-Agent:
111
+ - hawkular-client-ruby
112
+ Hawkular-Tenant:
113
+ - all_tags_tenant
114
+ Content-Type:
115
+ - application/json
116
+ Content-Length:
117
+ - '93'
118
+ Host:
119
+ - localhost:8080
120
+ response:
121
+ status:
122
+ code: 201
123
+ message: Created
124
+ headers:
125
+ Expires:
126
+ - '0'
82
127
  Cache-Control:
83
128
  - no-cache, no-store, must-revalidate
84
129
  X-Powered-By:
@@ -87,18 +132,22 @@ http_interactions:
87
132
  - WildFly/10
88
133
  Pragma:
89
134
  - no-cache
135
+ Location:
136
+ - http://localhost:8080/hawkular/metrics/availability/metric_2
137
+ Date:
138
+ - Fri, 14 Oct 2016 21:11:20 GMT
139
+ Connection:
140
+ - keep-alive
90
141
  Content-Length:
91
142
  - '0'
92
- Date:
93
- - Mon, 15 Aug 2016 15:20:38 GMT
94
143
  body:
95
144
  encoding: UTF-8
96
145
  string: ''
97
146
  http_version:
98
- recorded_at: Mon, 15 Aug 2016 15:20:38 GMT
147
+ recorded_at: Fri, 14 Oct 2016 21:11:20 GMT
99
148
  - request:
100
149
  method: get
101
- uri: http://jdoe:password@localhost:8080/hawkular/metrics/counters/<%= id %>/raw/
150
+ uri: http://jdoe:password@localhost:8080/hawkular/metrics/availability/metric_2
102
151
  body:
103
152
  encoding: US-ASCII
104
153
  string: ''
@@ -110,7 +159,7 @@ http_interactions:
110
159
  User-Agent:
111
160
  - hawkular-client-ruby
112
161
  Hawkular-Tenant:
113
- - <%= vcr_test_tenant %>
162
+ - all_tags_tenant
114
163
  Content-Type:
115
164
  - application/json
116
165
  Host:
@@ -131,24 +180,24 @@ http_interactions:
131
180
  Pragma:
132
181
  - no-cache
133
182
  Date:
134
- - Mon, 15 Aug 2016 15:20:38 GMT
183
+ - Fri, 14 Oct 2016 21:11:20 GMT
135
184
  Connection:
136
185
  - keep-alive
137
186
  Content-Type:
138
187
  - application/json
139
188
  Content-Length:
140
- - '115'
189
+ - '144'
141
190
  body:
142
191
  encoding: UTF-8
143
- string: '[{"timestamp":<%= minus10 %>,"value":3},{"timestamp":<%= minus20 %>,"value":2},{"timestamp":<%= minus30 %>,"value":1}]'
192
+ string: '{"id":"metric_2","tags":{"tag1":"value1","tag4":"value4","tag5":"value5"},"dataRetention":90,"type":"availability","tenantId":"all_tags_tenant"}'
144
193
  http_version:
145
- recorded_at: Mon, 15 Aug 2016 15:20:38 GMT
194
+ recorded_at: Fri, 14 Oct 2016 21:11:20 GMT
146
195
  - request:
147
196
  method: post
148
- uri: http://jdoe:password@localhost:8080/hawkular/metrics/counters/<%= id %>/raw
197
+ uri: http://jdoe:password@localhost:8080/hawkular/metrics/counters
149
198
  body:
150
199
  encoding: UTF-8
151
- string: '[{"value":4,"timestamp":1471274438208}]'
200
+ string: '{"id":"metric_2","dataRetention":90,"tags":{"tag1":"value1","tag4":"value4","tag5":"value5.1"}}'
152
201
  headers:
153
202
  Accept:
154
203
  - application/json
@@ -157,22 +206,20 @@ http_interactions:
157
206
  User-Agent:
158
207
  - hawkular-client-ruby
159
208
  Hawkular-Tenant:
160
- - <%= vcr_test_tenant %>
209
+ - all_tags_tenant
161
210
  Content-Type:
162
211
  - application/json
163
212
  Content-Length:
164
- - '39'
213
+ - '95'
165
214
  Host:
166
215
  - localhost:8080
167
216
  response:
168
217
  status:
169
- code: 200
170
- message: OK
218
+ code: 201
219
+ message: Created
171
220
  headers:
172
221
  Expires:
173
222
  - '0'
174
- Connection:
175
- - keep-alive
176
223
  Cache-Control:
177
224
  - no-cache, no-store, must-revalidate
178
225
  X-Powered-By:
@@ -181,18 +228,22 @@ http_interactions:
181
228
  - WildFly/10
182
229
  Pragma:
183
230
  - no-cache
231
+ Location:
232
+ - http://localhost:8080/hawkular/metrics/counters/metric_2
233
+ Date:
234
+ - Fri, 14 Oct 2016 21:11:20 GMT
235
+ Connection:
236
+ - keep-alive
184
237
  Content-Length:
185
238
  - '0'
186
- Date:
187
- - Mon, 15 Aug 2016 15:20:38 GMT
188
239
  body:
189
240
  encoding: UTF-8
190
241
  string: ''
191
242
  http_version:
192
- recorded_at: Mon, 15 Aug 2016 15:20:38 GMT
243
+ recorded_at: Fri, 14 Oct 2016 21:11:20 GMT
193
244
  - request:
194
245
  method: get
195
- uri: http://jdoe:password@localhost:8080/hawkular/metrics/counters/<%= id %>/raw/
246
+ uri: http://jdoe:password@localhost:8080/hawkular/metrics/counters/metric_2
196
247
  body:
197
248
  encoding: US-ASCII
198
249
  string: ''
@@ -204,7 +255,7 @@ http_interactions:
204
255
  User-Agent:
205
256
  - hawkular-client-ruby
206
257
  Hawkular-Tenant:
207
- - <%= vcr_test_tenant %>
258
+ - all_tags_tenant
208
259
  Content-Type:
209
260
  - application/json
210
261
  Host:
@@ -225,21 +276,70 @@ http_interactions:
225
276
  Pragma:
226
277
  - no-cache
227
278
  Date:
228
- - Mon, 15 Aug 2016 15:20:38 GMT
279
+ - Fri, 14 Oct 2016 21:11:20 GMT
229
280
  Connection:
230
281
  - keep-alive
231
282
  Content-Type:
232
283
  - application/json
233
284
  Content-Length:
234
- - '153'
285
+ - '141'
235
286
  body:
236
287
  encoding: UTF-8
237
- string: '[{"timestamp":1471274438208,"value":4},{"timestamp":<%= minus10 %>,"value":3},{"timestamp":<%= minus20 %>,"value":2},{"timestamp":<%= minus30 %>,"value":1}]'
288
+ string: '{"id":"metric_2","tags":{"tag1":"value1","tag4":"value4","tag5":"value5.1"},"dataRetention":90,"type":"counter","tenantId":"all_tags_tenant"}'
238
289
  http_version:
239
- recorded_at: Mon, 15 Aug 2016 15:20:38 GMT
290
+ recorded_at: Fri, 14 Oct 2016 21:11:20 GMT
291
+ - request:
292
+ method: post
293
+ uri: http://jdoe:password@localhost:8080/hawkular/metrics/counters
294
+ body:
295
+ encoding: UTF-8
296
+ string: '{"id":"metric_3","dataRetention":90,"tags":{}}'
297
+ headers:
298
+ Accept:
299
+ - application/json
300
+ Accept-Encoding:
301
+ - identity
302
+ User-Agent:
303
+ - hawkular-client-ruby
304
+ Hawkular-Tenant:
305
+ - all_tags_tenant
306
+ Content-Type:
307
+ - application/json
308
+ Content-Length:
309
+ - '46'
310
+ Host:
311
+ - localhost:8080
312
+ response:
313
+ status:
314
+ code: 201
315
+ message: Created
316
+ headers:
317
+ Expires:
318
+ - '0'
319
+ Cache-Control:
320
+ - no-cache, no-store, must-revalidate
321
+ X-Powered-By:
322
+ - Undertow/1
323
+ Server:
324
+ - WildFly/10
325
+ Pragma:
326
+ - no-cache
327
+ Location:
328
+ - http://localhost:8080/hawkular/metrics/counters/metric_3
329
+ Date:
330
+ - Fri, 14 Oct 2016 21:11:20 GMT
331
+ Connection:
332
+ - keep-alive
333
+ Content-Length:
334
+ - '0'
335
+ body:
336
+ encoding: UTF-8
337
+ string: ''
338
+ http_version:
339
+ recorded_at: Fri, 14 Oct 2016 21:11:20 GMT
240
340
  - request:
241
341
  method: get
242
- uri: http://jdoe:password@localhost:8080/hawkular/metrics/counters/<%= id %>/raw/?limit=1&order=DESC
342
+ uri: http://jdoe:password@localhost:8080/hawkular/metrics/counters/metric_3
243
343
  body:
244
344
  encoding: US-ASCII
245
345
  string: ''
@@ -251,7 +351,7 @@ http_interactions:
251
351
  User-Agent:
252
352
  - hawkular-client-ruby
253
353
  Hawkular-Tenant:
254
- - <%= vcr_test_tenant %>
354
+ - all_tags_tenant
255
355
  Content-Type:
256
356
  - application/json
257
357
  Host:
@@ -272,21 +372,21 @@ http_interactions:
272
372
  Pragma:
273
373
  - no-cache
274
374
  Date:
275
- - Mon, 15 Aug 2016 15:20:38 GMT
375
+ - Fri, 14 Oct 2016 21:11:20 GMT
276
376
  Connection:
277
377
  - keep-alive
278
378
  Content-Type:
279
379
  - application/json
280
380
  Content-Length:
281
- - '39'
381
+ - '82'
282
382
  body:
283
383
  encoding: UTF-8
284
- string: '[{"timestamp":1471274438208,"value":4}]'
384
+ string: '{"id":"metric_3","dataRetention":90,"type":"counter","tenantId":"all_tags_tenant"}'
285
385
  http_version:
286
- recorded_at: Mon, 15 Aug 2016 15:20:38 GMT
386
+ recorded_at: Fri, 14 Oct 2016 21:11:20 GMT
287
387
  - request:
288
388
  method: get
289
- uri: http://jdoe:password@localhost:8080/hawkular/metrics/counters/<%= id %>/raw/?end=<%= minus4h %>&start=<%= minus8h %>
389
+ uri: http://jdoe:password@localhost:8080/hawkular/metrics/metrics/
290
390
  body:
291
391
  encoding: US-ASCII
292
392
  string: ''
@@ -298,15 +398,15 @@ http_interactions:
298
398
  User-Agent:
299
399
  - hawkular-client-ruby
300
400
  Hawkular-Tenant:
301
- - <%= vcr_test_tenant %>
401
+ - all_tags_tenant
302
402
  Content-Type:
303
403
  - application/json
304
404
  Host:
305
405
  - localhost:8080
306
406
  response:
307
407
  status:
308
- code: 204
309
- message: No Content
408
+ code: 200
409
+ message: OK
310
410
  headers:
311
411
  Expires:
312
412
  - '0'
@@ -319,10 +419,16 @@ http_interactions:
319
419
  Pragma:
320
420
  - no-cache
321
421
  Date:
322
- - Mon, 15 Aug 2016 15:20:38 GMT
422
+ - Fri, 14 Oct 2016 21:11:20 GMT
423
+ Connection:
424
+ - keep-alive
425
+ Content-Type:
426
+ - application/json
427
+ Content-Length:
428
+ - '509'
323
429
  body:
324
430
  encoding: UTF-8
325
- string: ''
431
+ string: '[{"id":"metric_2","tags":{"tag1":"value1","tag4":"value4","tag5":"value5"},"dataRetention":90,"type":"availability","tenantId":"all_tags_tenant"},{"id":"metric_1","tags":{"tag1":"value1","tag2":"value2","tag3":"value3"},"dataRetention":90,"type":"gauge","tenantId":"all_tags_tenant"},{"id":"metric_3","dataRetention":90,"type":"counter","tenantId":"all_tags_tenant"},{"id":"metric_2","tags":{"tag1":"value1","tag4":"value4","tag5":"value5.1"},"dataRetention":90,"type":"counter","tenantId":"all_tags_tenant"}]'
326
432
  http_version:
327
- recorded_at: Mon, 15 Aug 2016 15:20:38 GMT
433
+ recorded_at: Fri, 14 Oct 2016 21:11:20 GMT
328
434
  recorded_with: VCR 3.0.3