mechanism for collection of feed statistics (checkpoint 1)
diff --git a/asterix-app/src/main/resources/feed/dashboard.html b/asterix-app/src/main/resources/feed/dashboard.html
index 72d996d..addf706 100644
--- a/asterix-app/src/main/resources/feed/dashboard.html
+++ b/asterix-app/src/main/resources/feed/dashboard.html
@@ -5,7 +5,9 @@
var random = new TimeSeries();
setInterval(function() {
- random.append(new Date().getTime(), Math.random() * 10000);
+
+ $.get('/feed/data?dataverse=%s&dataset=%s&feed=%s', function(data) {
+ feedSeries.append(data[“time”], data[“value”]);
}, 500);
function createTimeline() {