Add time frame attribute to aggregated metric
What does this MR do?
This MR was extracted from !53854 (merged) It is scoped to adding new attribute time_frame
into aggregated metrics definition. Following changes has been included inside this MR
- It adds
time_frame
attribute to aggregated metrics definition as follow up to discussions from !52784 (comment 498373989) Main motivation is two fold, one it is wasteful to try calculate aggregate if component metrics has not been collected for given time frame. And two, current implementation, allows to return-1
fallback value when component metric is missing only for production environment, while raising error for development and test envs, such approach, helps to inform developers while crafting MR that additional instrumentation is required for given time frame - It updates aggregated metrics documentation with time frame attribute description
- It update existing aggregated metrics definitions with
time_frame
attribute, to match pre existing state
Does this MR meet the acceptance criteria?
Conformity
Edited by Mikołaj Wawrzyniak