Skip to content

Commit 7cc6861

Browse files
authored
Better logging message about history (#351)
1 parent 6a5cfa7 commit 7cc6861

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

robusta_krr/core/runner.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -218,8 +218,8 @@ async def _check_data_availability(self, cluster: Optional[str]) -> None:
218218
try:
219219
history_range = await prometheus_loader.get_history_range(timedelta(hours=5))
220220
except ValueError:
221-
logger.warning(
222-
f"Was not able to get history range for cluster {cluster}. This is not critical, will try continue."
221+
logger.info(
222+
f"Unable to check how much historical data is available on cluster {cluster}. Will assume it is sufficient and calculate recommendations anyway. (You can usually ignore this. Not all Prometheus compatible metric stores support checking history settings.)"
223223
)
224224
self.errors.append(
225225
{

0 commit comments

Comments
 (0)