This commit is contained in:
2020-05-28 14:12:15 +00:00
parent 918baa85b8
commit ea33638667
4 changed files with 7 additions and 109 deletions

View File

@@ -37,27 +37,7 @@ 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)
OK, not a trivial thing to graph it requires "downsampling" or "decimation"
Here is a link to a c# method that will accomplish this:
https://github.com/sveinn-steinarsson/flot-downsample/
c#
https://gist.github.com/DanielWJudge/63300889f27c7f50eeb7
Add the other key metrics (datadog)
UI bit
Finally
make sure all the constants are set back to their proper production / testing values
Clean out old metrics DOCS and make a note for this stuff
*/
//Nothing is gathered less than one minute frequency
if (!DateUtil.IsAfterDuration(_lastSnapshot, tsOneMinute))
return;