diff options
| author | avi robusta <avi@robusta.dev> | 2023-09-04 17:56:18 +0300 |
|---|---|---|
| committer | avi robusta <avi@robusta.dev> | 2023-09-04 17:56:18 +0300 |
| commit | f55a3d5e9d82bee64c7baa5d0b8f41a730b325ff (patch) | |
| tree | fb2f0214ce402de6899afb5a377b5d31adf01d85 /robusta_krr | |
| parent | ee6d26513b1e0f6a33b93b5da3a8ccb1f9f94638 (diff) | |
checking exact step count
Diffstat (limited to 'robusta_krr')
| -rw-r--r-- | robusta_krr/core/runner.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/robusta_krr/core/runner.py b/robusta_krr/core/runner.py index 0caa92f..9b435bd 100644 --- a/robusta_krr/core/runner.py +++ b/robusta_krr/core/runner.py @@ -208,7 +208,7 @@ class Runner(Configurable): try: # eks has a lower step limit than other types of prometheus, it will throw an error step_count = self._strategy.settings.history_duration * 60 / self._strategy.settings.timeframe_duration - if self.config.eks_managed_prom and step_count > 10000: + if self.config.eks_managed_prom and step_count > 11000: min_step = self._strategy.settings.history_duration * 60 / 10000 self.warning(f"The timeframe duration provided is insufficient and will be overridden with {min_step}. Kindly adjust --timeframe_duration to a value equal to or greater than {min_step}.") self._strategy.settings.timeframe_duration = min_step |
