--- http_interactions: - request: method: post uri: http://jdoe:password@localhost:8080/hawkular/metrics/gauges body: encoding: UTF-8 string: '{"id":"metric_1","dataRetention":90,"tags":{"tag1":"value1","tag2":"value2","tag3":"value3"}}' headers: Accept: - application/json Accept-Encoding: - identity User-Agent: - hawkular-client-ruby Hawkular-Tenant: - all_tags_tenant Content-Type: - application/json Content-Length: - '93' Host: - localhost:8080 response: status: code: 201 message: Created headers: Expires: - '0' Cache-Control: - no-cache, no-store, must-revalidate X-Powered-By: - Undertow/1 Server: - WildFly/10 Pragma: - no-cache Location: - http://localhost:8080/hawkular/metrics/gauges/metric_1 Date: - Fri, 14 Oct 2016 21:11:20 GMT Connection: - keep-alive Content-Length: - '0' body: encoding: UTF-8 string: '' http_version: recorded_at: Fri, 14 Oct 2016 21:11:20 GMT - request: method: get uri: http://jdoe:password@localhost:8080/hawkular/metrics/gauges/metric_1 body: encoding: US-ASCII string: '' headers: Accept: - application/json Accept-Encoding: - identity User-Agent: - hawkular-client-ruby Hawkular-Tenant: - all_tags_tenant Content-Type: - application/json Host: - localhost:8080 response: status: code: 200 message: OK headers: Expires: - '0' Cache-Control: - no-cache, no-store, must-revalidate X-Powered-By: - Undertow/1 Server: - WildFly/10 Pragma: - no-cache Date: - Fri, 14 Oct 2016 21:11:20 GMT Connection: - keep-alive Content-Type: - application/json Content-Length: - '137' body: encoding: UTF-8 string: '{"id":"metric_1","tags":{"tag1":"value1","tag2":"value2","tag3":"value3"},"dataRetention":90,"type":"gauge","tenantId":"all_tags_tenant"}' http_version: recorded_at: Fri, 14 Oct 2016 21:11:20 GMT - request: method: post uri: http://jdoe:password@localhost:8080/hawkular/metrics/availability body: encoding: UTF-8 string: '{"id":"metric_2","dataRetention":90,"tags":{"tag1":"value1","tag4":"value4","tag5":"value5"}}' headers: Accept: - application/json Accept-Encoding: - identity User-Agent: - hawkular-client-ruby Hawkular-Tenant: - all_tags_tenant Content-Type: - application/json Content-Length: - '93' Host: - localhost:8080 response: status: code: 201 message: Created headers: Expires: - '0' Cache-Control: - no-cache, no-store, must-revalidate X-Powered-By: - Undertow/1 Server: - WildFly/10 Pragma: - no-cache Location: - http://localhost:8080/hawkular/metrics/availability/metric_2 Date: - Fri, 14 Oct 2016 21:11:20 GMT Connection: - keep-alive Content-Length: - '0' body: encoding: UTF-8 string: '' http_version: recorded_at: Fri, 14 Oct 2016 21:11:20 GMT - request: method: get uri: http://jdoe:password@localhost:8080/hawkular/metrics/availability/metric_2 body: encoding: US-ASCII string: '' headers: Accept: - application/json Accept-Encoding: - identity User-Agent: - hawkular-client-ruby Hawkular-Tenant: - all_tags_tenant Content-Type: - application/json Host: - localhost:8080 response: status: code: 200 message: OK headers: Expires: - '0' Cache-Control: - no-cache, no-store, must-revalidate X-Powered-By: - Undertow/1 Server: - WildFly/10 Pragma: - no-cache Date: - Fri, 14 Oct 2016 21:11:20 GMT Connection: - keep-alive Content-Type: - application/json Content-Length: - '144' body: encoding: UTF-8 string: '{"id":"metric_2","tags":{"tag1":"value1","tag4":"value4","tag5":"value5"},"dataRetention":90,"type":"availability","tenantId":"all_tags_tenant"}' http_version: recorded_at: Fri, 14 Oct 2016 21:11:20 GMT - request: method: post uri: http://jdoe:password@localhost:8080/hawkular/metrics/counters body: encoding: UTF-8 string: '{"id":"metric_2","dataRetention":90,"tags":{"tag1":"value1","tag4":"value4","tag5":"value5.1"}}' headers: Accept: - application/json Accept-Encoding: - identity User-Agent: - hawkular-client-ruby Hawkular-Tenant: - all_tags_tenant Content-Type: - application/json Content-Length: - '95' Host: - localhost:8080 response: status: code: 201 message: Created headers: Expires: - '0' Cache-Control: - no-cache, no-store, must-revalidate X-Powered-By: - Undertow/1 Server: - WildFly/10 Pragma: - no-cache Location: - http://localhost:8080/hawkular/metrics/counters/metric_2 Date: - Fri, 14 Oct 2016 21:11:20 GMT Connection: - keep-alive Content-Length: - '0' body: encoding: UTF-8 string: '' http_version: recorded_at: Fri, 14 Oct 2016 21:11:20 GMT - request: method: get uri: http://jdoe:password@localhost:8080/hawkular/metrics/counters/metric_2 body: encoding: US-ASCII string: '' headers: Accept: - application/json Accept-Encoding: - identity User-Agent: - hawkular-client-ruby Hawkular-Tenant: - all_tags_tenant Content-Type: - application/json Host: - localhost:8080 response: status: code: 200 message: OK headers: Expires: - '0' Cache-Control: - no-cache, no-store, must-revalidate X-Powered-By: - Undertow/1 Server: - WildFly/10 Pragma: - no-cache Date: - Fri, 14 Oct 2016 21:11:20 GMT Connection: - keep-alive Content-Type: - application/json Content-Length: - '141' body: encoding: UTF-8 string: '{"id":"metric_2","tags":{"tag1":"value1","tag4":"value4","tag5":"value5.1"},"dataRetention":90,"type":"counter","tenantId":"all_tags_tenant"}' http_version: recorded_at: Fri, 14 Oct 2016 21:11:20 GMT - request: method: post uri: http://jdoe:password@localhost:8080/hawkular/metrics/counters body: encoding: UTF-8 string: '{"id":"metric_3","dataRetention":90,"tags":{}}' headers: Accept: - application/json Accept-Encoding: - identity User-Agent: - hawkular-client-ruby Hawkular-Tenant: - all_tags_tenant Content-Type: - application/json Content-Length: - '46' Host: - localhost:8080 response: status: code: 201 message: Created headers: Expires: - '0' Cache-Control: - no-cache, no-store, must-revalidate X-Powered-By: - Undertow/1 Server: - WildFly/10 Pragma: - no-cache Location: - http://localhost:8080/hawkular/metrics/counters/metric_3 Date: - Fri, 14 Oct 2016 21:11:20 GMT Connection: - keep-alive Content-Length: - '0' body: encoding: UTF-8 string: '' http_version: recorded_at: Fri, 14 Oct 2016 21:11:20 GMT - request: method: get uri: http://jdoe:password@localhost:8080/hawkular/metrics/counters/metric_3 body: encoding: US-ASCII string: '' headers: Accept: - application/json Accept-Encoding: - identity User-Agent: - hawkular-client-ruby Hawkular-Tenant: - all_tags_tenant Content-Type: - application/json Host: - localhost:8080 response: status: code: 200 message: OK headers: Expires: - '0' Cache-Control: - no-cache, no-store, must-revalidate X-Powered-By: - Undertow/1 Server: - WildFly/10 Pragma: - no-cache Date: - Fri, 14 Oct 2016 21:11:20 GMT Connection: - keep-alive Content-Type: - application/json Content-Length: - '82' body: encoding: UTF-8 string: '{"id":"metric_3","dataRetention":90,"type":"counter","tenantId":"all_tags_tenant"}' http_version: recorded_at: Fri, 14 Oct 2016 21:11:20 GMT - request: method: get uri: http://jdoe:password@localhost:8080/hawkular/metrics/metrics/ body: encoding: US-ASCII string: '' headers: Accept: - application/json Accept-Encoding: - identity User-Agent: - hawkular-client-ruby Hawkular-Tenant: - all_tags_tenant Content-Type: - application/json Host: - localhost:8080 response: status: code: 200 message: OK headers: Expires: - '0' Cache-Control: - no-cache, no-store, must-revalidate X-Powered-By: - Undertow/1 Server: - WildFly/10 Pragma: - no-cache Date: - Fri, 14 Oct 2016 21:11:20 GMT Connection: - keep-alive Content-Type: - application/json Content-Length: - '509' body: encoding: UTF-8 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"}]' http_version: recorded_at: Fri, 14 Oct 2016 21:11:20 GMT recorded_with: VCR 3.0.3