From bc9cb691703cf828f6c52322a53a81c9bb72834f Mon Sep 17 00:00:00 2001 From: Yury Molodov Date: Thu, 19 Sep 2024 11:11:16 +0200 Subject: [PATCH] vmui/logs: add auto refresh (#7038) ### Describe Your Changes Add auto refresh #7017 ![image](https://github.com/user-attachments/assets/20ed1102-d5e4-4d3f-9c24-7d298d93400a) ### Checklist The following checks are **mandatory**: - [ ] My change adheres [VictoriaMetrics contributing guidelines](https://docs.victoriametrics.com/contributing/). --------- Co-authored-by: Roman Khavronenko --- .../packages/vmui/src/layouts/LogsLayout/ControlsLogsLayout.tsx | 2 ++ docs/VictoriaLogs/CHANGELOG.md | 2 ++ 2 files changed, 4 insertions(+) diff --git a/app/vmui/packages/vmui/src/layouts/LogsLayout/ControlsLogsLayout.tsx b/app/vmui/packages/vmui/src/layouts/LogsLayout/ControlsLogsLayout.tsx index 6a35f7ed7..378eca1d3 100644 --- a/app/vmui/packages/vmui/src/layouts/LogsLayout/ControlsLogsLayout.tsx +++ b/app/vmui/packages/vmui/src/layouts/LogsLayout/ControlsLogsLayout.tsx @@ -4,6 +4,7 @@ import GlobalSettings from "../../components/Configurators/GlobalSettings/Global import { ControlsProps } from "../Header/HeaderControls/HeaderControls"; import { TimeSelector } from "../../components/Configurators/TimeRangeSettings/TimeSelector/TimeSelector"; import TenantsFields from "../../components/Configurators/GlobalSettings/TenantsConfiguration/TenantsFields"; +import { ExecutionControls } from "../../components/Configurators/TimeRangeSettings/ExecutionControls/ExecutionControls"; const ControlsLogsLayout: FC = ({ isMobile }) => { @@ -16,6 +17,7 @@ const ControlsLogsLayout: FC = ({ isMobile }) => { > + ); diff --git a/docs/VictoriaLogs/CHANGELOG.md b/docs/VictoriaLogs/CHANGELOG.md index 78209f1e3..e2c09cc5c 100644 --- a/docs/VictoriaLogs/CHANGELOG.md +++ b/docs/VictoriaLogs/CHANGELOG.md @@ -15,6 +15,8 @@ according to [these docs](https://docs.victoriametrics.com/victorialogs/quicksta ## tip +* FEATURE: [web UI](https://docs.victoriametrics.com/victorialogs/querying/#web-ui): add button for enabling auto refresh, similarly to VictoriaMetrics vmui. See [this issue](https://github.com/VictoriaMetrics/VictoriaMetrics/issues/7017). + * BUGFIX: properly return logs without [`_msg`](https://docs.victoriametrics.com/victorialogs/keyconcepts/#message-field) field when `*` query is passed to [`/select/logsql/query` endpoint](https://docs.victoriametrics.com/victorialogs/querying/#querying-logs) together with positive `limit` arg. See [this issue](https://github.com/VictoriaMetrics/VictoriaMetrics/issues/6785). Thanks to @jiekun for itentifying the root cause of the issue. ## [v0.29.0](https://github.com/VictoriaMetrics/VictoriaMetrics/releases/tag/v0.29.0-victorialogs)