hawkular-client 2.7.0 → 2.8.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +19 -2
- data/.travis/wait_for_services.rb +23 -0
- data/CHANGES.rdoc +11 -0
- data/docker-compose.yml +15 -0
- data/lib/hawkular/alerts/alerts_api.rb +24 -0
- data/lib/hawkular/base_client.rb +7 -0
- data/lib/hawkular/inventory/entities.rb +3 -0
- data/lib/hawkular/metrics/metric_api.rb +38 -3
- data/lib/hawkular/metrics/metrics_client.rb +3 -0
- data/lib/hawkular/metrics/tenant_api.rb +2 -2
- data/lib/hawkular/version.rb +1 -1
- data/spec/integration/alert-resources/alerts-test-data.json +40 -0
- data/spec/integration/alert-resources/events-test-data.json +78 -0
- data/spec/integration/alert-resources/triggers-test-data.json +66 -0
- data/spec/integration/alerts_spec.rb +192 -83
- data/spec/integration/hello-world-definitions.json +1 -2
- data/spec/integration/inventory_spec.rb +18 -5
- data/spec/integration/metric_spec.rb +201 -40
- data/spec/integration/operations_spec.rb +45 -1
- data/spec/spec_helper.rb +25 -6
- data/spec/vcr_cassettes/Alert/Alerts/Templates/Should_acknowledge_an_alert.yml +205 -0
- data/spec/vcr_cassettes/Alert/Alerts/Templates/Should_fetch_single_alert.yml +108 -0
- data/spec/vcr_cassettes/Alert/Alerts/Templates/Should_list_alerts.yml +59 -0
- data/spec/vcr_cassettes/Alert/Alerts/Templates/Should_list_alerts_for_trigger.yml +58 -0
- data/spec/vcr_cassettes/Alert/Alerts/{Should_list_alerts_for_unknown_trigger.yml → Templates/Should_list_alerts_for_unknown_trigger.yml} +13 -9
- data/spec/vcr_cassettes/Alert/Alerts/Templates/Should_list_open_alerts.yml +59 -0
- data/spec/vcr_cassettes/Alert/Alerts/Templates/Should_resolve_an_alert.yml +207 -0
- data/spec/vcr_cassettes/Alert/Alerts/Templates/setup.yml +255 -0
- data/spec/vcr_cassettes/Alert/Alerts/Templates/setup_cleanup.yml +302 -0
- data/spec/vcr_cassettes/Alert/EndToEnd/Templates/Should_create_and_fire_a_trigger.yml +527 -0
- 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
- 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
- data/spec/vcr_cassettes/Alert/Events/Templates/Should_list_events.yml +91 -0
- data/spec/vcr_cassettes/Alert/Events/Templates/Should_list_events_using_criteria.yml +60 -0
- data/spec/vcr_cassettes/Alert/Events/{Should_not_list_events_using_criteria.yml → Templates/Should_not_list_events_using_criteria.yml} +14 -13
- data/spec/vcr_cassettes/Alert/Events/Templates/setup.yml +615 -0
- data/spec/vcr_cassettes/Alert/Events/Templates/setup_cleanup.yml +567 -0
- data/spec/vcr_cassettes/Alert/Groups/{Should_operate_a_complex_group_trigger.yml → Templates/Should_operate_a_complex_group_trigger.yml} +508 -352
- data/spec/vcr_cassettes/{Alerts → Alert/Templates}/Should_return_the_version.yml +10 -8
- data/spec/vcr_cassettes/Alert/Triggers/Templates/Should_List_Triggers.yml +55 -0
- data/spec/vcr_cassettes/Alert/Triggers/Templates/Should_List_Triggers_for_ID.yml +56 -0
- data/spec/vcr_cassettes/Alert/Triggers/Templates/Should_List_Triggers_for_Tag.yml +56 -0
- data/spec/vcr_cassettes/Alert/Triggers/Templates/Should_List_Triggers_for_Tags.yml +56 -0
- data/spec/vcr_cassettes/Alert/Triggers/Templates/Should_bulk_load_triggers.yml +243 -0
- 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
- 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
- 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
- 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
- data/spec/vcr_cassettes/Alert/Triggers/Templates/Should_get_a_single_metric_Trigger.yml +50 -0
- data/spec/vcr_cassettes/Alert/Triggers/{Should_get_the_action_definitions.yml → Templates/Should_get_the_action_definitions.yml} +46 -73
- 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
- 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
- data/spec/vcr_cassettes/Alert/Triggers/Templates/setup.yml +52 -0
- 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
- data/spec/vcr_cassettes/Inventory/NonSecure/inventory_0_17/Templates/Should_list_metrics_of_given_metric_type.yml +29 -25
- data/spec/vcr_cassettes/Metrics/NonSecure/ID_with_special_characters/Templates/Get_metric_definition_by_id.yml +3 -3
- data/spec/vcr_cassettes/Metrics/NonSecure/ID_with_special_characters/Templates/Retrieve_metric_rate_points.yml +5 -5
- data/spec/vcr_cassettes/Metrics/NonSecure/ID_with_special_characters/Templates/Should_create_Availability_definition.yml +4 -4
- data/spec/vcr_cassettes/Metrics/NonSecure/ID_with_special_characters/Templates/Should_create_Counter_definition.yml +4 -4
- data/spec/vcr_cassettes/Metrics/NonSecure/ID_with_special_characters/Templates/Should_create_gauge_definition.yml +4 -4
- data/spec/vcr_cassettes/Metrics/NonSecure/ID_with_special_characters/Templates/Should_push_metric_data_to_existing_gauge.yml +4 -4
- data/spec/vcr_cassettes/Metrics/NonSecure/ID_with_special_characters/Templates/Should_update_tags_for_Availability_definition.yml +6 -6
- data/spec/vcr_cassettes/Metrics/NonSecure/ID_with_special_characters/Templates/Should_update_tags_for_gauge_definition.yml +8 -8
- data/spec/vcr_cassettes/Metrics/NonSecure/ID_with_special_characters/Templates/setup_client.yml +44 -0
- 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
- data/spec/vcr_cassettes/Metrics/NonSecure/metrics_services/Templates/Availability_metrics/Should_group_contiguous_values.yml +47 -6
- data/spec/vcr_cassettes/Metrics/NonSecure/metrics_services/Templates/Availability_metrics/Should_push_metric_data_to_non-existing_Availability.yml +12 -12
- data/spec/vcr_cassettes/Metrics/NonSecure/metrics_services/Templates/Availability_metrics/setup_client.yml +44 -0
- data/spec/vcr_cassettes/Metrics/NonSecure/metrics_services/Templates/Counter_metrics/Should_get_metrics_as_bucketed_results.yml +17 -17
- data/spec/vcr_cassettes/Metrics/NonSecure/metrics_services/Templates/Counter_metrics/Should_get_metrics_with_limit_and_order.yml +23 -23
- data/spec/vcr_cassettes/Metrics/NonSecure/metrics_services/Templates/Counter_metrics/Should_push_metric_data_to_existing_counter.yml +19 -19
- data/spec/vcr_cassettes/Metrics/NonSecure/metrics_services/Templates/Counter_metrics/Should_push_metric_data_to_non-existing_counter.yml +12 -12
- data/spec/vcr_cassettes/Metrics/NonSecure/metrics_services/Templates/Counter_metrics/setup_client.yml +44 -0
- data/spec/vcr_cassettes/Metrics/NonSecure/metrics_services/Templates/Gauge_metrics/Should_push_metric_data_to_existing_gauge.yml +19 -19
- data/spec/vcr_cassettes/Metrics/NonSecure/metrics_services/Templates/Gauge_metrics/Should_push_metric_data_to_non-existing_gauge.yml +12 -12
- data/spec/vcr_cassettes/Metrics/NonSecure/metrics_services/Templates/Gauge_metrics/Should_return_periods.yml +5 -5
- data/spec/vcr_cassettes/Metrics/NonSecure/metrics_services/Templates/Gauge_metrics/Should_return_platform_memory.yml +151 -5
- data/spec/vcr_cassettes/Metrics/NonSecure/metrics_services/Templates/Gauge_metrics/Should_return_platform_memory_def.yml +152 -6
- data/spec/vcr_cassettes/Metrics/NonSecure/metrics_services/Templates/Gauge_metrics/setup_client.yml +44 -0
- data/spec/vcr_cassettes/Metrics/NonSecure/metrics_services/Templates/Mixed_metrics/Should_fetch_rate_stats_for_mixed_metric.yml +33 -33
- data/spec/vcr_cassettes/Metrics/NonSecure/metrics_services/Templates/Mixed_metrics/Should_fetch_stats_for_mixed_metric.yml +31 -32
- data/spec/vcr_cassettes/Metrics/NonSecure/metrics_services/Templates/Mixed_metrics/Should_requests_raw_data_for_multiple_metrics.yml +108 -20
- data/spec/vcr_cassettes/Metrics/NonSecure/metrics_services/Templates/Mixed_metrics/Should_send_mixed_metric_request.yml +26 -26
- data/spec/vcr_cassettes/Metrics/NonSecure/metrics_services/Templates/Mixed_metrics/Should_send_mixed_metric_request_of_a_single_type.yml +27 -27
- 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
- data/spec/vcr_cassettes/Metrics/NonSecure/metrics_services/Templates/No_Tenant/Should_fail.yml +43 -4
- data/spec/vcr_cassettes/Metrics/NonSecure/metrics_services/Templates/Status/Should_return_the_version.yml +44 -3
- 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
- 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
- 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
- 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
- data/spec/vcr_cassettes/Metrics/NonSecure/metrics_services/Templates/String_metrics/setup_client.yml +44 -0
- data/spec/vcr_cassettes/Metrics/NonSecure/metrics_services/Templates/Tags_Metrics/setup_client.yml +44 -0
- data/spec/vcr_cassettes/Metrics/NonSecure/metrics_services/Templates/Tenants/Should_create_and_return_tenant.yml +10 -6
- 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
- data/spec/vcr_cassettes/Metrics/NonSecure/metrics_services/Templates/setup_client.yml +44 -0
- data/spec/vcr_cassettes/Metrics/Secure/metrics_services/Templates/Mixed_metrics/Should_requests_raw_data_for_multiple_metrics.yml +80 -33
- data/spec/vcr_cassettes/Operation/NonSecure/Operation/Add_XA_datasource_should_be_doable.json +23 -0
- data/spec/vcr_cassettes/Operation/NonSecure/Operation/{Add_datasource_should_be_doable.json → Add_non-XA_datasource_should_be_doable.json} +0 -0
- metadata +111 -156
- data/spec/vcr_cassettes/Alert/Alerts/Should_acknowledge_an_alert.yml +0 -183
- data/spec/vcr_cassettes/Alert/Alerts/Should_fetch_single_alert.yml +0 -69
- data/spec/vcr_cassettes/Alert/Alerts/Should_list_alerts.yml +0 -85
- data/spec/vcr_cassettes/Alert/Alerts/Should_list_alerts_for_trigger.yml +0 -142
- data/spec/vcr_cassettes/Alert/Alerts/Should_resolve_an_alert.yml +0 -181
- data/spec/vcr_cassettes/Alert/Alerts/Should_resolve_an_alert2.yml +0 -49
- data/spec/vcr_cassettes/Alert/EndToEnd/Should_create_and_fire_a_trigger.yml +0 -1187
- data/spec/vcr_cassettes/Alert/Events/Should_create_an_event.yml +0 -50
- data/spec/vcr_cassettes/Alert/Events/Should_list_events.yml +0 -101
- data/spec/vcr_cassettes/Alert/Events/Should_list_events_using_criteria.yml +0 -79
- data/spec/vcr_cassettes/Alert/Triggers/Should_List_Triggers.yml +0 -62
- data/spec/vcr_cassettes/Alert/Triggers/Should_List_Triggers_for_ID.yml +0 -55
- data/spec/vcr_cassettes/Alert/Triggers/Should_List_Triggers_for_Tag.yml +0 -68
- data/spec/vcr_cassettes/Alert/Triggers/Should_List_Triggers_for_Tags.yml +0 -68
- data/spec/vcr_cassettes/Alert/Triggers/Should_bulk_load_triggers.yml +0 -225
- data/spec/vcr_cassettes/Alert/Triggers/Should_create_an_action.yml +0 -134
- data/spec/vcr_cassettes/Alert/Triggers/Should_create_an_action_for_webhooks.yml +0 -220
- data/spec/vcr_cassettes/Alert/Triggers/Should_get_a_single_Trigger_with_conditions.yml +0 -138
- data/spec/vcr_cassettes/Alert/Triggers/Should_get_a_single_metric_Trigger.yml +0 -50
- data/spec/vcr_cassettes/Alert/Triggers/Should_not_create_an_action_for_unknown_properties.yml +0 -134
- data/spec/vcr_cassettes/Metrics/NonSecure/metrics_0_16_0/Templates/Availability_metrics/Should_create_and_return_Availability_using_Hash_parameter.yml +0 -99
- data/spec/vcr_cassettes/Metrics/NonSecure/metrics_0_16_0/Templates/Availability_metrics/Should_group_contiguous_values.yml +0 -97
- data/spec/vcr_cassettes/Metrics/NonSecure/metrics_0_16_0/Templates/Availability_metrics/Should_update_tags_for_Availability_definition.yml +0 -240
- data/spec/vcr_cassettes/Metrics/NonSecure/metrics_0_16_0/Templates/Counter_metrics/Should_create_and_return_counter_using_Hash_parameter.yml +0 -99
- data/spec/vcr_cassettes/Metrics/NonSecure/metrics_0_16_0/Templates/Counter_metrics/Should_create_counter_definition_using_MetricDefinition_parameter.yml +0 -99
- data/spec/vcr_cassettes/Metrics/NonSecure/metrics_0_16_0/Templates/Counter_metrics/Should_get_metrics_as_bucketed_results.yml +0 -240
- data/spec/vcr_cassettes/Metrics/NonSecure/metrics_0_16_0/Templates/Counter_metrics/Should_push_metric_data_to_existing_counter.yml +0 -281
- data/spec/vcr_cassettes/Metrics/NonSecure/metrics_0_16_0/Templates/Gauge_metrics/Should_update_tags_for_gauge_definition.yml +0 -240
- data/spec/vcr_cassettes/Metrics/NonSecure/metrics_0_16_0/Templates/Mixed_metrics/Should_requests_raw_data_for_multiple_metrics.yml +0 -326
- data/spec/vcr_cassettes/Metrics/NonSecure/metrics_0_16_0/Templates/Mixed_metrics/Should_send_mixed_metric_request.yml +0 -314
- data/spec/vcr_cassettes/Metrics/NonSecure/metrics_0_16_0/Templates/No_Tenant/Should_fail.yml +0 -50
- data/spec/vcr_cassettes/Metrics/NonSecure/metrics_0_16_0/Templates/Simple/Should_be_Cool.yml +0 -48
- data/spec/vcr_cassettes/Metrics/NonSecure/metrics_0_16_0/Templates/Tenants/Should_create_and_return_tenant.yml +0 -99
- data/spec/vcr_cassettes/Metrics/Secure/metrics_0_16_0/Templates/Availability_metrics/Should_create_Availability_definition_using_MetricDefinition_parameter.yml +0 -99
- data/spec/vcr_cassettes/Metrics/Secure/metrics_0_16_0/Templates/Availability_metrics/Should_create_and_return_Availability_using_Hash_parameter.yml +0 -99
- data/spec/vcr_cassettes/Metrics/Secure/metrics_0_16_0/Templates/Availability_metrics/Should_group_contiguous_values.yml +0 -97
- data/spec/vcr_cassettes/Metrics/Secure/metrics_0_16_0/Templates/Availability_metrics/Should_update_tags_for_Availability_definition.yml +0 -240
- data/spec/vcr_cassettes/Metrics/Secure/metrics_0_16_0/Templates/Counter_metrics/Should_create_and_return_counter_using_Hash_parameter.yml +0 -99
- data/spec/vcr_cassettes/Metrics/Secure/metrics_0_16_0/Templates/Counter_metrics/Should_create_counter_definition_using_MetricDefinition_parameter.yml +0 -99
- data/spec/vcr_cassettes/Metrics/Secure/metrics_0_16_0/Templates/Counter_metrics/Should_get_metrics_as_bucketed_results.yml +0 -240
- data/spec/vcr_cassettes/Metrics/Secure/metrics_0_16_0/Templates/Counter_metrics/Should_get_metrics_with_limit_and_order.yml +0 -328
- data/spec/vcr_cassettes/Metrics/Secure/metrics_0_16_0/Templates/Counter_metrics/Should_push_metric_data_to_existing_counter.yml +0 -281
- data/spec/vcr_cassettes/Metrics/Secure/metrics_0_16_0/Templates/Counter_metrics/Should_push_metric_data_to_non-existing_counter.yml +0 -144
- data/spec/vcr_cassettes/Metrics/Secure/metrics_0_16_0/Templates/Gauge_metrics/Should_create_gauge_definition_using_Hash.yml +0 -99
- data/spec/vcr_cassettes/Metrics/Secure/metrics_0_16_0/Templates/Gauge_metrics/Should_create_gauge_definition_using_MetricDefinition.yml +0 -99
- data/spec/vcr_cassettes/Metrics/Secure/metrics_0_16_0/Templates/Gauge_metrics/Should_push_metric_data_to_existing_gauge.yml +0 -281
- data/spec/vcr_cassettes/Metrics/Secure/metrics_0_16_0/Templates/Gauge_metrics/Should_push_metric_data_to_non-existing_gauge.yml +0 -144
- data/spec/vcr_cassettes/Metrics/Secure/metrics_0_16_0/Templates/Gauge_metrics/Should_return_periods.yml +0 -97
- data/spec/vcr_cassettes/Metrics/Secure/metrics_0_16_0/Templates/Gauge_metrics/Should_update_tags_for_gauge_definition.yml +0 -240
- data/spec/vcr_cassettes/Metrics/Secure/metrics_0_16_0/Templates/Mixed_metrics/Should_requests_raw_data_for_multiple_metrics.yml +0 -326
- data/spec/vcr_cassettes/Metrics/Secure/metrics_0_16_0/Templates/Mixed_metrics/Should_send_mixed_metric_request.yml +0 -314
- 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
- data/spec/vcr_cassettes/Metrics/Secure/metrics_0_16_0/Templates/No_Tenant/Should_fail.yml +0 -50
- data/spec/vcr_cassettes/Metrics/Secure/metrics_0_16_0/Templates/Simple/Should_be_Cool.yml +0 -48
- 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://jdoe:password@localhost:8080/hawkular/metrics/counters/<%= id %>/
|
5
|
+
uri: http://jdoe:password@localhost:8080/hawkular/metrics/counters/<%= id %>/raw/
|
6
6
|
body:
|
7
7
|
encoding: US-ASCII
|
8
8
|
string: ''
|
@@ -35,15 +35,15 @@ http_interactions:
|
|
35
35
|
Pragma:
|
36
36
|
- no-cache
|
37
37
|
Date:
|
38
|
-
-
|
38
|
+
- Thu, 13 Oct 2016 03:22:16 GMT
|
39
39
|
body:
|
40
40
|
encoding: UTF-8
|
41
41
|
string: ''
|
42
42
|
http_version:
|
43
|
-
recorded_at:
|
43
|
+
recorded_at: Thu, 13 Oct 2016 03:22:16 GMT
|
44
44
|
- request:
|
45
45
|
method: get
|
46
|
-
uri: http://jdoe:password@localhost:8080/hawkular/metrics/gauges/<%= id %>/
|
46
|
+
uri: http://jdoe:password@localhost:8080/hawkular/metrics/gauges/<%= id %>/raw/
|
47
47
|
body:
|
48
48
|
encoding: US-ASCII
|
49
49
|
string: ''
|
@@ -76,15 +76,15 @@ http_interactions:
|
|
76
76
|
Pragma:
|
77
77
|
- no-cache
|
78
78
|
Date:
|
79
|
-
-
|
79
|
+
- Thu, 13 Oct 2016 03:22:16 GMT
|
80
80
|
body:
|
81
81
|
encoding: UTF-8
|
82
82
|
string: ''
|
83
83
|
http_version:
|
84
|
-
recorded_at:
|
84
|
+
recorded_at: Thu, 13 Oct 2016 03:22:16 GMT
|
85
85
|
- request:
|
86
86
|
method: get
|
87
|
-
uri: http://jdoe:password@localhost:8080/hawkular/metrics/availability/<%= id %>/
|
87
|
+
uri: http://jdoe:password@localhost:8080/hawkular/metrics/availability/<%= id %>/raw/
|
88
88
|
body:
|
89
89
|
encoding: US-ASCII
|
90
90
|
string: ''
|
@@ -117,18 +117,18 @@ http_interactions:
|
|
117
117
|
Pragma:
|
118
118
|
- no-cache
|
119
119
|
Date:
|
120
|
-
-
|
120
|
+
- Thu, 13 Oct 2016 03:22:16 GMT
|
121
121
|
body:
|
122
122
|
encoding: UTF-8
|
123
123
|
string: ''
|
124
124
|
http_version:
|
125
|
-
recorded_at:
|
125
|
+
recorded_at: Thu, 13 Oct 2016 03:22:16 GMT
|
126
126
|
- request:
|
127
127
|
method: post
|
128
|
-
uri: http://jdoe:password@localhost:8080/hawkular/metrics/metrics/
|
128
|
+
uri: http://jdoe:password@localhost:8080/hawkular/metrics/metrics/raw
|
129
129
|
body:
|
130
130
|
encoding: UTF-8
|
131
|
-
string: '{"gauges":[{"id":"<%= id %>","data":[{"value":1.1,"timestamp":
|
131
|
+
string: '{"gauges":[{"id":"<%= id %>","data":[{"value":1.1,"timestamp":1476328936034}]}],"counters":[{"id":"<%= id %>","data":[{"value":1,"timestamp":1476328936034}]}],"availabilities":[{"id":"<%= id %>","data":[{"value":"down","timestamp":1476328936034}]}],"strings":[]}'
|
132
132
|
headers:
|
133
133
|
Accept:
|
134
134
|
- application/json
|
@@ -141,7 +141,7 @@ http_interactions:
|
|
141
141
|
Content-Type:
|
142
142
|
- application/json
|
143
143
|
Content-Length:
|
144
|
-
- '
|
144
|
+
- '343'
|
145
145
|
Host:
|
146
146
|
- localhost:8080
|
147
147
|
response:
|
@@ -164,15 +164,15 @@ http_interactions:
|
|
164
164
|
Content-Length:
|
165
165
|
- '0'
|
166
166
|
Date:
|
167
|
-
-
|
167
|
+
- Thu, 13 Oct 2016 03:22:16 GMT
|
168
168
|
body:
|
169
169
|
encoding: UTF-8
|
170
170
|
string: ''
|
171
171
|
http_version:
|
172
|
-
recorded_at:
|
172
|
+
recorded_at: Thu, 13 Oct 2016 03:22:16 GMT
|
173
173
|
- request:
|
174
174
|
method: get
|
175
|
-
uri: http://jdoe:password@localhost:8080/hawkular/metrics/counters/<%= id %>/
|
175
|
+
uri: http://jdoe:password@localhost:8080/hawkular/metrics/counters/<%= id %>/raw/
|
176
176
|
body:
|
177
177
|
encoding: US-ASCII
|
178
178
|
string: ''
|
@@ -205,7 +205,7 @@ http_interactions:
|
|
205
205
|
Pragma:
|
206
206
|
- no-cache
|
207
207
|
Date:
|
208
|
-
-
|
208
|
+
- Thu, 13 Oct 2016 03:22:16 GMT
|
209
209
|
Connection:
|
210
210
|
- keep-alive
|
211
211
|
Content-Type:
|
@@ -214,12 +214,12 @@ http_interactions:
|
|
214
214
|
- '39'
|
215
215
|
body:
|
216
216
|
encoding: UTF-8
|
217
|
-
string: '[{"timestamp":
|
217
|
+
string: '[{"timestamp":1476328936034,"value":1}]'
|
218
218
|
http_version:
|
219
|
-
recorded_at:
|
219
|
+
recorded_at: Thu, 13 Oct 2016 03:22:16 GMT
|
220
220
|
- request:
|
221
221
|
method: get
|
222
|
-
uri: http://jdoe:password@localhost:8080/hawkular/metrics/gauges/<%= id %>/
|
222
|
+
uri: http://jdoe:password@localhost:8080/hawkular/metrics/gauges/<%= id %>/raw/
|
223
223
|
body:
|
224
224
|
encoding: US-ASCII
|
225
225
|
string: ''
|
@@ -252,7 +252,7 @@ http_interactions:
|
|
252
252
|
Pragma:
|
253
253
|
- no-cache
|
254
254
|
Date:
|
255
|
-
-
|
255
|
+
- Thu, 13 Oct 2016 03:22:16 GMT
|
256
256
|
Connection:
|
257
257
|
- keep-alive
|
258
258
|
Content-Type:
|
@@ -261,12 +261,12 @@ http_interactions:
|
|
261
261
|
- '41'
|
262
262
|
body:
|
263
263
|
encoding: UTF-8
|
264
|
-
string: '[{"timestamp":
|
264
|
+
string: '[{"timestamp":1476328936034,"value":1.1}]'
|
265
265
|
http_version:
|
266
|
-
recorded_at:
|
266
|
+
recorded_at: Thu, 13 Oct 2016 03:22:16 GMT
|
267
267
|
- request:
|
268
268
|
method: get
|
269
|
-
uri: http://jdoe:password@localhost:8080/hawkular/metrics/availability/<%= id %>/
|
269
|
+
uri: http://jdoe:password@localhost:8080/hawkular/metrics/availability/<%= id %>/raw/
|
270
270
|
body:
|
271
271
|
encoding: US-ASCII
|
272
272
|
string: ''
|
@@ -299,7 +299,7 @@ http_interactions:
|
|
299
299
|
Pragma:
|
300
300
|
- no-cache
|
301
301
|
Date:
|
302
|
-
-
|
302
|
+
- Thu, 13 Oct 2016 03:22:16 GMT
|
303
303
|
Connection:
|
304
304
|
- keep-alive
|
305
305
|
Content-Type:
|
@@ -308,15 +308,15 @@ http_interactions:
|
|
308
308
|
- '44'
|
309
309
|
body:
|
310
310
|
encoding: UTF-8
|
311
|
-
string: '[{"timestamp":
|
311
|
+
string: '[{"timestamp":1476328936034,"value":"down"}]'
|
312
312
|
http_version:
|
313
|
-
recorded_at:
|
313
|
+
recorded_at: Thu, 13 Oct 2016 03:22:16 GMT
|
314
314
|
- request:
|
315
315
|
method: post
|
316
316
|
uri: http://jdoe:password@localhost:8080/hawkular/metrics/metrics/stats/query
|
317
317
|
body:
|
318
318
|
encoding: UTF-8
|
319
|
-
string: '{"metrics":{"gauge":["<%= id %>"],"counter":["<%= id %>"],"availability":["<%= id %>"]},"start":
|
319
|
+
string: '{"metrics":{"gauge":["<%= id %>"],"counter":["<%= id %>"],"availability":["<%= id %>"]},"start":1476328936034,"end":1476328936035,"bucketDuration":"1ms"}'
|
320
320
|
headers:
|
321
321
|
Accept:
|
322
322
|
- application/json
|
@@ -348,17 +348,16 @@ http_interactions:
|
|
348
348
|
Pragma:
|
349
349
|
- no-cache
|
350
350
|
Date:
|
351
|
-
-
|
351
|
+
- Thu, 13 Oct 2016 03:22:16 GMT
|
352
352
|
Connection:
|
353
353
|
- keep-alive
|
354
354
|
Content-Type:
|
355
355
|
- application/json
|
356
356
|
Content-Length:
|
357
|
-
- '
|
357
|
+
- '711'
|
358
358
|
body:
|
359
359
|
encoding: UTF-8
|
360
|
-
string: '{"gauge":{"<%= id %>":[{"start":
|
361
|
-
text=down}":1},"lastNotUptime":1472584238894,"uptimeRatio":0.0,"notUpCount":1,"downtimeDuration":1,"lastDowntime":1472584238894,"downtimeCount":1,"adminDuration":0,"downDuration":1,"unknownDuration":0,"upDuration":0,"notUpDuration":1,"empty":false}]}}'
|
360
|
+
string: '{"gauge":{"<%= id %>":[{"start":1476328936034,"end":1476328936035,"min":1.1,"avg":1.1,"median":1.1,"max":1.1,"sum":1.1,"samples":1,"empty":false}]},"counter":{"<%= id %>":[{"start":1476328936034,"end":1476328936035,"min":1.0,"avg":1.0,"median":1.0,"max":1.0,"sum":1.0,"samples":1,"empty":false}]},"availability":{"<%= id %>":[{"start":1476328936034,"end":1476328936035,"durationMap":{"down":1},"lastNotUptime":1476328936035,"uptimeRatio":0.0,"notUpCount":1,"downtimeDuration":1,"lastDowntime":1476328936035,"downtimeCount":1,"adminDuration":0,"notUpDuration":1,"downDuration":1,"upDuration":0,"unknownDuration":0,"empty":false}]}}'
|
362
361
|
http_version:
|
363
|
-
recorded_at:
|
362
|
+
recorded_at: Thu, 13 Oct 2016 03:22:16 GMT
|
364
363
|
recorded_with: VCR 3.0.3
|
@@ -1,5 +1,46 @@
|
|
1
1
|
---
|
2
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
|
+
- <%= vcr_test_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
|
+
- '136'
|
37
|
+
Date:
|
38
|
+
- Thu, 13 Oct 2016 12:21:05 GMT
|
39
|
+
body:
|
40
|
+
encoding: UTF-8
|
41
|
+
string: '{"MetricsService":"STARTED","Implementation-Version":"0.21.0-SNAPSHOT","Built-From-Git-SHA1":"76bbbc218644d08636888a40f7f1b62c83343443"}'
|
42
|
+
http_version:
|
43
|
+
recorded_at: Thu, 13 Oct 2016 12:21:05 GMT
|
3
44
|
- request:
|
4
45
|
method: post
|
5
46
|
uri: http://jdoe:password@localhost:8080/hawkular/metrics/counters/raw/query
|
@@ -37,12 +78,12 @@ http_interactions:
|
|
37
78
|
Pragma:
|
38
79
|
- no-cache
|
39
80
|
Date:
|
40
|
-
-
|
81
|
+
- Thu, 13 Oct 2016 12:21:05 GMT
|
41
82
|
body:
|
42
83
|
encoding: UTF-8
|
43
84
|
string: ''
|
44
85
|
http_version:
|
45
|
-
recorded_at:
|
86
|
+
recorded_at: Thu, 13 Oct 2016 12:21:05 GMT
|
46
87
|
- request:
|
47
88
|
method: post
|
48
89
|
uri: http://jdoe:password@localhost:8080/hawkular/metrics/gauges/raw/query
|
@@ -80,12 +121,12 @@ http_interactions:
|
|
80
121
|
Pragma:
|
81
122
|
- no-cache
|
82
123
|
Date:
|
83
|
-
-
|
124
|
+
- Thu, 13 Oct 2016 12:21:05 GMT
|
84
125
|
body:
|
85
126
|
encoding: UTF-8
|
86
127
|
string: ''
|
87
128
|
http_version:
|
88
|
-
recorded_at:
|
129
|
+
recorded_at: Thu, 13 Oct 2016 12:21:05 GMT
|
89
130
|
- request:
|
90
131
|
method: post
|
91
132
|
uri: http://jdoe:password@localhost:8080/hawkular/metrics/availability/raw/query
|
@@ -123,18 +164,18 @@ http_interactions:
|
|
123
164
|
Pragma:
|
124
165
|
- no-cache
|
125
166
|
Date:
|
126
|
-
-
|
167
|
+
- Thu, 13 Oct 2016 12:21:05 GMT
|
127
168
|
body:
|
128
169
|
encoding: UTF-8
|
129
170
|
string: ''
|
130
171
|
http_version:
|
131
|
-
recorded_at:
|
172
|
+
recorded_at: Thu, 13 Oct 2016 12:21:05 GMT
|
132
173
|
- request:
|
133
174
|
method: post
|
134
|
-
uri: http://jdoe:password@localhost:8080/hawkular/metrics/metrics/
|
175
|
+
uri: http://jdoe:password@localhost:8080/hawkular/metrics/metrics/raw
|
135
176
|
body:
|
136
177
|
encoding: UTF-8
|
137
|
-
string: '{"gauges":[{"id":"<%= id1 %>","data":[{"value":1.1,"timestamp":
|
178
|
+
string: '{"gauges":[{"id":"<%= id1 %>","data":[{"value":1.1,"timestamp":1476361265753}]},{"id":"<%= id2 %>","data":[{"value":2.2,"timestamp":1476361265753}]},{"id":"<%= id3 %>","data":[{"value":3.3,"timestamp":1476361265753}]}],"counters":[{"id":"<%= id1 %>","data":[{"value":1,"timestamp":1476361265753}]},{"id":"<%= id2 %>","data":[{"value":2,"timestamp":1476361265753}]},{"id":"<%= id3 %>","data":[{"value":3,"timestamp":1476361265753}]}],"availabilities":[{"id":"<%= id1 %>","data":[{"value":"up","timestamp":1476361265753}]},{"id":"<%= id2 %>","data":[{"value":"down","timestamp":1476361265753}]},{"id":"<%= id3 %>","data":[{"value":"up","timestamp":1476361265753}]},{"id":"<%= id4 %>","data":[{"value":"up","timestamp":10000},{"value":"down","timestamp":100000},{"value":"admin","timestamp":1000000}]}],"strings":[]}'
|
138
179
|
headers:
|
139
180
|
Accept:
|
140
181
|
- application/json
|
@@ -147,7 +188,7 @@ http_interactions:
|
|
147
188
|
Content-Type:
|
148
189
|
- application/json
|
149
190
|
Content-Length:
|
150
|
-
- '
|
191
|
+
- '1073'
|
151
192
|
Host:
|
152
193
|
- localhost:8080
|
153
194
|
response:
|
@@ -170,12 +211,12 @@ http_interactions:
|
|
170
211
|
Content-Length:
|
171
212
|
- '0'
|
172
213
|
Date:
|
173
|
-
-
|
214
|
+
- Thu, 13 Oct 2016 12:21:05 GMT
|
174
215
|
body:
|
175
216
|
encoding: UTF-8
|
176
217
|
string: ''
|
177
218
|
http_version:
|
178
|
-
recorded_at:
|
219
|
+
recorded_at: Thu, 13 Oct 2016 12:21:05 GMT
|
179
220
|
- request:
|
180
221
|
method: post
|
181
222
|
uri: http://jdoe:password@localhost:8080/hawkular/metrics/counters/raw/query
|
@@ -213,7 +254,7 @@ http_interactions:
|
|
213
254
|
Pragma:
|
214
255
|
- no-cache
|
215
256
|
Date:
|
216
|
-
-
|
257
|
+
- Thu, 13 Oct 2016 12:21:05 GMT
|
217
258
|
Connection:
|
218
259
|
- keep-alive
|
219
260
|
Content-Type:
|
@@ -222,9 +263,9 @@ http_interactions:
|
|
222
263
|
- '280'
|
223
264
|
body:
|
224
265
|
encoding: UTF-8
|
225
|
-
string: '[{"id":"<%= id1 %>","data":[{"timestamp":
|
266
|
+
string: '[{"id":"<%= id1 %>","data":[{"timestamp":1476361265753,"value":1}]},{"id":"<%= id2 %>","data":[{"timestamp":1476361265753,"value":2}]},{"id":"<%= id3 %>","data":[{"timestamp":1476361265753,"value":3}]}]'
|
226
267
|
http_version:
|
227
|
-
recorded_at:
|
268
|
+
recorded_at: Thu, 13 Oct 2016 12:21:05 GMT
|
228
269
|
- request:
|
229
270
|
method: post
|
230
271
|
uri: http://jdoe:password@localhost:8080/hawkular/metrics/gauges/raw/query
|
@@ -262,7 +303,7 @@ http_interactions:
|
|
262
303
|
Pragma:
|
263
304
|
- no-cache
|
264
305
|
Date:
|
265
|
-
-
|
306
|
+
- Thu, 13 Oct 2016 12:21:06 GMT
|
266
307
|
Connection:
|
267
308
|
- keep-alive
|
268
309
|
Content-Type:
|
@@ -271,9 +312,9 @@ http_interactions:
|
|
271
312
|
- '286'
|
272
313
|
body:
|
273
314
|
encoding: UTF-8
|
274
|
-
string: '[{"id":"<%= id1 %>","data":[{"timestamp":
|
315
|
+
string: '[{"id":"<%= id1 %>","data":[{"timestamp":1476361265753,"value":1.1}]},{"id":"<%= id2 %>","data":[{"timestamp":1476361265753,"value":2.2}]},{"id":"<%= id3 %>","data":[{"timestamp":1476361265753,"value":3.3}]}]'
|
275
316
|
http_version:
|
276
|
-
recorded_at:
|
317
|
+
recorded_at: Thu, 13 Oct 2016 12:21:06 GMT
|
277
318
|
- request:
|
278
319
|
method: post
|
279
320
|
uri: http://jdoe:password@localhost:8080/hawkular/metrics/availability/raw/query
|
@@ -311,7 +352,7 @@ http_interactions:
|
|
311
352
|
Pragma:
|
312
353
|
- no-cache
|
313
354
|
Date:
|
314
|
-
-
|
355
|
+
- Thu, 13 Oct 2016 12:21:06 GMT
|
315
356
|
Connection:
|
316
357
|
- keep-alive
|
317
358
|
Content-Type:
|
@@ -320,7 +361,54 @@ http_interactions:
|
|
320
361
|
- '291'
|
321
362
|
body:
|
322
363
|
encoding: UTF-8
|
323
|
-
string: '[{"id":"<%= id1 %>","data":[{"timestamp":
|
364
|
+
string: '[{"id":"<%= id1 %>","data":[{"timestamp":1476361265753,"value":"up"}]},{"id":"<%= id2 %>","data":[{"timestamp":1476361265753,"value":"down"}]},{"id":"<%= id3 %>","data":[{"timestamp":1476361265753,"value":"up"}]}]'
|
365
|
+
http_version:
|
366
|
+
recorded_at: Thu, 13 Oct 2016 12:21:06 GMT
|
367
|
+
- request:
|
368
|
+
method: get
|
369
|
+
uri: http://jdoe:password@localhost:8080/hawkular/metrics/availability/<%= id4 %>/raw/?distinct=true&end=2000000&order=ASC&start=100
|
370
|
+
body:
|
371
|
+
encoding: US-ASCII
|
372
|
+
string: ''
|
373
|
+
headers:
|
374
|
+
Accept:
|
375
|
+
- application/json
|
376
|
+
Accept-Encoding:
|
377
|
+
- identity
|
378
|
+
User-Agent:
|
379
|
+
- hawkular-client-ruby
|
380
|
+
Hawkular-Tenant:
|
381
|
+
- <%= vcr_test_tenant %>
|
382
|
+
Content-Type:
|
383
|
+
- application/json
|
384
|
+
Host:
|
385
|
+
- localhost:8080
|
386
|
+
response:
|
387
|
+
status:
|
388
|
+
code: 200
|
389
|
+
message: OK
|
390
|
+
headers:
|
391
|
+
Expires:
|
392
|
+
- '0'
|
393
|
+
Cache-Control:
|
394
|
+
- no-cache, no-store, must-revalidate
|
395
|
+
X-Powered-By:
|
396
|
+
- Undertow/1
|
397
|
+
Server:
|
398
|
+
- WildFly/10
|
399
|
+
Pragma:
|
400
|
+
- no-cache
|
401
|
+
Date:
|
402
|
+
- Thu, 13 Oct 2016 12:21:06 GMT
|
403
|
+
Connection:
|
404
|
+
- keep-alive
|
405
|
+
Content-Type:
|
406
|
+
- application/json
|
407
|
+
Content-Length:
|
408
|
+
- '108'
|
409
|
+
body:
|
410
|
+
encoding: UTF-8
|
411
|
+
string: '[{"timestamp":10000,"value":"up"},{"timestamp":100000,"value":"down"},{"timestamp":1000000,"value":"admin"}]'
|
324
412
|
http_version:
|
325
|
-
recorded_at:
|
413
|
+
recorded_at: Thu, 13 Oct 2016 12:21:06 GMT
|
326
414
|
recorded_with: VCR 3.0.3
|
@@ -2,7 +2,7 @@
|
|
2
2
|
http_interactions:
|
3
3
|
- request:
|
4
4
|
method: get
|
5
|
-
uri: http://jdoe:password@localhost:8080/hawkular/metrics/counters/<%= id %>/
|
5
|
+
uri: http://jdoe:password@localhost:8080/hawkular/metrics/counters/<%= id %>/raw/
|
6
6
|
body:
|
7
7
|
encoding: US-ASCII
|
8
8
|
string: ''
|
@@ -35,15 +35,15 @@ http_interactions:
|
|
35
35
|
Pragma:
|
36
36
|
- no-cache
|
37
37
|
Date:
|
38
|
-
-
|
38
|
+
- Thu, 13 Oct 2016 03:21:52 GMT
|
39
39
|
body:
|
40
40
|
encoding: UTF-8
|
41
41
|
string: ''
|
42
42
|
http_version:
|
43
|
-
recorded_at:
|
43
|
+
recorded_at: Thu, 13 Oct 2016 03:21:52 GMT
|
44
44
|
- request:
|
45
45
|
method: get
|
46
|
-
uri: http://jdoe:password@localhost:8080/hawkular/metrics/gauges/<%= id %>/
|
46
|
+
uri: http://jdoe:password@localhost:8080/hawkular/metrics/gauges/<%= id %>/raw/
|
47
47
|
body:
|
48
48
|
encoding: US-ASCII
|
49
49
|
string: ''
|
@@ -76,15 +76,15 @@ http_interactions:
|
|
76
76
|
Pragma:
|
77
77
|
- no-cache
|
78
78
|
Date:
|
79
|
-
-
|
79
|
+
- Thu, 13 Oct 2016 03:21:52 GMT
|
80
80
|
body:
|
81
81
|
encoding: UTF-8
|
82
82
|
string: ''
|
83
83
|
http_version:
|
84
|
-
recorded_at:
|
84
|
+
recorded_at: Thu, 13 Oct 2016 03:21:52 GMT
|
85
85
|
- request:
|
86
86
|
method: get
|
87
|
-
uri: http://jdoe:password@localhost:8080/hawkular/metrics/availability/<%= id %>/
|
87
|
+
uri: http://jdoe:password@localhost:8080/hawkular/metrics/availability/<%= id %>/raw/
|
88
88
|
body:
|
89
89
|
encoding: US-ASCII
|
90
90
|
string: ''
|
@@ -117,18 +117,18 @@ http_interactions:
|
|
117
117
|
Pragma:
|
118
118
|
- no-cache
|
119
119
|
Date:
|
120
|
-
-
|
120
|
+
- Thu, 13 Oct 2016 03:21:52 GMT
|
121
121
|
body:
|
122
122
|
encoding: UTF-8
|
123
123
|
string: ''
|
124
124
|
http_version:
|
125
|
-
recorded_at:
|
125
|
+
recorded_at: Thu, 13 Oct 2016 03:21:52 GMT
|
126
126
|
- request:
|
127
127
|
method: post
|
128
|
-
uri: http://jdoe:password@localhost:8080/hawkular/metrics/metrics/
|
128
|
+
uri: http://jdoe:password@localhost:8080/hawkular/metrics/metrics/raw
|
129
129
|
body:
|
130
130
|
encoding: UTF-8
|
131
|
-
string: '{"gauges":[{"id":"<%= id %>","data":[{"value":1.1,"timestamp":
|
131
|
+
string: '{"gauges":[{"id":"<%= id %>","data":[{"value":1.1,"timestamp":1476328912275}]}],"counters":[{"id":"<%= id %>","data":[{"value":1,"timestamp":1476328912275}]}],"availabilities":[{"id":"<%= id %>","data":[{"value":"down","timestamp":1476328912275}]}],"strings":[]}'
|
132
132
|
headers:
|
133
133
|
Accept:
|
134
134
|
- application/json
|
@@ -141,7 +141,7 @@ http_interactions:
|
|
141
141
|
Content-Type:
|
142
142
|
- application/json
|
143
143
|
Content-Length:
|
144
|
-
- '
|
144
|
+
- '343'
|
145
145
|
Host:
|
146
146
|
- localhost:8080
|
147
147
|
response:
|
@@ -164,15 +164,15 @@ http_interactions:
|
|
164
164
|
Content-Length:
|
165
165
|
- '0'
|
166
166
|
Date:
|
167
|
-
-
|
167
|
+
- Thu, 13 Oct 2016 03:21:52 GMT
|
168
168
|
body:
|
169
169
|
encoding: UTF-8
|
170
170
|
string: ''
|
171
171
|
http_version:
|
172
|
-
recorded_at:
|
172
|
+
recorded_at: Thu, 13 Oct 2016 03:21:52 GMT
|
173
173
|
- request:
|
174
174
|
method: get
|
175
|
-
uri: http://jdoe:password@localhost:8080/hawkular/metrics/counters/<%= id %>/
|
175
|
+
uri: http://jdoe:password@localhost:8080/hawkular/metrics/counters/<%= id %>/raw/
|
176
176
|
body:
|
177
177
|
encoding: US-ASCII
|
178
178
|
string: ''
|
@@ -205,7 +205,7 @@ http_interactions:
|
|
205
205
|
Pragma:
|
206
206
|
- no-cache
|
207
207
|
Date:
|
208
|
-
-
|
208
|
+
- Thu, 13 Oct 2016 03:21:52 GMT
|
209
209
|
Connection:
|
210
210
|
- keep-alive
|
211
211
|
Content-Type:
|
@@ -214,12 +214,12 @@ http_interactions:
|
|
214
214
|
- '39'
|
215
215
|
body:
|
216
216
|
encoding: UTF-8
|
217
|
-
string: '[{"timestamp":
|
217
|
+
string: '[{"timestamp":1476328912275,"value":1}]'
|
218
218
|
http_version:
|
219
|
-
recorded_at:
|
219
|
+
recorded_at: Thu, 13 Oct 2016 03:21:52 GMT
|
220
220
|
- request:
|
221
221
|
method: get
|
222
|
-
uri: http://jdoe:password@localhost:8080/hawkular/metrics/gauges/<%= id %>/
|
222
|
+
uri: http://jdoe:password@localhost:8080/hawkular/metrics/gauges/<%= id %>/raw/
|
223
223
|
body:
|
224
224
|
encoding: US-ASCII
|
225
225
|
string: ''
|
@@ -252,7 +252,7 @@ http_interactions:
|
|
252
252
|
Pragma:
|
253
253
|
- no-cache
|
254
254
|
Date:
|
255
|
-
-
|
255
|
+
- Thu, 13 Oct 2016 03:21:52 GMT
|
256
256
|
Connection:
|
257
257
|
- keep-alive
|
258
258
|
Content-Type:
|
@@ -261,12 +261,12 @@ http_interactions:
|
|
261
261
|
- '41'
|
262
262
|
body:
|
263
263
|
encoding: UTF-8
|
264
|
-
string: '[{"timestamp":
|
264
|
+
string: '[{"timestamp":1476328912275,"value":1.1}]'
|
265
265
|
http_version:
|
266
|
-
recorded_at:
|
266
|
+
recorded_at: Thu, 13 Oct 2016 03:21:52 GMT
|
267
267
|
- request:
|
268
268
|
method: get
|
269
|
-
uri: http://jdoe:password@localhost:8080/hawkular/metrics/availability/<%= id %>/
|
269
|
+
uri: http://jdoe:password@localhost:8080/hawkular/metrics/availability/<%= id %>/raw/
|
270
270
|
body:
|
271
271
|
encoding: US-ASCII
|
272
272
|
string: ''
|
@@ -299,7 +299,7 @@ http_interactions:
|
|
299
299
|
Pragma:
|
300
300
|
- no-cache
|
301
301
|
Date:
|
302
|
-
-
|
302
|
+
- Thu, 13 Oct 2016 03:21:52 GMT
|
303
303
|
Connection:
|
304
304
|
- keep-alive
|
305
305
|
Content-Type:
|
@@ -308,7 +308,7 @@ http_interactions:
|
|
308
308
|
- '44'
|
309
309
|
body:
|
310
310
|
encoding: UTF-8
|
311
|
-
string: '[{"timestamp":
|
311
|
+
string: '[{"timestamp":1476328912275,"value":"down"}]'
|
312
312
|
http_version:
|
313
|
-
recorded_at:
|
313
|
+
recorded_at: Thu, 13 Oct 2016 03:21:52 GMT
|
314
314
|
recorded_with: VCR 3.0.3
|