aboutsummaryrefslogtreecommitdiff
path: root/test/fixture/vcr_cassettes/metrics/query.json
blob: 69639a79b15c5c9309cfd825098b54e74b27e365 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
[
  {
    "request": {
      "body": "",
      "method": "get",
      "options": [],
      "request_body": "",
      "url": "https://app.datadoghq.com/api/v1/query?api_key=1234&application_key=abcd&to=1430312999000from=1430226140000&query=system.cpu.idle{*}by{host}"
    },
    "response": {
      "body": "{\"status\":\"ok\",\"res_type\":\"time_series\",\"series\":[{\"metric\":\"system.cpu.idle\",\"attributes\":{},\"display_name\":\"system.cpu.idle\",\"unit\":null,\"pointlist\":[[1430311800000,98.19375610351562],[1430312400000,99.85856628417969]],\"end\":1430312999000,\"interval\":600,\"start\":1430311800000,\"length\":2,\"aggr\":null,\"scope\":\"host:vagrant-ubuntu-trusty-64\",\"expression\":\"system.cpu.idle{host:vagrant-ubuntu-trusty-64}\"}],\"from_date\":1430226140000,\"group_by\":[\"host\"],\"to_date\":1430312540000,\"query\":\"system.cpu.idle{*}by{host}\",\"message\":\"\"}",
      "status_code": 200,
      "type": "ok"
    }
  }
]