From 764f891ff415bf7e9faa69d322b79c4c796b589f Mon Sep 17 00:00:00 2001 From: John Cardinal Date: Mon, 25 May 2020 22:59:22 +0000 Subject: [PATCH] --- server/AyaNova/biz/JobsBiz.cs | 2 +- .../AyaNova/generator/CoreJobMetricsSnapshot.cs | 17 +++++++++++++++++ 2 files changed, 18 insertions(+), 1 deletion(-) diff --git a/server/AyaNova/biz/JobsBiz.cs b/server/AyaNova/biz/JobsBiz.cs index 4ce9f3a7..a300b7ea 100644 --- a/server/AyaNova/biz/JobsBiz.cs +++ b/server/AyaNova/biz/JobsBiz.cs @@ -323,7 +323,7 @@ namespace AyaNova.Biz } } - //STOCK JOBS + //Capture metrics CoreJobMetricsSnapshot.DoJob(); diff --git a/server/AyaNova/generator/CoreJobMetricsSnapshot.cs b/server/AyaNova/generator/CoreJobMetricsSnapshot.cs index 5154e988..376f2bdd 100644 --- a/server/AyaNova/generator/CoreJobMetricsSnapshot.cs +++ b/server/AyaNova/generator/CoreJobMetricsSnapshot.cs @@ -38,6 +38,23 @@ namespace AyaNova.Biz // public static void DoJob() { + + /* + TODO: + Add routes with downsampling / decimation option + i.e. Fetch(timeperiod, results to fetch) if(resultstofetch < result of query for timeperiod downsample to make it fit) + + Add the other key metrics (datadog) + + UI bit + + Finally + make sure all the constants are set back to their proper production / testing values + + + */ + + #region worksheet //https://github.com/sebastienros/memoryleak/blob/master/src/MemoryLeak/MemoryLeak/Controllers/DiagnosticsController.cs // //DATA TYPES .net to postgres map