From 877c726246ae5ee912e7bbd3284e5ade500f7d49 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Piotr=20Jamr=C3=B3z?= Date: Thu, 28 Oct 2021 10:53:15 +0200 Subject: [PATCH] Loki: Use fixed bucket size for logs volume (#40873) * Use fixed bucket size for logs volume * Fix unit tests --- .../app/features/explore/LogsVolumePanel.tsx | 2 +- .../dataProviders/logsVolumeProvider.test.ts | 5 ++ .../loki/dataProviders/logsVolumeProvider.ts | 48 +++++++++++++++++-- 3 files changed, 49 insertions(+), 6 deletions(-) diff --git a/public/app/features/explore/LogsVolumePanel.tsx b/public/app/features/explore/LogsVolumePanel.tsx index 18b39b9606d..3132b792fd8 100644 --- a/public/app/features/explore/LogsVolumePanel.tsx +++ b/public/app/features/explore/LogsVolumePanel.tsx @@ -60,7 +60,7 @@ export function LogsVolumePanel(props: Props) { if (zoomRatio !== undefined && zoomRatio < 1) { zoomLevelInfo = ( <> - Reload to show higher resolution + Reload logs volume