<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit
- **Bug Fixes**
- Improved error handling in log search functionality to ensure accurate
loading state updates.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
- Added more search queries under pytest
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit
- **Tests**
- Added new end-to-end test functions for various SQL queries, including
count aggregation, match, max, in, and distinct queries, to ensure API
reliability and accuracy.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
Issue : #3724
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit
- **Bug Fixes**
- Improved accuracy in detecting timestamp columns in log queries,
ensuring more reliable data handling and display.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
Fixed function breaking testcase under logs
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit
- **Tests**
- Updated UI test selectors for the logs page to improve accuracy and
reliability.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
Add download script to make it easy to get started
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit
- **New Features**
- Introduced an automated script to detect platform and architecture,
fetch the latest release information from a GitHub repository, and
download the appropriate release asset.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
Fixes#3695
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit
- **New Features**
- Added `trace_id` support across various functions to enhance tracking
and debugging capabilities.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit
- **Bug Fixes**
- Improved spacing in error handling to enhance code readability.
- **New Features**
- Enhanced search functionality with additional parameters for more
precise results.
- Dynamically added columns based on specific conditions to improve data
visualization.
- **Tests**
- Updated UI tests to ensure compatibility with the new search and
column addition features.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
---------
Co-authored-by: Neha P <neha@openobserve.ai>
rum proxy endpoint used `awc` and between the upgrades the tls support
was somehow broken.
In this PR we replaced `awc` -> `reqwest` and added a few tests with the
corresponding changes
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit
- **New Features**
- Introduced conditional authentication for routes based on a new flag.
- Switched HTTP client library to improve request handling.
- **Improvements**
- Enhanced route handling with more flexible authentication control.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit
- **Bug Fixes**
- Corrected time calculation logic to ensure accurate end time display.
<!-- 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**
- Enhanced user authentication by adding extended password fields and
support for generating presigned login URLs.
- Improved user management with new functions for handling user data and
authentication tokens.
- **Bug Fixes**
- Fixed issues with user data handling by passing references instead of
values in database operations.
- **Refactor**
- Streamlined authentication and user management code for better
maintainability and performance.
- **Tests**
- Added new test cases to validate password hashing and presigned URL
generation functionalities.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
---------
Co-authored-by: oasisk <ashish.j.kolhe@gmail.com>
Co-authored-by: Bhargav <BJP232004@GMAIL.COM>
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit
- **New Features**
- Expanded filter operator options in settings to include '>=', '<=',
'>', '<', 'Contains', 'Not Contains', 'Is Null', and 'Is Not Null'.
- **Enhancements**
- Improved filtering logic in search functionality to handle options
using regular expressions.
- Adjusted the width of scrollable containers in dashboard settings for
better content display.
- **Refactor**
- Updated internal handling of filter items in various dashboard
components to improve performance and maintainability.
<!-- 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**
- Improved query processing by adding asynchronous SQL parser import in
the histogram interval watch block. This enhances performance and
ensures the parser is only loaded when needed.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
- #3528
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit
- **New Features**
- Introduced nanoseconds as a new time unit option in dashboards.
- Added milliseconds as an additional time unit choice in dashboards.
- **Localization**
- Updated English language localization to include "Nanoseconds (ns)".
- **Enhancements**
- Improved time measurement granularity by incorporating nanoseconds in
data conversion utilities.
<!-- 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**
- Enhanced report URLs with a `searchtype=reports` parameter for better
categorization and filtering of reports.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
fix#3671
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit
- **Bug Fixes**
- Improved the user deletion process to be more reliable by making it
asynchronous.
- Ensured that organization members are updated immediately after a user
is deleted.
- Added a new function to update user actions post-deletion.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
- Verify if table type dashboard is created
- Verify if timezone selected as Asia/Calcuta and timestamp on UI is as
per selected timezone
- Verify if user is able to change timezone to Europe/Zurich
- Verify if the timezone is updated to changed timezone
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit
- **New Features**
- Introduced timestamp comparison tests across different timezones on
dashboards.
- **Tests**
- Added new helper functions for test cases to streamline request
sending and timestamp formatting.
- Cleaned up and optimized existing test cases by removing unused and
commented-out code.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
---------
Co-authored-by: ktx-abhay <abhay.padamani@kiara.tech>
- fix PromQL functions: irate, topk, bottomk, and histogram_quantile
- perf: remove rayon `par_iter()` and some unnecessary clones
This PR improved compliance coverage from 95.07% to
```bash
================================================================================
General query tweaks:
* Openobserve is sometimes off by 1ms when parsing floating point start/end timestamps.
* Openobserve fractional tolerance amount for <agg>_over_time queries
================================================================================
Total: 538 / 548 (98.18%) passed, 0 unsupported
```
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit
- **Bug Fixes**
- Improved label handling and processing in the data evaluation
functions.
- Optimized value processing by removing unnecessary cloning operations.
- Enhanced accuracy in time difference calculations in rate functions.
- **Performance**
- Streamlined iteration and filtering operations for better performance.
- Simplified `Engine` instance creation to reduce overhead.
- **Refactor**
- Refined logic in histogram functions to handle empty buckets more
effectively.
- Adjusted control flow in extrapolated rate calculations for better
efficiency.
<!-- 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**
- Reformatted the `usage_publish_interval` configuration attribute for
better readability.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
Fixes#3373
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit
- **New Features**
- Improved the handling and publishing of usage data, ensuring more
efficient and timely updates.
- **Refactor**
- Streamlined the internal control flow for managing usage data,
enhancing overall system performance.
<!-- 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**
- Improved handling and parsing of SQL queries for better performance
and reliability.
- Simplified logic for timestamp handling and query parsing.
- **Bug Fixes**
- Fixed issues with error notifications related to SQL orderby and
timestamp requirements.
- **New Features**
- Added dynamic column addition to the result grid based on SQL mode and
selected fields.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
---------
Co-authored-by: Neha P <neha@openobserve.ai>
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit
- **New Features**
- Introduced `searchType` attribute across various components to enhance
search functionality.
- Added support for different search event types like `UI`,
`Dashboards`, `Reports`, `Alerts`, `Values`, and `RUM`.
- **Bug Fixes**
- Improved search parameter handling in multiple components and API
calls.
- **Enhancements**
- Updated search-related functions to include `searchType` for more
precise search results.
- Enhanced dashboard and RUM views with new `searchType` attributes for
better data filtering.
- **Refactor**
- Standardized search functionality across different modules and
components.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
---------
Co-authored-by: ktx-abhay <abhay.padamani@kiara.tech>
- format timestamp field based on selected Timezone for dashboard table
chart.
- `max_record_size` issue for non `query-values` typed variable.
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit
- **New Features**
- Enhanced data conversion functions with the ability to identify time
series and timestamp data.
- **Improvements**
- Updated table data conversion logic to support additional data
handling scenarios.
- Improved the calculation of totals for series data in SQL conversions.
- Enhanced support for date formatting in histogram fields for both auto
and custom SQL queries.
<!-- 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**
- Added new test cases for checking JSON responses with timestamps and
assertions for response statuses.
- **Bug Fixes**
- Updated query functions for stream exploration to improve accuracy.
- **Chores**
- Added a new environment variable `ZO_INGEST_ALLOWED_UPTO` with a value
of `5`.
- **Tests**
- Enhanced UI tests with new functions and assertions to improve test
coverage and reliability.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit
- **Bug Fixes**
- Improved the logic for formatting record batches to handle cases where
schema fields are empty before comparison, ensuring more robust data
processing.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
The query `size` works like this, it should more clear now:
1. size > 0, it will return hits equal to `size`
2. size = 0, it will return empty hits, this used to other purposes,
like: get total, get aggs.
3. size = -1, it will use a backend default limit to return hits,
setting by `ZO_QUERY_DEFAULT_LIMIT=1000`
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit
- **Bug Fixes**
- Corrected handling of query parameters by changing types from `usize`
to `i64` to support larger values and prevent potential overflow issues.
- **Improvements**
- Enhanced the logic for setting query limits to handle negative values
more gracefully, ensuring better default behavior.
- **Refactor**
- Updated various internal structures and function signatures to use
`i64` instead of `usize` for consistency and improved range handling.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
#3656
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit
- **Style**
- Improved visibility of date and time pop-ups by adjusting their
z-index.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit
- **Bug Fixes**
- Temporarily disabled certain logging functionalities to improve
performance.
- Removed the `aggs` property from search results to streamline data
handling.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
Traces Query Editor was not working as expected.
Applied filters were not visible in editor
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit
- **New Features**
- Added support for a new condition type `promql` in alert handling.
- **Refactor**
- Converted `getStreamList()` and `loadPageData()` functions to use
`async/await` for better promise handling.
- **Style**
- Updated import paths and HTML tags for consistency and improved
readability.
- **Chores**
- Removed unnecessary `console.log` statements for cleaner code.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit
- **Bug Fixes**
- Enhanced error handling in the log querying process to improve
stability.
- Adjusted height calculations in search results for better display
based on user settings.
- **Improvements**
- Restructured query logic for better performance and accuracy.
- Improved processing of partitions and pagination for more efficient
data handling.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
Fixes#3640
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit
- **New Features**
- Improved the efficiency of updating and fetching scheduled jobs by
using dynamic SQL query construction based on job IDs.
<!-- 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**
- Enhanced search functionality with indexed matching options.
- **Bug Fixes**
- Updated SQL queries in tests to align with new matching functions.
- **Improvements**
- Standardized naming conventions for matching functions to improve
clarity and consistency.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
- `max_record` issue for variables setting
- z-index issue for datetime and auto refresh interval in full screen
mode
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit
- **New Features**
- Added a watcher for changes in `max_record_size` to automatically
handle empty values in settings.
- **Refactor**
- Improved time handling logic in date-time components for better
accuracy and reliability.
- **Style**
- Enhanced UI with updated `z-index` properties for better layering and
visibility in date-time and select components.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
---------
Co-authored-by: ktx-vaidehi <vaidehi.akhani@kiara.tech>
- [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 -->