<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit
- **New Features**
- Introduced `SanitizedHtmlRenderer` for improved and secure HTML
content rendering in search results.
- **Enhancements**
- Improved error handling in the application, including updated error
messages with "TraceID" for better tracking.
- Enhanced user experience by allowing users to view additional error
details during search failures.
- Simplified error output by removing detailed error information from
user interfaces.
- **Bug Fixes**
- Adjusted handling of notifications to more accurately reflect error
states, especially for rate limiting scenarios.
- **Chores**
- Modified dependency version for `rudder-sdk-js` to a specific version,
potentially impacting update 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
- **Chores**
- Downgraded the `rudder-sdk-js` dependency version to enhance
compatibility and stability.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
in sql mode whenever user changes a stream name it should reflect in the
below drop down and respective schema.
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit
- **New Features**
- Enhanced stream handling within the logs search component.
- Improved management of selected streams, ensuring previous selections
do not persist.
- Added asynchronous processing capabilities for stream data fetching.
- **Bug Fixes**
- Resolved issues with stream selection clarity by resetting selected
streams appropriately.
<!-- 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**
- Updated error messaging in the Logs UI to provide clearer feedback to
users when search queries fail.
- **Chores**
- Improved element selection specificity in Playwright tests to ensure
interactions with the correct UI elements.
- Upgraded dependencies to the latest versions for improved performance,
security, and compatibility.
- Excluded unnecessary directories from TypeScript compilation to
enhance project specificity and efficiency.
- Refined time zone handling across components for better accuracy in
date and time displays.
<!-- 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 a `no_count` property to enhance data fetching, allowing
users to specify whether to include item counts in dashboard queries.
- Improved API call flexibility by adding the `no_count` parameter,
optimizing data retrieval based on user needs.
- **Bug Fixes**
- Adjusted the logic for counting items in dashboards, streamlining
performance and reducing unnecessary data payloads.
- **Documentation**
- Updated component and API documentation to reflect the changes in data
handling and query parameters.
<!-- 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 caching logic to enhance the accuracy and relevance of search
results.
- Enhanced conditions for evaluating cached results, reducing the chance
of returning outdated data.
- **Bug Fixes**
- Refined cache expiration criteria to ensure timely and relevant data
delivery.
- **Style**
- Updated variable names for improved readability and clarity in the
caching logic.
<!-- 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**
- Adjusted the default behavior for cache checks to prioritize
descending order results.
- Enhanced the caching mechanism by broadening the time range considered
for cache results.
- **Bug Fixes**
- Improved logic in the caching process to ensure more accurate timing
for cached data.
<!-- 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 enhanced test functions for more precise SQL queries,
improving the validation of result cache ratios.
- Added a new test for executing multiple SQL queries simultaneously,
expanding test coverage.
- **Bug Fixes**
- Updated assertions in existing tests to align with new query
structures and expected values.
- **Chores**
- Both new test functions are currently marked as skipped, indicating
they are not ready for execution.
<!-- 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 reliability of histogram data loading by refining conditional
logic.
- Ensured `loadLogsData()` only runs when necessary, enhancing
performance and preventing unnecessary calls.
- **New Features**
- Enhanced control flow to check for query result hits before proceeding
with certain operations.
- **Tests**
- Introduced a delay in the UI test to improve the reliability of
visibility checks for error messages after refresh actions.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
- [x] Reduce unused field for search on inverted index
- [x] Reduce order by for search on inverted index
- [x] Change `term like '%x%'` to `term like 'x%'`
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit
- **New Features**
- Updated URL generation for copying HTTP traces content in
OpenTelemetry component to improve accuracy.
- **Tests**
- Added a new test case to verify the display of results without
timestamps in quick mode.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
---------
Co-authored-by: Hengfei Yang <hengfei.yang@gmail.com>
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit
- **Bug Fixes**
- Improved caching behavior and response processing in search requests.
- Enhanced error handling and response generation for better user
experience.
- **Tests**
- Disabled specific UI interaction in Playwright tests to prevent test
failures.
- **Chores**
- Updated configuration defaults to improve clarity and efficiency.
- Made internal constants publicly accessible for broader usage.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
- #3980
- #3843
- Stream name change issue on chart type change for add panel.
- Validation on `add to dashboard` click.
- CSS issue while showing `errorList` in `addPanel` and `visualization`
page.
- Breakdown reset issue for pie and donut chart.
- Reset old rendered chart on toggle.
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit
- **Bug Fixes**
- Disabled a section of code that previously updated a field stream
under certain conditions.
- **New Features**
- Added validation and error notifications when adding new panels to the
dashboard to enhance user feedback.
- **Style**
- Updated layout and styling attributes in the dashboard panel view for
improved visual consistency.
<!-- 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
- **New Features**
- Introduced disk result caching for queries, along with metrics to
track usage.
- **Enhancements**
- Added support for different file types in disk caching, including data
and result files.
- Improved garbage collection to handle result files in addition to data
files.
- **Bug Fixes**
- Enhanced cache checking logic to correctly handle result timestamp
columns.
<!-- 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 cache handling to simplify and streamline response merging,
ensuring more efficient and predictable search results.
- Adjusted the default sorting behavior to ascending order, optimizing
the default user experience for search results.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
- [x] Add two consistent hashing table for `Interactive` and
`Background` querier group
- [x] Only cache latest parquet files for `Interactive` queriers.
- Report delta scan size for UI
- Report result cache ratio to usage
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit
- **New Features**
- Added `result_cache_ratio` field to enhance cache performance
tracking.
- **Enhancements**
- Updated search and logging functionalities to incorporate
`result_cache_ratio` for more detailed analytics.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
- Visualize the logs data
- Save these visualizations to the dashboard
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit
- **New Features**
- Introduced a new `SelectDashboardDropdown` component for selecting and
adding dashboards from a dropdown list.
- Added a `SelectTabDropdown` component for selecting and managing tabs
within a dashboard.
- **Enhancements**
- Added conditional rendering for folder selection in the `AddDashboard`
component.
- Improved handling and validation for `activeFolderId` and
`showFolderSelection` props.
- Enhanced `PanelSchemaRenderer` to handle null or undefined values more
gracefully.
- Updated various components to use dependency injection for
`dashboardPanelDataPageKey`.
- **Bug Fixes**
- Removed unnecessary `click()` actions in multiple UI test scripts to
streamline test flows.
- Fixed various selector and conditional rendering issues in UI
components for better stability and performance.
- **Refactor**
- Refactored `QueryEditor` to include a nullish check, improving
stability.
- Restructured `DashboardQueryEditor` for better maintainability and
clarity.
- Adjusted import statements and removed unused dependencies across
multiple components.
- **Style**
- Adjusted styles and button functionalities in `SearchBar` for a more
intuitive user experience.
- **Tests**
- Updated and streamlined Playwright tests to remove redundant actions
and improve efficiency.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
---------
Co-authored-by: omkark06 <omkar@zinclabs.io>
Co-authored-by: ktx-vaidehi <vaidehi.akhani@kiara.tech>
Co-authored-by: Neha P <neha@openobserve.ai>
We have a `fast mode` that only return the top N parquet files in the
`inverted index` which contains the `term total count > query.limit`.
But after we remove the `time range` for index query sql, the first
terms which `total count > 250` maybe is not in the query time range,
then it will cause the real query found nothing.
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit
- **New Features**
- Introduced a `fast mode` option to the file search functionality for
quicker initial page loads.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
---------
Co-authored-by: Taiming Liu <liutaiming3@gmail.com>
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit
- **New Features**
- Added the ability to set alerts using cron expressions, offering more
flexible scheduling options.
- Introduced a new "frequency_type" property to toggle between 'minutes'
and 'cron' settings for alerts.
- New tooltip and input fields for configuring cron job activation.
- **UI/UX Improvements**
- Updated tooltips, titles, and input fields for easier configuration of
cron-based alerts.
- Conditional rendering of input fields based on selected frequency
type.
- **Localization**
- Added new translation key "crontitle" with value "Enable Cron" in the
English locale.
- **Enhancements**
- Improved time-related functionalities with new date and timezone
conversion utilities.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
Fixes#3940
## New ENVs:
- `ZO_TRACING_GRPC_ORGANIZATION` - The name of the organization used to
ingest traces
- `ZO_TRACING_GRPC_STREAM_NAME` - The stream name to use for trace
export.
- `OTEL_OTLP_GRPC_ENDPOINT` - The grpc endpoint to use for trace export.
E.g. - `grpc://localhost:5081`. If this is specified,
`OTEL_OTLP_HTTP_ENDPOINT` is ignored.
`ZO_TRACING_HEADER_VALUE` can be used for authorization token.
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit
- **New Features**
- Added configuration options for GRPC tracing, including URL, type, and
header settings.
- **Improvements**
- Enhanced tracer exporter logic for better configurability based on
tracing type.
<!-- 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 text snippet suggestions in the Query Editor with updated
labels and insert text.
- Introduced new functions for advanced search and matching operations
in the Query Editor.
- **Improvements**
- Improved search instructions for 'error' values in the Syntax Guide,
including clarifications on case sensitivity.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
---------
Co-authored-by: Taiming Liu <liutaiming3@gmail.com>
Categorizes nodes into role groups selected to serve different query
requests based on query search event type.
---
Each node can be configured into different role groups by using the new
env: `ZO_NODE_ROLE_GROUP`
- default: `` (empty: none)
- node for high-priority tasks: `interactive`
- node for low-priority tasks: `background`
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit
- **New Features**
- Introduced `node_role_group` configuration to specify role groups for
nodes.
- Added `SearchEventType` to `SearchRequest` to enhance search
capabilities.
- Implemented `RoleGroup` enum to categorize nodes based on priority.
- **Improvements**
- Updated node registration and status setting to include `role_group`.
- Enhanced logging to include node's role group in cluster operations.
- Streamlined search logic by assigning `search_type` earlier in the
request handling process.
<!-- 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 index operations and migration handling for better
performance and reliability.
- Enhanced logging for detailed migration status and tuple information.
- **Bug Fixes**
- Added error handling to ensure proper setup of the OFGA model,
reducing potential failures during initialization.
- **Refactor**
- Streamlined the `init()` function to handle index stream migrations
and resource cleanup more efficiently.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->