What challenge are you facing?
Right now time resource versions are unpredictable. The resource check will output the current timestamp after its interval has elapsed (or whatever other configuration is used). However, if the check gets delayed then the gap between versions is unpredictable.
What would make this better?
Make time resource versions more predictable. Instead of emitting the current timestamp, emit versions at set times based on the interval specified. This means that if the last version emitted was 1:42:05 and the interval was 1m then if the check runs at say 1:45:30 the following versions would be emitted: 1:43:05, 1:44:05, 1:45:05. This way regardless of when the check actually runs, we end up with a deterministic set of versions.
What challenge are you facing?
Right now time resource versions are unpredictable. The resource
checkwill output the current timestamp after itsintervalhas elapsed (or whatever other configuration is used). However, if thecheckgets delayed then the gap between versions is unpredictable.What would make this better?
Make time resource versions more predictable. Instead of emitting the current timestamp, emit versions at set times based on the interval specified. This means that if the last version emitted was
1:42:05and the interval was1mthen if the check runs at say1:45:30the following versions would be emitted:1:43:05,1:44:05,1:45:05. This way regardless of when the check actually runs, we end up with a deterministic set of versions.