Insert Forecast Deviation

Request

URI

POST /api/v1/series/insert

Payload

[
    {
        "entity": "nurswgvml007",
        "metric": "mpstat.cpu_busy",
        "type": "FORECAST",
        "forecastName":"cpu_busy_local",
        "data": [
            {
                "t":1462427358127,
                "v":25.0,
                "s":7.0
            }
        ]
    }
]

Response

Query

[
    {
        "startDate": "2015-02-22T13:37:00Z",
        "endDate": "2016-06-22T13:40:00Z",
        "forecastName":"cpu_busy_local",
        "type": "FORECAST_DEVIATION",
        "entity": "nurswgvml007",
        "metric": "mpstat.cpu_busy"
    }
]

Response

[
    {
        "entity": "nurswgvml007",
        "metric": "mpstat.cpu_busy",
        "tags": {},
        "type": "FORECAST_DEVIATION",
        "aggregate": {
            "type": "DETAIL"
        },
        "forecastName": "test",
        "data": [
            {
                "t": 1462427358127,
                "v": 7
            }
        ]
    }
]