I'm pushing custom metrics to IBM
monitoring using the REST API
.
That seems to work because querying the data returns it (see below).
However, whatever metric I try to configure in Grafana, the visualization always comes up empty with "no datapoints".
How should I address the custom metric in Grafana?
POST https://metrics.ng.bluemix.net/v1/metrics
[
{
"name":"test_metric",
"value":80,
"timestamp":1541866045
}
]
GET https://metrics.ng.bluemix.net/v1/metrics?target=*&from=1541865900&to=now
[
{
"target": "test_metric",
"datapoints": [
[
100,
1541865930
],
[
30,
1541865960
],
[
30,
1541865990
],
[
80,
1541866020
],
[
null,
1541866050
],
[
null,
1541866080
]
]
}
]