--- http_interactions: - request: method: post uri: http://jdoe:password@localhost:8080/hawkular/metrics/gauges body: encoding: UTF-8 string: '{"id":"<%= id %>","dataRetention":90,"tags":{"tag":"value"}}' headers: Accept: - application/json Accept-Encoding: - identity User-Agent: - hawkular-client-ruby Hawkular-Tenant: - <%= vcr_test_tenant %> Content-Type: - application/json Content-Length: - '87' 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/<%= id %> Date: - Mon, 15 Aug 2016 15:20:38 GMT Connection: - keep-alive Content-Length: - '0' body: encoding: UTF-8 string: '' http_version: recorded_at: Mon, 15 Aug 2016 15:20:38 GMT - request: method: get uri: http://jdoe:password@localhost:8080/hawkular/metrics/gauges/<%= id %> body: encoding: US-ASCII string: '' headers: Accept: - application/json Accept-Encoding: - identity User-Agent: - hawkular-client-ruby Hawkular-Tenant: - <%= vcr_test_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: - Mon, 15 Aug 2016 15:20:38 GMT Connection: - keep-alive Content-Type: - application/json Content-Length: - '187' body: encoding: UTF-8 string: '{"id":"<%= id %>","tags":{"tag":"value"},"dataRetention":90,"type":"gauge","tenantId":"<%= vcr_test_tenant %>"}' http_version: recorded_at: Mon, 15 Aug 2016 15:20:38 GMT recorded_with: VCR 3.0.3