From aa74d5cd8241171b6e9da05b9c7fdb4be40a9073 Mon Sep 17 00:00:00 2001 From: Girish Ramakrishnan Date: Tue, 20 Aug 2019 19:47:24 -0700 Subject: [PATCH] Add a note --- src/routes/graphs.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/routes/graphs.js b/src/routes/graphs.js index 0f1136f4e..084b591be 100644 --- a/src/routes/graphs.js +++ b/src/routes/graphs.js @@ -8,6 +8,7 @@ var middleware = require('../middleware/index.js'), url = require('url'); // for testing locally: curl 'http://127.0.0.1:8417/graphite-web/render?format=json&from=-1min&target=absolute(collectd.localhost.du-docker.capacity-usage)' +// the datapoint is (value, timestamp) https://buildmedia.readthedocs.org/media/pdf/graphite/0.9.16/graphite.pdf const graphiteProxy = middleware.proxy(url.parse('http://127.0.0.1:8417')); function getGraphs(req, res, next) {