--- http_interactions: - request: method: get uri: http://jdoe:password@localhost:8080/hawkular/metrics/counters/<%= id %>/data/ body: encoding: US-ASCII string: '' headers: Accept: - application/json Accept-Encoding: - identity User-Agent: - hawkular-client-ruby Hawkular-Tenant: - hawkular Content-Type: - application/json Host: - localhost:8080 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: - Mon, 05 Sep 2016 12:58:07 GMT body: encoding: UTF-8 string: '' http_version: recorded_at: Mon, 05 Sep 2016 12:58:07 GMT - request: method: post uri: http://jdoe:password@localhost:8080/hawkular/metrics/metrics/data body: encoding: UTF-8 string: '{"gauges":[],"counters":[{"id":"<%= id %>","data":[{"value":100.0,"timestamp":1473080287184}]}],"availabilities":[]}' headers: Accept: - application/json Accept-Encoding: - identity User-Agent: - hawkular-client-ruby Hawkular-Tenant: - hawkular Content-Type: - application/json Content-Length: - '143' Host: - localhost:8080 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: - Mon, 05 Sep 2016 12:58:07 GMT body: encoding: UTF-8 string: '' http_version: recorded_at: Mon, 05 Sep 2016 12:58:07 GMT - request: method: post uri: http://jdoe:password@localhost:8080/hawkular/metrics/metrics/data body: encoding: UTF-8 string: '{"gauges":[],"counters":[{"id":"<%= id %>","data":[{"value":110.0,"timestamp":1473080287194}]}],"availabilities":[]}' headers: Accept: - application/json Accept-Encoding: - identity User-Agent: - hawkular-client-ruby Hawkular-Tenant: - hawkular Content-Type: - application/json Content-Length: - '143' Host: - localhost:8080 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: - Mon, 05 Sep 2016 12:58:07 GMT body: encoding: UTF-8 string: '' http_version: recorded_at: Mon, 05 Sep 2016 12:58:07 GMT - request: method: post uri: http://jdoe:password@localhost:8080/hawkular/metrics/metrics/data body: encoding: UTF-8 string: '{"gauges":[],"counters":[{"id":"<%= id %>","data":[{"value":130.0,"timestamp":1473080287197}]}],"availabilities":[]}' headers: Accept: - application/json Accept-Encoding: - identity User-Agent: - hawkular-client-ruby Hawkular-Tenant: - hawkular Content-Type: - application/json Content-Length: - '143' Host: - localhost:8080 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: - Mon, 05 Sep 2016 12:58:07 GMT body: encoding: UTF-8 string: '' http_version: recorded_at: Mon, 05 Sep 2016 12:58:07 GMT - request: method: post uri: http://jdoe:password@localhost:8080/hawkular/metrics/metrics/data body: encoding: UTF-8 string: '{"gauges":[],"counters":[{"id":"<%= id %>","data":[{"value":200.0,"timestamp":1473080287200}]}],"availabilities":[]}' headers: Accept: - application/json Accept-Encoding: - identity User-Agent: - hawkular-client-ruby Hawkular-Tenant: - hawkular Content-Type: - application/json Content-Length: - '143' Host: - localhost:8080 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: - Mon, 05 Sep 2016 12:58:07 GMT body: encoding: UTF-8 string: '' http_version: recorded_at: Mon, 05 Sep 2016 12:58:07 GMT - request: method: get uri: http://jdoe:password@localhost:8080/hawkular/metrics/counters/<%= id %>/data/ body: encoding: US-ASCII string: '' headers: Accept: - application/json Accept-Encoding: - identity User-Agent: - hawkular-client-ruby Hawkular-Tenant: - hawkular 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: - Mon, 05 Sep 2016 12:58:07 GMT Connection: - keep-alive Content-Type: - application/json Content-Length: - '161' body: encoding: UTF-8 string: '[{"timestamp":1473080287200,"value":200},{"timestamp":1473080287197,"value":130},{"timestamp":1473080287194,"value":110},{"timestamp":1473080287184,"value":100}]' http_version: recorded_at: Mon, 05 Sep 2016 12:58:07 GMT - request: method: post uri: http://jdoe:password@localhost:8080/hawkular/metrics/metrics/stats/query body: encoding: UTF-8 string: '{"metrics":{"gauge":[],"counter":["<%= id %>"],"availability":[]},"start":1473080287184,"end":1473080287201,"bucketDuration":"17ms","types":["gauge","gauge_rate","counter","counter_rate","availability"]}' headers: Accept: - application/json Accept-Encoding: - identity User-Agent: - hawkular-client-ruby Hawkular-Tenant: - hawkular Content-Type: - application/json Content-Length: - '230' 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: - Mon, 05 Sep 2016 12:58:07 GMT Connection: - keep-alive Content-Type: - application/json Content-Length: - '394' body: encoding: UTF-8 string: '{"counter_rate":{"<%= id %>":[{"start":1473080287184,"end":1473080287201,"min":60000.0,"avg":620000.0,"median":400000.0,"max":1400000.0,"sum":1860000.0,"samples":3,"empty":false}]},"counter":{"<%= id %>":[{"start":1473080287184,"end":1473080287201,"min":100.0,"avg":135.0,"median":110.0,"max":200.0,"sum":540.0,"samples":4,"empty":false}]}}' http_version: recorded_at: Mon, 05 Sep 2016 12:58:07 GMT recorded_with: VCR 3.0.1