Sha256: 509ebce29563a309e56eb001fa58b9327bb8d54b455ad70ebb3a393d0f5126e6

Contents?: true

Size: 1.86 KB

Versions: 10

Compression:

Stored size: 1.86 KB

Contents

---
http_interactions:
- request:
    method: post
    uri: http://localhost:8080/hawkular/metrics/gauges/<%= id %>/data
    body:
      encoding: UTF-8
      string: '[{"value":1,"timestamp":<%= minus30 %>},{"value":2,"timestamp":<%= minus20 %>},{"value":3,"timestamp":<%= start %>}]'
    headers:
      Accept:
      - application/json
      Accept-Encoding:
      - gzip, deflate
      Hawkular-Tenant:
      - vcr-test-tenant-123
      Tenantid:
      - vcr-test-tenant-123
      Content-Type:
      - application/json
      Content-Length:
      - '115'
      User-Agent:
      - Ruby
  response:
    status:
      code: 200
      message: OK
    headers:
      Connection:
      - keep-alive
      X-Powered-By:
      - Undertow/1
      Server:
      - WildFly/9
      Content-Length:
      - '0'
      Date:
      - Fri, 30 Oct 2015 12:01:29 GMT
    body:
      encoding: UTF-8
      string: ''
    http_version: 
  recorded_at: Fri, 30 Oct 2015 12:01:29 GMT
- request:
    method: get
    uri: http://localhost:8080/hawkular/metrics/gauges/<%= id %>/periods?op=lte&start=<%= before4h %>&threshold=4
    body:
      encoding: US-ASCII
      string: ''
    headers:
      Accept:
      - application/json
      Accept-Encoding:
      - gzip, deflate
      Hawkular-Tenant:
      - vcr-test-tenant-123
      Tenantid:
      - vcr-test-tenant-123
      Content-Type:
      - application/json
      User-Agent:
      - Ruby
  response:
    status:
      code: 200
      message: OK
    headers:
      Connection:
      - keep-alive
      X-Powered-By:
      - Undertow/1
      Server:
      - WildFly/9
      Content-Type:
      - application/json
      Content-Length:
      - '31'
      Date:
      - Fri, 30 Oct 2015 12:01:29 GMT
    body:
      encoding: UTF-8
      string: '[[<%= minus30 %>,<%= start %>]]'
    http_version: 
  recorded_at: Fri, 30 Oct 2015 12:01:29 GMT
recorded_with: VCR 2.9.3

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
hawkular-client-2.2.1 spec/vcr_cassettes/Gauge_metrics/Should_return_periods.yml
hawkular-client-2.2.0 spec/vcr_cassettes/Gauge_metrics/Should_return_periods.yml
hawkular-client-2.1.0 spec/vcr_cassettes/Gauge_metrics/Should_return_periods.yml
hawkular-client-2.0.0 spec/vcr_cassettes/Gauge_metrics/Should_return_periods.yml
hawkular-client-1.0.0 spec/vcr_cassettes/Gauge_metrics/Should_return_periods.yml
hawkular-client-0.2.2 spec/vcr_cassettes/Gauge_metrics/Should_return_periods.yml
hawkular-client-0.2.1 spec/vcr_cassettes/Gauge_metrics/Should_return_periods.yml
hawkular-client-0.2.0 spec/vcr_cassettes/Gauge_metrics/Should_return_periods.yml
hawkular-client-0.1.2 spec/vcr_cassettes/Gauge_metrics/Should_return_periods.yml
hawkular-client-0.1.1 spec/vcr_cassettes/Gauge_metrics/Should_return_periods.yml