title: IBM Cloud Monitoring - Viewing Custom Metrics in Grafana
body: <p>I'm pushing custom metrics to <code>IBM</code> monitoring using the <code>REST API</code>.
  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".</p>
  
  <p>How should I address the custom metric in Grafana?</p>
  
  <pre><code>POST https://metrics.ng.bluemix.net/v1/metrics
  
  [
      {
          "name":"test_metric",
          "value":80,
          "timestamp":1541866045
      }
  ]
  
  GET https://metrics.ng.bluemix.net/v1/metrics?target=*&amp;from=1541865900&amp;to=now
  
  [
    {
      "target": "test_metric",
      "datapoints": [
          [
              100,
              1541865930
          ],
          [
              30,
              1541865960
          ],
          [
              30,
              1541865990
          ],
          [
              80,
              1541866020
          ],
          [
              null,
              1541866050
          ],
          [
              null,
              1541866080
          ]
     ]
    }
  ]
  </code></pre>