Sha256: fd927b65ab5aa1c8120abf135f492ac07415c781b077e1c1c0f85ef47fe985f6

Contents?: true

Size: 1.92 KB

Versions: 3

Compression:

Stored size: 1.92 KB

Contents

---
http_interactions:
- request:
    method: post
    uri: https://us-east-1.api.joyentcloud.com/my/analytics/instrumentations
    body:
      encoding: UTF-8
      string: '{"module":"syscall","stat":"syscalls"}'
    headers:
      Date: ''
      Authorization: ''
      Content-Type:
      - application/json
      Accept:
      - application/json
      X-Api-Version:
      - "~7.0"
      User-Agent:
      - Faraday v0.9.1
      Accept-Encoding:
      - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
  response:
    status:
      code: 200
      message: OK
    headers:
      X-Api-Version:
      - 7.2.0
      Server:
      - Joyent SmartDataCenter 7.2.0
      Request-Id: ''
      Content-Type:
      - application/json
      Access-Control-Expose-Headers:
      - Api-Version, Request-Id, Response-Time
      Strict-Transport-Security:
      - max-age=6570000
      Date: ''
      X-Request-Id: ''
      Location:
      - "/<USERNAME>/analytics/instrumentations/256"
      Content-Md5:
      - vcSXwZ1T0mBEzB5VAzOrFg==
      Access-Control-Allow-Origin:
      - "*"
      Response-Time: ''
      X-Response-Time: ''
      Connection:
      - Keep-Alive
      Access-Control-Allow-Headers:
      - Accept, Accept-Version, Content-Length, Content-MD5, Content-Type, Date, Api-Version,
        Response-Time
      Access-Control-Allow-Methods:
      - GET, HEAD, POST
      Api-Version:
      - 7.2.0
      Content-Length:
      - '382'
    body:
      encoding: UTF-8
      string: '{"module":"syscall","stat":"syscalls","predicate":{},"decomposition":[],"value-dimension":1,"value-arity":"scalar","enabled":true,"retention-time":600,"idle-max":3600,"transformations":{},"nsources":0,"granularity":1,"persist-data":false,"crtime":1424000674378,"value-scope":"interval","id":"256","uris":[{"uri":"/<USERNAME>/analytics/instrumentations/256/value/raw","name":"value_raw"}]}'
    http_version: 
  recorded_at: Sun, 15 Feb 2015 11:44:36 GMT
recorded_with: VCR 2.9.3

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
smartdc-2.0.2 spec/cassettes/analytics/create.yml
smartdc-2.0.1 spec/cassettes/analytics/create.yml
smartdc-2.0.0 spec/cassettes/analytics/create.yml