- [x] If the search request size is 0 and in full sql mod and track
total hits, will not apply default limit `1000`.
- [x] change consistent hashing vnode default value to `16`
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit
- **Improvements**
- Enhanced performance and accuracy of data aggregation by updating
internal logic and default values.
- Improved configuration flexibility by allowing custom `history`
values.
These changes aim to provide a more robust and configurable experience
for end-users.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit
- **Refactor**
- Updated internal logic for handling `aggs` in search results to
improve performance and reliability.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
- #3460
- #2015
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit
- **New Features**
- Added multi-select functionality for variables in dashboards.
- Introduced a custom value selector component for dashboard settings.
- Updated the app to use Quasar's fullscreen module.
- **Enhancements**
- Improved query verification process in DashboardQueryEditor.
- Enhanced filtering logic for variable placeholders and values in
queries.
- Added "IN" operator support for dashboard queries.
- **Bug Fixes**
- Fixed issues with handling and displaying selected values in various
components.
- **Performance Improvements**
- Increased size parameter for dashboard panel data loading from 10 to
100.
- **Localization**
- Added new localization key: "multiSelect" for multiple selection
support.
- **UI/UX**
- Updated styles and key bindings in DrilldownPopUp.
- Enhanced display logic for selected values in
VariableQueryValueSelector.
- **Dependencies**
- Updated Quasar package from version ^2.7.5 to ^2.15.4.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
---------
Co-authored-by: ktx-abhay <abhay.padamani@kiara.tech>
When a user directly selects anything from the dropdown, it incorrectly
puts the value in the Legend config in dashboard's add panel config for
PromQL.
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit
- **Bug Fixes**
- Improved input handling in the configuration panel to ensure proper
formatting of values.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
- Multiple filters for the same field.
- Added p99, p95, p90 and p50 as an option on y-axis
- In Drilldown popup will now get variables value of current dashboard
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit
- **New Features**
- Added new percentile aggregation options (`p50`, `p90`, `p95`, `p99`)
across various dashboard components.
- Introduced `variablesData` prop to enhance data handling in several
components.
- **Improvements**
- Enhanced error handling and asynchronous operations in dashboard panel
functionalities.
- Improved readability and maintainability of aggregation functions in
query components.
- **Localization**
- Added new keys for percentiles (`p50`, `p90`, `p95`, `p99`) in the
English language file.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
- #3499
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit
- **New Features**
- Improved handling and sorting for "h-stacked" and "h-bar" chart types.
- Added sorting functionality for stacked charts based on the y-axis
field when not a time series chart.
- **Improvements**
- Enhanced data processing performance with asynchronous operations for
data conversion.
- **Bug Fixes**
- Corrected data inversion issues for "h-stacked" and "h-bar" chart
types.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
---------
Co-authored-by: ktx-vaidehi <vaidehi.akhani@kiara.tech>
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit
- **Bug Fixes**
- Fixed an issue where `totalCount` and `endCount` could be `NaN` by
setting them to 0 if they are `NaN`.
- **Improvements**
- Enhanced the `DateTime` component to initialize `startTime` and
`endTime` based on provided values or default to the current time with
adjustments.
- **Refactor**
- Simplified the `logs` plugin UI by removing the `<Suspense>` wrapper
around the `<search-bar>` component.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit
- **New Features**
- Introduced a new tracking mechanism for total counts and aggregation
status in logs.
- Enhanced pagination logic to account for aggregation presence.
- **Improvements**
- Refined the handling of start and end times in logs.
- Improved the logic for displaying histograms and aggregations.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
The new endpoint `/config/reload` will refresh the
environment variables.
There are a bunch of env-vars which will not be reloaded
for e.g. HTTP_PORT etc. these will need a restart.
---------
Co-authored-by: Hengfei Yang <hengfei.yang@gmail.com>
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit
- **New Features**
- Enhanced SQL query manipulation and result processing in the logs
functionality.
- Improved handling of aggregation flags in the logs.
- **Bug Fixes**
- Adjusted logic for calculating total query results to ensure accurate
data representation.
- **Tests**
- Added UI tests for resetting filters, refreshing the page, and
interacting with elements in SQL mode.
- **Chores**
- Commented out `loadLogsData()` function call in the logs module to
optimize performance.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
Prefetched Monao Editor when user hover's over the left side menubar for
first time.
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit
- **New Features**
- Added functionality to expand the menu on mouseover.
- Introduced script prefetching for improved performance.
- **Enhancements**
- Wrapped the `<search-bar>` component with `<Suspense>` for better
loading experience.
- **Configuration**
- Updated asset naming strategy to include versioning for specific
assets.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
- Verify pagination displayed for schema
- Verify pagination displayed when histogram is off and user clicks on
log result and closes the result
- Verify if pagination is displayed when SQL is on and user clicks on
log result and closes the result
- Verify if results displayed when SQL+histogram is on and then stream
is selected
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit
- **New Features**
- Enhanced login process to improve user authentication flow.
- Added pagination functionality for better navigation through results
in various scenarios.
- Improved display of results when SQL and histogram features are used
together.
- Enhanced user interface for selecting streams and displaying
corresponding results.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
match_all renamed to match_all_raw
match_all_indexed renamed to match_all
same pattern applied to *_ignore_case functions
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit
- **Bug Fixes**
- Improved clarity in function names for better understanding and
usability.
- **Tests**
- Updated SQL queries in test cases to reflect changes in function
names, ensuring accurate test results.
- **Chores**
- Adjusted logging statements to provide better insights during
debugging.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
- #3605
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit
- **Bug Fixes**
- Improved data conversion in dashboard panels for more consistent
behavior.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit
- **Improvements**
- Enhanced initialization process to prevent redundant cluster lock
creation when the existing OFGA model version matches the fetched
version. This improvement reduces unnecessary operations and improves
system efficiency.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
There are three cases to consider:
if ZO_ENABLE_EMBEDDED_REPORT_SERVER=true
If running a binary, alertmanager node will spawn an embedded server
running at localhost:5082.
All the requests from alert-manager will go to localhost:5082 for pdf
generation related tasks.
For single node k8s deployment, as this is running in a container there
is no chromium installed, so even if you set the variable to true, the
report server will panic due to missing dependencies. For this situation
helm chart will spawn a report-server instance which can be used.
Same for cluster deployment.
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit
- **New Features**
- Introduced a new report server for generating and sending reports.
- Added health check and report sending endpoints.
- **Improvements**
- Enhanced logging for report server operations.
- Configurable option to skip TLS verification for report server
connections.
- **Bug Fixes**
- Fixed formatting issue in HTTP status request handler.
- **Chores**
- Updated dependencies and configurations for the new report server
module.
- **Documentation**
- Added new structures and functions for email configuration, report
generation, and server operations.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
fix#3598
SQL query was getting parsed before loading of node-sql-parser
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit
- **New Features**
- Improved initialization process for dashboard query editor.
- Enhanced query update mechanism with conditional logic based on
context.
- **Performance Improvements**
- Optimized the loading process for dashboard queries.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
add a new test environment:
```
ZO_DATAFUSION_PARQUET_STAT_DISABLE_FOR_AGGS=false
```
Set to `true` will skip collect stat for parquet files, then it will
faster.
And, i am thinking the final solution should be cache parquet
statistics, or we can optimize datafusion let it only collect stat for
registered schema fields.
---------
Co-authored-by: oasisk <ashish.j.kolhe@gmail.com>
- Verify if user is able to create and delete Once - type report
- Verify if user is able to create and delete Hourly - type report
- Verify if user is able to create and delete weekly- type report
- Verify if user is able to create and delete monthly - type report
- Verify if user is able to create a new dashboards for all the reports
and delete it
- Verify if user is able to delete all the reports after creating
fix#3558
1. Extra star appearing in cron field on edit
2. Editing an existing report gives error but works after reload
3. Change error message when saving report with same name
Fixes#3355
User must use a separate chrome server if `ZO_CHROME_PATH` is not
specified. `ZO_REPORT_SERVER_URL` is introduced to specify the report
server url.
- Add cluster selection in logs search queries for additional filtering
based on region/clusters
- add org/stream info in ingestion http handler error logging
---------
Co-authored-by: Hengfei Yang <hengfei.yang@gmail.com>