raintank / crate-datasource

Apache License 2.0
13 stars 8 forks source link

Graph mismatch with data from backend #8

Closed jodok closed 8 years ago

jodok commented 8 years ago

it seems that under some circumstance that graph doesn't match with the data from the backend. e.g. i'm visualizing the load['1'] of our demo cluster - and it shows that the node demo-08 has a load of 2.0 - but it hasn't. i also couldn't find that in the response of the backend.

{
    "cols": [
        "time",
        "avg(load['1'])",
        "hostname"
    ],
    "duration": 14,
    "rows": [
        [
            1468259280000,
            0.01,
            "demo-07"
        ],
        [
            1468259280000,
            0,
            "demo-10"
        ],
        [
            1468259280000,
            0,
            "demo-11"
        ],
        [
            1468259280000,
            0,
            "demo-06"
        ],
        [
            1468259280000,
            0.01,
            "demo-12"
        ],
        [
            1468259280000,
            0.09000000000000001,
            "demo-08"
        ],
        [
            1468259280000,
            0.013333333333333334,
            "demo-01"
        ],
        [
            1468259280000,
            0.016666666666666666,
            "demo-05"
        ],
        [
            1468259280000,
            0.023333333333333334,
            "demo-03"
        ],
        [
            1468259280000,
            0.18000000000000002,
            "demo-02"
        ],
        [
            1468259280000,
            0.0033333333333333335,
            "demo-09"
        ],
        [
            1468259280000,
            0.05000000000000001,
            "demo-04"
        ],
        [
            1468259340000,
            0.008,
            "demo-05"
        ],
        [
            1468259340000,
            0,
            "demo-06"
        ],
        [
            1468259340000,
            0.042,
            "demo-04"
        ],
        [
            1468259340000,
            0.048,
            "demo-01"
        ],
        [
            1468259340000,
            0,
            "demo-12"
        ],
        [
            1468259340000,
            0.08199999999999999,
            "demo-02"
        ],
        [
            1468259340000,
            0.052000000000000005,
            "demo-11"
        ],
        [
            1468259340000,
            0,
            "demo-09"
        ],
        [
            1468259340000,
            0.01,
            "demo-03"
        ],
        [
            1468259340000,
            0.132,
            "demo-08"
        ],
        [
            1468259340000,
            0.004,
            "demo-07"
        ],
        [
            1468259340000,
            0,
            "demo-10"
        ],
        [
            1468259400000,
            0.066,
            "demo-01"
        ],
        [
            1468259400000,
            0.028000000000000004,
            "demo-11"
        ],
        [
            1468259400000,
            0.06400000000000002,
            "demo-04"
        ],
        [
            1468259400000,
            0,
            "demo-12"
        ],
        [
            1468259400000,
            0.074,
            "demo-02"
        ],
        [
            1468259400000,
            0.13399999999999998,
            "demo-08"
        ],
        [
            1468259400000,
            0,
            "demo-07"
        ],
        [
            1468259400000,
            0,
            "demo-05"
        ],
        [
            1468259400000,
            0,
            "demo-06"
        ],
        [
            1468259400000,
            0.014000000000000002,
            "demo-10"
        ],
        [
            1468259400000,
            0.05600000000000001,
            "demo-09"
        ],
        [
            1468259400000,
            0.002,
            "demo-03"
        ],
        [
            1468259460000,
            0.118,
            "demo-01"
        ],
        [
            1468259460000,
            0,
            "demo-06"
        ],
        [
            1468259460000,
            0,
            "demo-12"
        ],
        [
            1468259460000,
            0.041999999999999996,
            "demo-10"
        ],
        [
            1468259460000,
            0.034,
            "demo-04"
        ],
        [
            1468259460000,
            0.062,
            "demo-02"
        ],
        [
            1468259460000,
            0.038,
            "demo-03"
        ],
        [
            1468259460000,
            0,
            "demo-05"
        ],
        [
            1468259460000,
            0.01,
            "demo-11"
        ],
        [
            1468259460000,
            0.10400000000000001,
            "demo-08"
        ],
        [
            1468259460000,
            0.074,
            "demo-09"
        ],
        [
            1468259460000,
            0,
            "demo-07"
        ],
        [
            1468259520000,
            0.030000000000000006,
            "demo-03"
        ],
        [
            1468259520000,
            0.046,
            "demo-06"
        ],
        [
            1468259520000,
            0.11000000000000001,
            "demo-01"
        ],
        [
            1468259520000,
            0.08600000000000001,
            "demo-08"
        ],
        [
            1468259520000,
            0.09,
            "demo-02"
        ],
        [
            1468259520000,
            0,
            "demo-07"
        ],
        [
            1468259520000,
            0,
            "demo-05"
        ],
        [
            1468259520000,
            0.028000000000000004,
            "demo-09"
        ],
        [
            1468259520000,
            0.002,
            "demo-11"
        ],
        [
            1468259520000,
            0.064,
            "demo-10"
        ],
        [
            1468259520000,
            0.012,
            "demo-04"
        ],
        [
            1468259520000,
            0,
            "demo-12"
        ],
        [
            1468259580000,
            0.1,
            "demo-01"
        ],
        [
            1468259580000,
            0,
            "demo-05"
        ],
        [
            1468259580000,
            0.034,
            "demo-10"
        ],
        [
            1468259580000,
            0.024,
            "demo-06"
        ],
        [
            1468259580000,
            0.030000000000000006,
            "demo-04"
        ],
        [
            1468259580000,
            0.05,
            "demo-02"
        ],
        [
            1468259580000,
            0,
            "demo-07"
        ],
        [
            1468259580000,
            0,
            "demo-12"
        ],
        [
            1468259580000,
            0.012,
            "demo-03"
        ],
        [
            1468259580000,
            0.01,
            "demo-09"
        ],
        [
            1468259580000,
            0.12800000000000003,
            "demo-08"
        ],
        [
            1468259580000,
            0,
            "demo-11"
        ],
        [
            1468259640000,
            0.008333333333333333,
            "demo-06"
        ],
        [
            1468259640000,
            0.08833333333333333,
            "demo-02"
        ],
        [
            1468259640000,
            0.055,
            "demo-11"
        ],
        [
            1468259640000,
            0.03833333333333333,
            "demo-01"
        ],
        [
            1468259640000,
            0,
            "demo-05"
        ],
        [
            1468259640000,
            0.10166666666666667,
            "demo-10"
        ],
        [
            1468259640000,
            0.0016666666666666668,
            "demo-09"
        ],
        [
            1468259640000,
            0.03166666666666667,
            "demo-04"
        ],
        [
            1468259640000,
            0.0016666666666666668,
            "demo-03"
        ],
        [
            1468259640000,
            0,
            "demo-07"
        ],
        [
            1468259640000,
            0.16166666666666665,
            "demo-08"
        ],
        [
            1468259640000,
            0,
            "demo-12"
        ],
        [
            1468259700000,
            0.045,
            "demo-02"
        ],
        [
            1468259700000,
            0.02,
            "demo-11"
        ],
        [
            1468259700000,
            0.055,
            "demo-05"
        ],
        [
            1468259700000,
            0.015,
            "demo-01"
        ],
        [
            1468259700000,
            0,
            "demo-03"
        ],
        [
            1468259700000,
            0.0375,
            "demo-10"
        ],
        [
            1468259700000,
            0,
            "demo-06"
        ],
        [
            1468259700000,
            0.01,
            "demo-04"
        ],
        [
            1468259700000,
            0.13,
            "demo-08"
        ],
        [
            1468259700000,
            0,
            "demo-07"
        ],
        [
            1468259700000,
            0,
            "demo-09"
        ],
        [
            1468259700000,
            0,
            "demo-12"
        ]
    ],
    "rowcount": 96
}
jodok commented 8 years ago

sorry - my mistake :) when attaching the screenshot i realized it is the cpu usage that was 2.0 - and that the backend in fact reported 2.0 all the time.