Skip to content

Commit

Permalink
Better logging message about history (#351)
Browse files Browse the repository at this point in the history
  • Loading branch information
aantn authored Oct 25, 2024
1 parent 6a5cfa7 commit 7cc6861
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions robusta_krr/core/runner.py
Original file line number Diff line number Diff line change
Expand Up @@ -218,8 +218,8 @@ async def _check_data_availability(self, cluster: Optional[str]) -> None:
try:
history_range = await prometheus_loader.get_history_range(timedelta(hours=5))
except ValueError:
logger.warning(
f"Was not able to get history range for cluster {cluster}. This is not critical, will try continue."
logger.info(
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.)"
)
self.errors.append(
{
Expand Down

0 comments on commit 7cc6861

Please sign in to comment.