<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit
- **New Features**
- Introduced the ability to configure mark lines within dashboard
panels, allowing for more detailed visual representations.
- Added a new structure, `MarkLine`, to support configuration options
for mark lines, enhancing dashboard customization.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
Fixes#4155
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit
- **New Features**
- Improved handling of alert triggers for `Cron` frequency types,
allowing for more accurate scheduling after silence periods.
- **Bug Fixes**
- Enhanced functionality for alert rescheduling, ensuring alerts are
appropriately silenced and triggered based on their defined schedules.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
fix: #2369#3379#4090
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit
## Summary by CodeRabbit
- **New Features**
- Introduced new UI components for managing organization settings with
validation.
- Added "View Logs" button functionality in the trace sidebar.
- Enhanced span logs management with new selection and viewing features.
- Added search capabilities for log stream selection in trace details.
- Added new routes for Trace Details and Organization Settings with
access control.
- **Improvements**
- Updated layout and styling for better user experience, including
full-width trace details.
- Integrated services for fetching trace metadata and log streams.
- Enhanced user feedback mechanisms for actions like copying trace URLs.
- Improved interactivity and responsiveness in span-related components.
- Refined navigation and routing for trace details and organization
settings.
- Improved error handling and state management in log fetching
functionalities.
- **Bug Fixes**
- Adjusted CSS to correct layout issues in trace details and sidebar
views.
- Improved test reliability in UI interaction testing by extending wait
times.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
---------
Co-authored-by: Subhradeep Chakraborty <chakrabortysubhradeep556@gmail.com>
Co-authored-by: Bhargav <BJP232004@GMAIL.COM>
- Replace first column `*` with the current second in cron expression
while saving report and alerts
- Introduce vrl functions in alerts. The new field `vrl_function` in
alert payload stores the vrl function in the alert in base64 encoded
format.
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit
## Summary by CodeRabbit
- **New Features**
- Introduced an optional field for alerts to allow the association of
VRL functions.
- Enhanced scheduling for alerts and reports by dynamically modifying
cron expressions to include the current second.
- Added a VRL function editor in the Scheduled Alert component for
improved query editing, with toggles for enhanced user interactivity.
- Improved query construction with optional parameters and enhanced
error handling for timestamp handling.
- **Bug Fixes**
- Improved robustness of the alert and report scheduling systems with
better handling of cron expressions.
- Enhanced error handling for decoding failures related to VRL functions
in alerts.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
---------
Co-authored-by: omkark06 <omkar@zinclabs.io>
When user update we `clean` the `USER_RUM_TOKEN` and in the next we
never set `{DEFAULT_ORG}/{token}` back to `USER_RUM_TOKEN`, so the RUM
ingestion report token not found for root user.
The solution is we don't `clean` the tokens, just `remove` the token
which already invalid. also will add `{DEFAULT_ORG}/{token}` if it is
root user when we fetch data from db.
fixes#4115
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit
- **New Features**
- Enhanced security for user role management by preventing changes to
the role of users with the 'Root' designation during updates.
- **Bug Fixes**
- Resolved potential privilege escalation by ensuring only non-'Root'
user roles can be modified.
<!-- 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**
- Enhanced data handling to prevent processing of empty values, ensuring
more robust performance.
- Improved control flow to skip unnecessary actions for iterations with
empty results.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
Now we use sql to plan to execute the query.
we split the PhysicalPlan to two stage:
1. Partial plan, it can be distributed will run on all the nodes.
2. Final plan, it can't be distributed will run on the leader querier
and merge the result.
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit
- **New Features**
- Updated to version 0.10.9, introducing enhancements and new
dependencies for improved data processing functionalities.
- Added new Protocol Buffers schemas to define structures for cluster
management and data processing frameworks, enhancing integration
capabilities.
- **Bug Fixes**
- Improved error handling in configuration to prevent runtime panics.
- Enhanced logic in caching mechanisms for more reliable query
responses.
- **Documentation**
- Added module declarations to improve organization and clarity within
the codebase.
- **Refactor**
- Streamlined execution plans and SQL processing for better performance
and maintainability.
- **Tests**
- Introduced new functions for log ingestion in test suites to enhance
reliability and coverage.
- **Style**
- Made formatting adjustments across various files to improve
readability and consistency.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
---------
Co-authored-by: Neha P <neha@openobserve.ai>
Co-authored-by: oasisk <ashish.j.kolhe@gmail.com>
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit
- **New Features**
- Updated critical dependencies to enhance software capabilities.
- Improved data structure management in StreamTable and Geoip
implementations for better performance and clarity.
- **Bug Fixes**
- Enhanced efficiency of entry removal in the data persistence process.
- **Chores**
- Routine updates to external package versions for improved
functionality and security.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
fixes#4080
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit
- **New Features**
- Improved IP address parsing logic to handle both `IpAddr` and
`SocketAddr`, enhancing versatility with input formats.
- Added a fallback mechanism to default to the loopback address in case
of parsing failure.
- **Bug Fixes**
- Enhanced error handling in IP address parsing to ensure functionality
with invalid input.
- **Tests**
- Introduced a new test function to validate the updated IP
parsing logic against various formats.
<!-- 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
- **New Features**
- Enhanced the search functionality to target specific node groups,
potentially improving retrieval speed and relevance of results.
- **Bug Fixes**
- Maintained existing error handling for online querier nodes, ensuring
consistent performance during node retrieval.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
fixed#4077
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit
- **New Features**
- Enhanced the search functionality to support aggregate queries,
allowing for more efficient data handling in search results.
- **Bug Fixes**
- Improved response structure for aggregate queries to simplify user
experience.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
`ZO_BLOOM_FILTER_ON_ALL_FIELDS` will huge increase parquet file size and
memory usage when the fields num over 1000 in a stream.
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit
- **New Features**
- Simplified configuration for bloom filters by removing the
`bloom_filter_on_all_fields` option.
- **Bug Fixes**
- Streamlined logic in the bloom filter configuration handling, ensuring
consistent field processing.
<!-- 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 query handling to recognize aggregate queries that utilize
the `DISTINCT` keyword, improving correctness and efficiency in query
processing.
<!-- 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 disk cache management with targeted removal of specific
result files during the garbage collection process, enhancing memory
usage and overall application 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
- **New Features**
- Improved sorting logic for search responses, enhancing clarity and
maintainability.
- **Bug Fixes**
- Simplified conditional logic for cache checks, improving efficiency
and reducing complexity.
<!-- 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 query handling with improved hashing logic that incorporates
an optional VRL function for better query processing and caching.
- **Bug Fixes**
- Improved control flow and functionality of the query handling process
to ensure more accurate results based on the presence of additional
input.
<!-- 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 to accommodate dynamic query processing.
- Improved handling of results based on specific query formats.
- **Bug Fixes**
- Corrected response handling for queries with the `#ResultArray#`
prefix, ensuring accurate results.
- **Refactor**
- Streamlined logic in the search function for better performance and
adaptability to varying input 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**
- Enhanced error handling in various asynchronous functions to prevent
runtime errors and improve reliability when no online nodes are
available.
- **Bug Fixes**
- Improved logging and robustness in handling scenarios where no query
nodes are found, preventing potential panics.
- **Chores**
- Reformatted dependency configuration for better readability without
impacting functionality.
<!-- 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 error handling for cached response data parsing, improving
application stability.
- **Bug Fixes**
- Resolved potential panic situations by implementing a more robust
error management strategy during data parsing.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
Fixes#3994#4012
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit
## Summary by CodeRabbit
- **New Features**
- Introduced a new `applyBeforeFlattening` toggle in the
`AssociatedStreamFunction.vue` component for stream functions.
- Enhanced ingestion functionality to support transformations before and
after the flattening of data.
- **Bug Fixes**
- Improved JSON flattening and transformation logic in multiple
ingestion functions.
- **Refactor**
- Updated function signatures and variable assignments to incorporate
new transformation logic across various modules and handlers.
- Refactored the `functionsColumns` definition to dynamically include
the `applyBeforeFlattening` column.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
---------
Co-authored-by: omkark06 <omkar@zinclabs.io>
<!-- 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 -->