-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Have an option for a metric to declare that it can populate retrospectively to backfill data #67
Comments
Actually in hindsite it is probably better to simply pass in the minimum time period to the metric, and then each internally handles all it's own logic so say if it needs to backfill or not. This will be idempotent and future runs will do nothing. This backfill can be run very infrequently like nightly. |
Hi @brendanheywood, I was wondering if there was a reason This is provoking a moodle exception to be thrown. Cheers, Marc |
No reason, but it isn't failing for us so far. In any case we are expecting rough edges as this is all hot off the press and not battle tested so just make issues and fix them as you see fit |
Actually, this is what caused issue #71. |
Hi @brendanheywood, Concerning the display of those informations, should it be accessible from this panel as well ? Should we use a form? Is there some specific concerning retrieving data from Cheers, Marc |
@marcghaly a rough outline of how I see this going:
I would say to start with for this issue that we only support backfilled data for the database collector and not for cloudwatch. |
If this is true for a metric then we probably want the interface for this to be quite different where we pass into the metric the time resolution (eg 5 mins) and the time period start and end date to backfill OR a max number of samples we want (or both), and it does all the logic and passes back the metrics which then the manager sends to the collectors.
Reason for this is it is going to be way more efficient this way.
Then wrap this in a new setting so we can also force set it, which is how back back in tie we should back fill. The manager is probably going to need to manage state on behalf of all the metrics, or each metric needs to be able to say what state it already has.
Need to then make some business decisions around which collectors support this, I would strongly assume that only the internal db collector will at first.
The text was updated successfully, but these errors were encountered: