Commit Graph
950 Commits
Author SHA1 Message Date
dependabot[bot] 45aaafc163 chore(deps): bump braces from 3.0.2 to 3.0.3 in /web (#3729) 2024-06-13 23:37:05 +08:00
Bhargav 83363ee751 fix: loading icon disabled on empty stream fields (#3728)
<!-- 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 -->
2024-06-12 18:25:10 +05:30
Bhargav 9cbfcd27d1 fix: multiple timestamp columns displayed on result grid (#3723)
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 -->
2024-06-12 15:34:19 +05:30
BhargavandNeha P 448f98536e fix: multiple timestamp columns issue on grid (#3696)
<!-- 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>
2024-06-10 11:53:35 +05:30
ktx-abhay ae6be33438 fix: dashboard datetime picker toggle issue from relative to absolute (#3697)
<!-- 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 -->
2024-06-08 12:03:10 +05:30
04b7df63be feat: support presigned GET URLS (#3667)
<!-- 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>
2024-06-07 14:20:21 +02:00
ktx-vaidehi ab891e1d35 fix: dashboard filter option value format and added more operators in variables settings filter (#3676)
<!-- 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 -->
2024-06-06 17:59:02 +05:30
ktx-abhay e1c80d0791 fix: view panel parser issue due to lazy load (#3687)
![image](https://github.com/openobserve/openobserve/assets/141122205/4b1b4f4b-da64-4757-b374-9c3ae9c095a6)


<!-- 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 -->
2024-06-06 16:26:57 +05:30
ktx-abhay baeb688d14 feat: nano second as unit for dashboard (#3680)
- #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 -->
2024-06-06 09:23:46 +05:30
Omkar Kesarkhane 26ab4e6674 fix: In IAM on deleting user, user actions were getting disabled (#3675)
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 -->
2024-06-05 13:33:59 +05:30
BhargavandNeha P 3409c8ac73 fix: removed _timestamp and order by restriction from sql mode (#3620)
<!-- 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>
2024-06-04 11:08:04 +05:30
Ashish Kolheandktx-abhay 79fe002f60 feat: include search type in search calls (#3648)
<!-- 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>
2024-06-03 14:14:54 +05:30
ktx-abhay 5dabd86ba9 fix: format timestamp for dashboard table chart (#3664)
- 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 -->
2024-06-03 13:57:27 +05:30
ktx-abhay b86899f868 fix: datetime-picker-z-index-issue (#3661)
![image](https://github.com/openobserve/openobserve/assets/141122205/45c15c7a-d31a-4c1c-8364-51b88f0f4c06)


<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

## Summary by CodeRabbit

- **Style**
- Enhanced popup content styling for date and time selectors to ensure
proper display order.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2024-06-03 11:38:48 +05:30
Hengfei Yang 3ccf0be933 feat: add limit -1 for query (#3658)
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 -->
2024-06-01 11:25:12 +05:30
ktx-vaidehi dad7de589a fix: Time Selection popup gets hidden behind Date-Time UI (#3657)
#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 -->
2024-06-01 10:14:13 +05:30
Bhargav 55203a5bd7 fix: removed trackhits from histogram query (#3655)
<!-- 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 -->
2024-05-31 22:25:20 +05:30
Omkar Kesarkhane 7562ffde18 fix: Traces query editor issue (#3653)
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 -->
2024-05-31 21:05:51 +05:30
Bhargav 5b7da0297b fix: removed partition api while aggregation query (#3647)
<!-- 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 -->
2024-05-31 18:58:47 +05:30
ktx-abhayandktx-vaidehi b7e0ba5004 fix: dashboard fullscreen css issues (#3642)
- `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>
2024-05-31 12:32:25 +05:30
Bhargav 05d0d23fbe fix: histogram for aggregation query (#3639)
<!-- 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 -->
2024-05-31 10:15:02 +05:30
ktx-vaidehiandktx-abhay 60a64fcc07 feat: Multi Select Variable (#3372)
- #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>
2024-05-30 21:15:05 +05:30
ktx-vaidehi a4a48d6d53 fix: Auto Complete promql legend on select not getting proper value with { (#3523)
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 -->
2024-05-30 20:47:57 +05:30
ktx-vaidehi 523ca46ae6 feat: dashboard variables adding options (#3543)
- 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 -->
2024-05-30 20:26:36 +05:30
ktx-abhayandktx-vaidehi 3528c26823 fix: dashboard stacked chart sorting issue (#3517)
- #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>
2024-05-30 20:07:07 +05:30
Bhargav b6899a7bdb fix: openapi menu changes (#3634) 2024-05-30 17:31:21 +05:30
Bhargav 755c0eb225 fix: NaN issue on pagination message (#3632)
<!-- 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 -->
2024-05-30 16:37:15 +05:30
veth 1f3036201a chore: fix some comments (#3629) 2024-05-30 17:41:08 +08:00
Bhargav 98540b718d fix: pagination and show message for aggregation query (#3628)
<!-- 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 -->
2024-05-30 13:02:24 +05:30
Bhargav d502edce96 fix: histogram error sql mode (#3608)
<!-- 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 -->
2024-05-29 16:23:27 +05:30
Omkar Kesarkhane ba10524050 fix: prefetching monaco editor (#3617)
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 -->
2024-05-29 14:29:06 +05:30
ktx-abhay 1b88e3cf8a fix: dashboard view panel refresh issue (#3606)
- #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 -->
2024-05-28 10:57:15 +05:30
Omkar Kesarkhane fa0233a61c fix: evoked updateQueryValue on loading of parser (#3600)
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 -->
2024-05-27 13:40:35 +05:30
Hengfei Yang 470714616b fix: search partition with base64 (#3597)
fix #3557
2024-05-26 17:00:44 +08:00
abe6206361 fix: logs page histogram optimisation (#3586)
Co-authored-by: Bhargav <BJP232004@GMAIL.COM>
Co-authored-by: omkark06 <omkar@zinclabs.io>
2024-05-25 18:57:48 +05:30
Omkar Kesarkhane aa0e69f072 fix: fixed rrweb player import (#3594)
Fixed rrweb player import in RUM session VideoPlayer
2024-05-25 10:30:12 +05:30
Omkar Kesarkhane fd9cafde0d fix: FE optimization issues (#3593)
#3591
2024-05-25 00:08:54 +05:30
Omkar Kesarkhane 402d450321 chore: Frontend Optimization (#3532)
Lazy loaded packages
Lazy loaded Components
2024-05-24 21:02:06 +05:30
Taiming LiuandBhargav 70fde3ac67 fix: _value api missing "clusters" (#3580)
add the missing clusters parameters to _value api calls

---------

Co-authored-by: Bhargav <BJP232004@GMAIL.COM>
2024-05-23 12:14:29 -07:00
Omkar Kesarkhane ba42221c9b fix: fields getting duplicated in user defined schema (#3554)
fix #3522 
#3568
2024-05-23 22:26:52 +05:30
Bhargav ab3891d144 fix: count mismatch (#3576) 2024-05-23 18:29:50 +05:30
Omkar Kesarkhane 00cb1a168d fix: report UI issues (#3572)
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
2024-05-23 13:49:55 +05:30
Bhargav 3cf429a85b fix: su total took for two api endpoints and toLocaleString fix (#3570) 2024-05-22 19:44:04 +05:30
Bhargav 3ef35277c3 fix: added clusters along with regions on UI (#3566) 2024-05-22 18:50:57 +05:30
Omkar Kesarkhane e8b60e6502 fix: open internal login user form using query param (#3569) 2024-05-22 14:33:53 +05:30
ktx-vaidehiandktx-abhay ee29091667 feat: dashboard date-time settings (#3421)
- #3538 
- #3179

---------

Co-authored-by: ktx-abhay <abhay.padamani@kiara.tech>
2024-05-21 17:34:01 +05:30
Bhargav f8a686ddb0 fix: user defined schema option on logs fields panel (#3519) 2024-05-21 13:58:42 +05:30
Bhargav 6ac2223659 fix: hide pipeline menu (#3548) 2024-05-20 15:39:55 +05:30
Bhargav 509a91b599 fix: Update useLogs.ts (#3537) 2024-05-20 10:46:43 +05:30
Subhra264 90cc1b2b82 fix: GET rbac permission for settings (#3368) 2024-05-17 15:18:45 +05:30