Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Better logging message about history #351

Merged
merged 1 commit into from
Oct 25, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading