--- http_interactions: - request: method: post uri: http://jdoe:password@localhost:8080/hawkular/metrics/gauges body: encoding: UTF-8 string: '{"id":"<%= id %>"}' headers: Accept: - application/json Accept-Encoding: - gzip, deflate Hawkular-Tenant: - vcr-test-tenant-123 Content-Type: - application/json Content-Length: - '45' User-Agent: - Ruby 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/<%= id %> Date: - Thu, 30 Jun 2016 16:24:20 GMT Connection: - keep-alive Content-Length: - '0' body: encoding: UTF-8 string: '' http_version: recorded_at: Thu, 30 Jun 2016 16:24:20 GMT - request: method: post uri: http://jdoe:password@localhost:8080/hawkular/metrics/gauges/<%= id %>/data body: encoding: UTF-8 string: '[{"value":1,"timestamp":<%= now30 %>},{"value":2,"timestamp":<%= now20 %>},{"value":3,"timestamp":<%= now10 %>}]' headers: Accept: - application/json Accept-Encoding: - gzip, deflate Hawkular-Tenant: - vcr-test-tenant-123 Content-Type: - application/json Content-Length: - '115' User-Agent: - Ruby response: status: code: 200 message: OK headers: Expires: - '0' Connection: - keep-alive Cache-Control: - no-cache, no-store, must-revalidate X-Powered-By: - Undertow/1 Server: - WildFly/10 Pragma: - no-cache Content-Length: - '0' Date: - Thu, 30 Jun 2016 16:24:20 GMT body: encoding: UTF-8 string: '' http_version: recorded_at: Thu, 30 Jun 2016 16:24:20 GMT - request: method: get uri: http://jdoe:password@localhost:8080/hawkular/metrics/gauges/<%= id %>/data/ body: encoding: US-ASCII string: '' headers: Accept: - application/json Accept-Encoding: - gzip, deflate Hawkular-Tenant: - vcr-test-tenant-123 Content-Type: - application/json User-Agent: - Ruby 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: - Thu, 30 Jun 2016 16:24:20 GMT Connection: - keep-alive Content-Type: - application/json Content-Length: - '121' body: encoding: UTF-8 string: '[{"timestamp":<%= now10 %>,"value":3.0},{"timestamp":<%= now20 %>,"value":2.0},{"timestamp":<%= now30 %>,"value":1.0}]' http_version: recorded_at: Thu, 30 Jun 2016 16:24:20 GMT - request: method: post uri: http://jdoe:password@localhost:8080/hawkular/metrics/gauges/<%= id %>/data body: encoding: UTF-8 string: '[{"value":4,"timestamp":1467303860199}]' headers: Accept: - application/json Accept-Encoding: - gzip, deflate Hawkular-Tenant: - vcr-test-tenant-123 Content-Type: - application/json Content-Length: - '39' User-Agent: - Ruby response: status: code: 200 message: OK headers: Expires: - '0' Connection: - keep-alive Cache-Control: - no-cache, no-store, must-revalidate X-Powered-By: - Undertow/1 Server: - WildFly/10 Pragma: - no-cache Content-Length: - '0' Date: - Thu, 30 Jun 2016 16:24:20 GMT body: encoding: UTF-8 string: '' http_version: recorded_at: Thu, 30 Jun 2016 16:24:20 GMT - request: method: get uri: http://jdoe:password@localhost:8080/hawkular/metrics/gauges/<%= id %>/data/ body: encoding: US-ASCII string: '' headers: Accept: - application/json Accept-Encoding: - gzip, deflate Hawkular-Tenant: - vcr-test-tenant-123 Content-Type: - application/json User-Agent: - Ruby 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: - Thu, 30 Jun 2016 16:24:20 GMT Connection: - keep-alive Content-Type: - application/json Content-Length: - '161' body: encoding: UTF-8 string: '[{"timestamp":1467303860199,"value":4.0},{"timestamp":<%= now10 %>,"value":3.0},{"timestamp":<%= now20 %>,"value":2.0},{"timestamp":<%= now30 %>,"value":1.0}]' http_version: recorded_at: Thu, 30 Jun 2016 16:24:20 GMT - request: method: get uri: http://jdoe:password@localhost:8080/hawkular/metrics/counters/<%= id %>/data/?end=<%= ends %>&start=<%= starts %> body: encoding: US-ASCII string: '' headers: Accept: - application/json Accept-Encoding: - gzip, deflate Hawkular-Tenant: - vcr-test-tenant-123 Content-Type: - application/json User-Agent: - Ruby response: status: code: 204 message: No Content headers: Expires: - '0' Cache-Control: - no-cache, no-store, must-revalidate X-Powered-By: - Undertow/1 Server: - WildFly/10 Pragma: - no-cache Date: - Thu, 30 Jun 2016 16:24:20 GMT body: encoding: UTF-8 string: '' http_version: recorded_at: Thu, 30 Jun 2016 16:24:20 GMT recorded_with: VCR 3.0.1