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
@@ -1,240 +0,0 @@
|
|
1
|
-
---
|
2
|
-
http_interactions:
|
3
|
-
- request:
|
4
|
-
method: post
|
5
|
-
uri: http://jdoe:password@localhost:8080/hawkular/metrics/availability
|
6
|
-
body:
|
7
|
-
encoding: UTF-8
|
8
|
-
string: '{"id":"<%= id %>","tags":{"myTag":"<%= id %>"}}'
|
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
|
-
Content-Length:
|
21
|
-
- '101'
|
22
|
-
Host:
|
23
|
-
- localhost:8080
|
24
|
-
response:
|
25
|
-
status:
|
26
|
-
code: 201
|
27
|
-
message: Created
|
28
|
-
headers:
|
29
|
-
Expires:
|
30
|
-
- '0'
|
31
|
-
Cache-Control:
|
32
|
-
- no-cache, no-store, must-revalidate
|
33
|
-
X-Powered-By:
|
34
|
-
- Undertow/1
|
35
|
-
Server:
|
36
|
-
- WildFly/10
|
37
|
-
Pragma:
|
38
|
-
- no-cache
|
39
|
-
Location:
|
40
|
-
- http://localhost:8080/hawkular/metrics/availability/<%= id %>
|
41
|
-
Date:
|
42
|
-
- Mon, 15 Aug 2016 15:20:38 GMT
|
43
|
-
Connection:
|
44
|
-
- keep-alive
|
45
|
-
Content-Length:
|
46
|
-
- '0'
|
47
|
-
body:
|
48
|
-
encoding: UTF-8
|
49
|
-
string: ''
|
50
|
-
http_version:
|
51
|
-
recorded_at: Mon, 15 Aug 2016 15:20:38 GMT
|
52
|
-
- request:
|
53
|
-
method: get
|
54
|
-
uri: http://jdoe:password@localhost:8080/hawkular/metrics/availability/<%= id %>
|
55
|
-
body:
|
56
|
-
encoding: US-ASCII
|
57
|
-
string: ''
|
58
|
-
headers:
|
59
|
-
Accept:
|
60
|
-
- application/json
|
61
|
-
Accept-Encoding:
|
62
|
-
- identity
|
63
|
-
User-Agent:
|
64
|
-
- hawkular-client-ruby
|
65
|
-
Hawkular-Tenant:
|
66
|
-
- <%= vcr_test_tenant %>
|
67
|
-
Content-Type:
|
68
|
-
- application/json
|
69
|
-
Host:
|
70
|
-
- localhost:8080
|
71
|
-
response:
|
72
|
-
status:
|
73
|
-
code: 200
|
74
|
-
message: OK
|
75
|
-
headers:
|
76
|
-
Expires:
|
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
|
-
- Mon, 15 Aug 2016 15:20:38 GMT
|
88
|
-
Connection:
|
89
|
-
- keep-alive
|
90
|
-
Content-Type:
|
91
|
-
- application/json
|
92
|
-
Content-Length:
|
93
|
-
- '226'
|
94
|
-
body:
|
95
|
-
encoding: UTF-8
|
96
|
-
string: '{"id":"<%= id %>","tags":{"myTag":"<%= id %>"},"dataRetention":7,"type":"availability","tenantId":"<%= vcr_test_tenant %>"}'
|
97
|
-
http_version:
|
98
|
-
recorded_at: Mon, 15 Aug 2016 15:20:38 GMT
|
99
|
-
- request:
|
100
|
-
method: put
|
101
|
-
uri: http://jdoe:password@localhost:8080/hawkular/metrics/availability/<%= id %>/tags
|
102
|
-
body:
|
103
|
-
encoding: UTF-8
|
104
|
-
string: '{"newTag":"newValue"}'
|
105
|
-
headers:
|
106
|
-
Accept:
|
107
|
-
- application/json
|
108
|
-
Accept-Encoding:
|
109
|
-
- identity
|
110
|
-
User-Agent:
|
111
|
-
- hawkular-client-ruby
|
112
|
-
Hawkular-Tenant:
|
113
|
-
- <%= vcr_test_tenant %>
|
114
|
-
Content-Type:
|
115
|
-
- application/json
|
116
|
-
Content-Length:
|
117
|
-
- '21'
|
118
|
-
Host:
|
119
|
-
- localhost:8080
|
120
|
-
response:
|
121
|
-
status:
|
122
|
-
code: 200
|
123
|
-
message: OK
|
124
|
-
headers:
|
125
|
-
Expires:
|
126
|
-
- '0'
|
127
|
-
Connection:
|
128
|
-
- keep-alive
|
129
|
-
Cache-Control:
|
130
|
-
- no-cache, no-store, must-revalidate
|
131
|
-
X-Powered-By:
|
132
|
-
- Undertow/1
|
133
|
-
Server:
|
134
|
-
- WildFly/10
|
135
|
-
Pragma:
|
136
|
-
- no-cache
|
137
|
-
Content-Length:
|
138
|
-
- '0'
|
139
|
-
Date:
|
140
|
-
- Mon, 15 Aug 2016 15:20:38 GMT
|
141
|
-
body:
|
142
|
-
encoding: UTF-8
|
143
|
-
string: ''
|
144
|
-
http_version:
|
145
|
-
recorded_at: Mon, 15 Aug 2016 15:20:38 GMT
|
146
|
-
- request:
|
147
|
-
method: get
|
148
|
-
uri: http://jdoe:password@localhost:8080/hawkular/metrics/availability/<%= id %>
|
149
|
-
body:
|
150
|
-
encoding: US-ASCII
|
151
|
-
string: ''
|
152
|
-
headers:
|
153
|
-
Accept:
|
154
|
-
- application/json
|
155
|
-
Accept-Encoding:
|
156
|
-
- identity
|
157
|
-
User-Agent:
|
158
|
-
- hawkular-client-ruby
|
159
|
-
Hawkular-Tenant:
|
160
|
-
- <%= vcr_test_tenant %>
|
161
|
-
Content-Type:
|
162
|
-
- application/json
|
163
|
-
Host:
|
164
|
-
- localhost:8080
|
165
|
-
response:
|
166
|
-
status:
|
167
|
-
code: 200
|
168
|
-
message: OK
|
169
|
-
headers:
|
170
|
-
Expires:
|
171
|
-
- '0'
|
172
|
-
Cache-Control:
|
173
|
-
- no-cache, no-store, must-revalidate
|
174
|
-
X-Powered-By:
|
175
|
-
- Undertow/1
|
176
|
-
Server:
|
177
|
-
- WildFly/10
|
178
|
-
Pragma:
|
179
|
-
- no-cache
|
180
|
-
Date:
|
181
|
-
- Mon, 15 Aug 2016 15:20:38 GMT
|
182
|
-
Connection:
|
183
|
-
- keep-alive
|
184
|
-
Content-Type:
|
185
|
-
- application/json
|
186
|
-
Content-Length:
|
187
|
-
- '246'
|
188
|
-
body:
|
189
|
-
encoding: UTF-8
|
190
|
-
string: '{"id":"<%= id %>","tags":{"myTag":"<%= id %>","newTag":"newValue"},"dataRetention":7,"type":"availability","tenantId":"<%= vcr_test_tenant %>"}'
|
191
|
-
http_version:
|
192
|
-
recorded_at: Mon, 15 Aug 2016 15:20:38 GMT
|
193
|
-
- request:
|
194
|
-
method: get
|
195
|
-
uri: http://jdoe:password@localhost:8080/hawkular/metrics/metrics/?tags=myTag:<%= id %>&type=availability
|
196
|
-
body:
|
197
|
-
encoding: US-ASCII
|
198
|
-
string: ''
|
199
|
-
headers:
|
200
|
-
Accept:
|
201
|
-
- application/json
|
202
|
-
Accept-Encoding:
|
203
|
-
- identity
|
204
|
-
User-Agent:
|
205
|
-
- hawkular-client-ruby
|
206
|
-
Hawkular-Tenant:
|
207
|
-
- <%= vcr_test_tenant %>
|
208
|
-
Content-Type:
|
209
|
-
- application/json
|
210
|
-
Host:
|
211
|
-
- localhost:8080
|
212
|
-
response:
|
213
|
-
status:
|
214
|
-
code: 200
|
215
|
-
message: OK
|
216
|
-
headers:
|
217
|
-
Expires:
|
218
|
-
- '0'
|
219
|
-
Cache-Control:
|
220
|
-
- no-cache, no-store, must-revalidate
|
221
|
-
X-Powered-By:
|
222
|
-
- Undertow/1
|
223
|
-
Server:
|
224
|
-
- WildFly/10
|
225
|
-
Pragma:
|
226
|
-
- no-cache
|
227
|
-
Date:
|
228
|
-
- Mon, 15 Aug 2016 15:20:38 GMT
|
229
|
-
Connection:
|
230
|
-
- keep-alive
|
231
|
-
Content-Type:
|
232
|
-
- application/json
|
233
|
-
Content-Length:
|
234
|
-
- '248'
|
235
|
-
body:
|
236
|
-
encoding: UTF-8
|
237
|
-
string: '[{"id":"<%= id %>","tags":{"myTag":"<%= id %>","newTag":"newValue"},"dataRetention":7,"type":"availability","tenantId":"<%= vcr_test_tenant %>"}]'
|
238
|
-
http_version:
|
239
|
-
recorded_at: Mon, 15 Aug 2016 15:20:38 GMT
|
240
|
-
recorded_with: VCR 3.0.3
|
@@ -1,99 +0,0 @@
|
|
1
|
-
---
|
2
|
-
http_interactions:
|
3
|
-
- request:
|
4
|
-
method: post
|
5
|
-
uri: http://jdoe:password@localhost:8080/hawkular/metrics/counters
|
6
|
-
body:
|
7
|
-
encoding: UTF-8
|
8
|
-
string: '{"id":"<%= id %>","dataRetention":123,"tags":{"some":"value"}}'
|
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
|
-
Content-Length:
|
21
|
-
- '89'
|
22
|
-
Host:
|
23
|
-
- localhost:8080
|
24
|
-
response:
|
25
|
-
status:
|
26
|
-
code: 201
|
27
|
-
message: Created
|
28
|
-
headers:
|
29
|
-
Expires:
|
30
|
-
- '0'
|
31
|
-
Cache-Control:
|
32
|
-
- no-cache, no-store, must-revalidate
|
33
|
-
X-Powered-By:
|
34
|
-
- Undertow/1
|
35
|
-
Server:
|
36
|
-
- WildFly/10
|
37
|
-
Pragma:
|
38
|
-
- no-cache
|
39
|
-
Location:
|
40
|
-
- http://localhost:8080/hawkular/metrics/counters/<%= id %>
|
41
|
-
Date:
|
42
|
-
- Mon, 15 Aug 2016 15:20:38 GMT
|
43
|
-
Connection:
|
44
|
-
- keep-alive
|
45
|
-
Content-Length:
|
46
|
-
- '0'
|
47
|
-
body:
|
48
|
-
encoding: UTF-8
|
49
|
-
string: ''
|
50
|
-
http_version:
|
51
|
-
recorded_at: Mon, 15 Aug 2016 15:20:38 GMT
|
52
|
-
- request:
|
53
|
-
method: get
|
54
|
-
uri: http://jdoe:password@localhost:8080/hawkular/metrics/counters/<%= id %>
|
55
|
-
body:
|
56
|
-
encoding: US-ASCII
|
57
|
-
string: ''
|
58
|
-
headers:
|
59
|
-
Accept:
|
60
|
-
- application/json
|
61
|
-
Accept-Encoding:
|
62
|
-
- identity
|
63
|
-
User-Agent:
|
64
|
-
- hawkular-client-ruby
|
65
|
-
Hawkular-Tenant:
|
66
|
-
- <%= vcr_test_tenant %>
|
67
|
-
Content-Type:
|
68
|
-
- application/json
|
69
|
-
Host:
|
70
|
-
- localhost:8080
|
71
|
-
response:
|
72
|
-
status:
|
73
|
-
code: 200
|
74
|
-
message: OK
|
75
|
-
headers:
|
76
|
-
Expires:
|
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
|
-
- Mon, 15 Aug 2016 15:20:38 GMT
|
88
|
-
Connection:
|
89
|
-
- keep-alive
|
90
|
-
Content-Type:
|
91
|
-
- application/json
|
92
|
-
Content-Length:
|
93
|
-
- '191'
|
94
|
-
body:
|
95
|
-
encoding: UTF-8
|
96
|
-
string: '{"id":"<%= id %>","tags":{"some":"value"},"dataRetention":123,"type":"counter","tenantId":"<%= vcr_test_tenant %>"}'
|
97
|
-
http_version:
|
98
|
-
recorded_at: Mon, 15 Aug 2016 15:20:38 GMT
|
99
|
-
recorded_with: VCR 3.0.3
|
@@ -1,99 +0,0 @@
|
|
1
|
-
---
|
2
|
-
http_interactions:
|
3
|
-
- request:
|
4
|
-
method: post
|
5
|
-
uri: http://jdoe:password@localhost:8080/hawkular/metrics/counters
|
6
|
-
body:
|
7
|
-
encoding: UTF-8
|
8
|
-
string: '{"id":"<%= id %>","dataRetention":90,"tags":{"tag":"value"}}'
|
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
|
-
Content-Length:
|
21
|
-
- '87'
|
22
|
-
Host:
|
23
|
-
- localhost:8080
|
24
|
-
response:
|
25
|
-
status:
|
26
|
-
code: 201
|
27
|
-
message: Created
|
28
|
-
headers:
|
29
|
-
Expires:
|
30
|
-
- '0'
|
31
|
-
Cache-Control:
|
32
|
-
- no-cache, no-store, must-revalidate
|
33
|
-
X-Powered-By:
|
34
|
-
- Undertow/1
|
35
|
-
Server:
|
36
|
-
- WildFly/10
|
37
|
-
Pragma:
|
38
|
-
- no-cache
|
39
|
-
Location:
|
40
|
-
- http://localhost:8080/hawkular/metrics/counters/<%= id %>
|
41
|
-
Date:
|
42
|
-
- Mon, 15 Aug 2016 15:20:38 GMT
|
43
|
-
Connection:
|
44
|
-
- keep-alive
|
45
|
-
Content-Length:
|
46
|
-
- '0'
|
47
|
-
body:
|
48
|
-
encoding: UTF-8
|
49
|
-
string: ''
|
50
|
-
http_version:
|
51
|
-
recorded_at: Mon, 15 Aug 2016 15:20:38 GMT
|
52
|
-
- request:
|
53
|
-
method: get
|
54
|
-
uri: http://jdoe:password@localhost:8080/hawkular/metrics/counters/<%= id %>
|
55
|
-
body:
|
56
|
-
encoding: US-ASCII
|
57
|
-
string: ''
|
58
|
-
headers:
|
59
|
-
Accept:
|
60
|
-
- application/json
|
61
|
-
Accept-Encoding:
|
62
|
-
- identity
|
63
|
-
User-Agent:
|
64
|
-
- hawkular-client-ruby
|
65
|
-
Hawkular-Tenant:
|
66
|
-
- <%= vcr_test_tenant %>
|
67
|
-
Content-Type:
|
68
|
-
- application/json
|
69
|
-
Host:
|
70
|
-
- localhost:8080
|
71
|
-
response:
|
72
|
-
status:
|
73
|
-
code: 200
|
74
|
-
message: OK
|
75
|
-
headers:
|
76
|
-
Expires:
|
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
|
-
- Mon, 15 Aug 2016 15:20:38 GMT
|
88
|
-
Connection:
|
89
|
-
- keep-alive
|
90
|
-
Content-Type:
|
91
|
-
- application/json
|
92
|
-
Content-Length:
|
93
|
-
- '189'
|
94
|
-
body:
|
95
|
-
encoding: UTF-8
|
96
|
-
string: '{"id":"<%= id %>","tags":{"tag":"value"},"dataRetention":90,"type":"counter","tenantId":"<%= vcr_test_tenant %>"}'
|
97
|
-
http_version:
|
98
|
-
recorded_at: Mon, 15 Aug 2016 15:20:38 GMT
|
99
|
-
recorded_with: VCR 3.0.3
|
@@ -1,240 +0,0 @@
|
|
1
|
-
---
|
2
|
-
http_interactions:
|
3
|
-
- request:
|
4
|
-
method: post
|
5
|
-
uri: http://jdoe:password@localhost:8080/hawkular/metrics/counters
|
6
|
-
body:
|
7
|
-
encoding: UTF-8
|
8
|
-
string: '{"id":"<%= id %>"}'
|
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
|
-
Content-Length:
|
21
|
-
- '45'
|
22
|
-
Host:
|
23
|
-
- localhost:8080
|
24
|
-
response:
|
25
|
-
status:
|
26
|
-
code: 201
|
27
|
-
message: Created
|
28
|
-
headers:
|
29
|
-
Expires:
|
30
|
-
- '0'
|
31
|
-
Cache-Control:
|
32
|
-
- no-cache, no-store, must-revalidate
|
33
|
-
X-Powered-By:
|
34
|
-
- Undertow/1
|
35
|
-
Server:
|
36
|
-
- WildFly/10
|
37
|
-
Pragma:
|
38
|
-
- no-cache
|
39
|
-
Location:
|
40
|
-
- http://localhost:8080/hawkular/metrics/counters/<%= id %>
|
41
|
-
Date:
|
42
|
-
- Mon, 15 Aug 2016 15:20:38 GMT
|
43
|
-
Connection:
|
44
|
-
- keep-alive
|
45
|
-
Content-Length:
|
46
|
-
- '0'
|
47
|
-
body:
|
48
|
-
encoding: UTF-8
|
49
|
-
string: ''
|
50
|
-
http_version:
|
51
|
-
recorded_at: Mon, 15 Aug 2016 15:20:38 GMT
|
52
|
-
- request:
|
53
|
-
method: post
|
54
|
-
uri: http://jdoe:password@localhost:8080/hawkular/metrics/counters/<%= id %>/raw
|
55
|
-
body:
|
56
|
-
encoding: UTF-8
|
57
|
-
string: '[{"value":110,"timestamp":<%= minus110 %>},{"value":100,"timestamp":<%= minus100 %>},{"value":90,"timestamp":<%= minus90 %>},{"value":80,"timestamp":<%= minus80 %>},{"value":70,"timestamp":<%= minus70 %>},{"value":60,"timestamp":<%= minus60 %>},{"value":50,"timestamp":<%= minus50 %>},{"value":40,"timestamp":<%= minus40 %>},{"value":30,"timestamp":<%= minus30 %>},{"value":20,"timestamp":<%= minus20 %>},{"value":10,"timestamp":<%= minus10 %>}]'
|
58
|
-
headers:
|
59
|
-
Accept:
|
60
|
-
- application/json
|
61
|
-
Accept-Encoding:
|
62
|
-
- identity
|
63
|
-
User-Agent:
|
64
|
-
- hawkular-client-ruby
|
65
|
-
Hawkular-Tenant:
|
66
|
-
- <%= vcr_test_tenant %>
|
67
|
-
Content-Type:
|
68
|
-
- application/json
|
69
|
-
Content-Length:
|
70
|
-
- '432'
|
71
|
-
Host:
|
72
|
-
- localhost:8080
|
73
|
-
response:
|
74
|
-
status:
|
75
|
-
code: 200
|
76
|
-
message: OK
|
77
|
-
headers:
|
78
|
-
Expires:
|
79
|
-
- '0'
|
80
|
-
Connection:
|
81
|
-
- keep-alive
|
82
|
-
Cache-Control:
|
83
|
-
- no-cache, no-store, must-revalidate
|
84
|
-
X-Powered-By:
|
85
|
-
- Undertow/1
|
86
|
-
Server:
|
87
|
-
- WildFly/10
|
88
|
-
Pragma:
|
89
|
-
- no-cache
|
90
|
-
Content-Length:
|
91
|
-
- '0'
|
92
|
-
Date:
|
93
|
-
- Mon, 15 Aug 2016 15:20:38 GMT
|
94
|
-
body:
|
95
|
-
encoding: UTF-8
|
96
|
-
string: ''
|
97
|
-
http_version:
|
98
|
-
recorded_at: Mon, 15 Aug 2016 15:20:38 GMT
|
99
|
-
- request:
|
100
|
-
method: get
|
101
|
-
uri: http://jdoe:password@localhost:8080/hawkular/metrics/counters/<%= id %>/stats/?buckets=5&end=<%= minus5 %>&start=<%= minus105 %>
|
102
|
-
body:
|
103
|
-
encoding: US-ASCII
|
104
|
-
string: ''
|
105
|
-
headers:
|
106
|
-
Accept:
|
107
|
-
- application/json
|
108
|
-
Accept-Encoding:
|
109
|
-
- identity
|
110
|
-
User-Agent:
|
111
|
-
- hawkular-client-ruby
|
112
|
-
Hawkular-Tenant:
|
113
|
-
- <%= vcr_test_tenant %>
|
114
|
-
Content-Type:
|
115
|
-
- application/json
|
116
|
-
Host:
|
117
|
-
- localhost:8080
|
118
|
-
response:
|
119
|
-
status:
|
120
|
-
code: 200
|
121
|
-
message: OK
|
122
|
-
headers:
|
123
|
-
Expires:
|
124
|
-
- '0'
|
125
|
-
Cache-Control:
|
126
|
-
- no-cache, no-store, must-revalidate
|
127
|
-
X-Powered-By:
|
128
|
-
- Undertow/1
|
129
|
-
Server:
|
130
|
-
- WildFly/10
|
131
|
-
Pragma:
|
132
|
-
- no-cache
|
133
|
-
Date:
|
134
|
-
- Mon, 15 Aug 2016 15:20:38 GMT
|
135
|
-
Connection:
|
136
|
-
- keep-alive
|
137
|
-
Content-Type:
|
138
|
-
- application/json
|
139
|
-
Content-Length:
|
140
|
-
- '645'
|
141
|
-
body:
|
142
|
-
encoding: UTF-8
|
143
|
-
string: '[{"start":<%= minus105 %>,"end":1471274438154,"min":90.0,"avg":95.0,"median":90.0,"max":100.0,"sum":190.0,"samples":2,"empty":false},{"start":1471274438154,"end":1471274438174,"min":70.0,"avg":75.0,"median":70.0,"max":80.0,"sum":150.0,"samples":2,"empty":false},{"start":1471274438174,"end":1471274438194,"min":50.0,"avg":55.0,"median":50.0,"max":60.0,"sum":110.0,"samples":2,"empty":false},{"start":1471274438194,"end":1471274438214,"min":30.0,"avg":35.0,"median":30.0,"max":40.0,"sum":70.0,"samples":2,"empty":false},{"start":1471274438214,"end":<%= minus5 %>,"min":10.0,"avg":15.0,"median":10.0,"max":20.0,"sum":30.0,"samples":2,"empty":false}]'
|
144
|
-
http_version:
|
145
|
-
recorded_at: Mon, 15 Aug 2016 15:20:38 GMT
|
146
|
-
- request:
|
147
|
-
method: get
|
148
|
-
uri: http://jdoe:password@localhost:8080/hawkular/metrics/counters/<%= id %>/stats/?buckets=2&end=<%= minus5 %>&start=<%= minus105 %>
|
149
|
-
body:
|
150
|
-
encoding: US-ASCII
|
151
|
-
string: ''
|
152
|
-
headers:
|
153
|
-
Accept:
|
154
|
-
- application/json
|
155
|
-
Accept-Encoding:
|
156
|
-
- identity
|
157
|
-
User-Agent:
|
158
|
-
- hawkular-client-ruby
|
159
|
-
Hawkular-Tenant:
|
160
|
-
- <%= vcr_test_tenant %>
|
161
|
-
Content-Type:
|
162
|
-
- application/json
|
163
|
-
Host:
|
164
|
-
- localhost:8080
|
165
|
-
response:
|
166
|
-
status:
|
167
|
-
code: 200
|
168
|
-
message: OK
|
169
|
-
headers:
|
170
|
-
Expires:
|
171
|
-
- '0'
|
172
|
-
Cache-Control:
|
173
|
-
- no-cache, no-store, must-revalidate
|
174
|
-
X-Powered-By:
|
175
|
-
- Undertow/1
|
176
|
-
Server:
|
177
|
-
- WildFly/10
|
178
|
-
Pragma:
|
179
|
-
- no-cache
|
180
|
-
Date:
|
181
|
-
- Mon, 15 Aug 2016 15:20:38 GMT
|
182
|
-
Connection:
|
183
|
-
- keep-alive
|
184
|
-
Content-Type:
|
185
|
-
- application/json
|
186
|
-
Content-Length:
|
187
|
-
- '260'
|
188
|
-
body:
|
189
|
-
encoding: UTF-8
|
190
|
-
string: '[{"start":<%= minus105 %>,"end":1471274438184,"min":60.0,"avg":80.0,"median":80.0,"max":100.0,"sum":400.0,"samples":5,"empty":false},{"start":1471274438184,"end":<%= minus5 %>,"min":10.0,"avg":30.0,"median":30.0,"max":50.0,"sum":150.0,"samples":5,"empty":false}]'
|
191
|
-
http_version:
|
192
|
-
recorded_at: Mon, 15 Aug 2016 15:20:38 GMT
|
193
|
-
- request:
|
194
|
-
method: get
|
195
|
-
uri: http://jdoe:password@localhost:8080/hawkular/metrics/counters/<%= id %>/stats/?bucketDuration=50ms&end=<%= minus5 %>&start=<%= minus105 %>
|
196
|
-
body:
|
197
|
-
encoding: US-ASCII
|
198
|
-
string: ''
|
199
|
-
headers:
|
200
|
-
Accept:
|
201
|
-
- application/json
|
202
|
-
Accept-Encoding:
|
203
|
-
- identity
|
204
|
-
User-Agent:
|
205
|
-
- hawkular-client-ruby
|
206
|
-
Hawkular-Tenant:
|
207
|
-
- <%= vcr_test_tenant %>
|
208
|
-
Content-Type:
|
209
|
-
- application/json
|
210
|
-
Host:
|
211
|
-
- localhost:8080
|
212
|
-
response:
|
213
|
-
status:
|
214
|
-
code: 200
|
215
|
-
message: OK
|
216
|
-
headers:
|
217
|
-
Expires:
|
218
|
-
- '0'
|
219
|
-
Cache-Control:
|
220
|
-
- no-cache, no-store, must-revalidate
|
221
|
-
X-Powered-By:
|
222
|
-
- Undertow/1
|
223
|
-
Server:
|
224
|
-
- WildFly/10
|
225
|
-
Pragma:
|
226
|
-
- no-cache
|
227
|
-
Date:
|
228
|
-
- Mon, 15 Aug 2016 15:20:38 GMT
|
229
|
-
Connection:
|
230
|
-
- keep-alive
|
231
|
-
Content-Type:
|
232
|
-
- application/json
|
233
|
-
Content-Length:
|
234
|
-
- '260'
|
235
|
-
body:
|
236
|
-
encoding: UTF-8
|
237
|
-
string: '[{"start":<%= minus105 %>,"end":1471274438184,"min":60.0,"avg":80.0,"median":80.0,"max":100.0,"sum":400.0,"samples":5,"empty":false},{"start":1471274438184,"end":<%= minus5 %>,"min":10.0,"avg":30.0,"median":30.0,"max":50.0,"sum":150.0,"samples":5,"empty":false}]'
|
238
|
-
http_version:
|
239
|
-
recorded_at: Mon, 15 Aug 2016 15:20:38 GMT
|
240
|
-
recorded_with: VCR 3.0.3
|