Commit Graph
1431 Commits
Author SHA1 Message Date
Abhay Padamani cd25ffc8a1 fix: search type issue for reports (#6209)
- #6210
2025-03-07 14:24:40 +05:30
Abhay Padamani 5555785f76 feat: support multiple y axis for stacked chart (#6161) 2025-03-05 17:03:41 +05:30
ktx-vaidehiandHengfei Yang 3a65177b9c fix: dashboard variable value replacement if no data is found in values (#6172)
Co-authored-by: Hengfei Yang <hengfei.yang@gmail.com>
2025-03-04 23:06:40 +08:00
Subhra264 a5d4cf90ea fix: Individual level Fine grained RBAC permission for Dashboards (#6173)
Currently, individual level RBAC permission does not work for
dashboards. This pr fixes that. So a role permission like below
<img width="1399" alt="Screenshot 2025-03-04 at 5 27 11 PM"
src="https://github.com/user-attachments/assets/06c2030d-4227-4109-b73f-dc2337151362"
/>

will allow the user to access only the dashboards with `Get` and `All`
permission even if the `Get` permission for the folder is not specified.
2025-03-04 19:53:41 +05:30
Sai Nikhil d32d38af52 fix: reduce query time and silence column removal (#6148)
1. reduced query time for sql validation from 15mins to 5 seconds 
2. silence column is removed from the pipeline list as we are not
supporting in the UI
2025-03-03 11:56:39 +05:30
Hengfei Yang 595490ea33 ci: update rust to nightly-2025-03-02 (#6145) 2025-03-02 17:27:10 +08:00
ktx-vaidehi 01d28cc6fa fix: dashboard invalid sql for custom sql regex change (#6144) 2025-03-01 21:01:02 +05:30
ktx-vaidehi 65a8f2e151 fix: change in text from Move To Logs -> Go To Logs (#6134) 2025-02-28 20:59:57 +08:00
Bhargav 748349b94a fix: extractvalue query fix (#6125)
issue #6126
2025-02-28 13:33:07 +05:30
Sai Nikhil 2bea89307c fix: search jobs UI (#5706)
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit

## Release Notes

- **New Features**
  - Introduced search job scheduling functionality.
- Added ability to create, list, cancel, retry, and delete scheduled
searches.
- Enhanced user interface for managing scheduled search jobs, including
a new component for displaying scheduled jobs.
- Implemented conditional rendering for search history and search
scheduler components.
- Added new methods for handling scheduled searches within the service
layer.

- **Improvements**
  - Refined search bar interface with new scheduling options.
  - Updated pagination handling for job-related data.
- Enhanced overall functionality related to job management and
pagination.
- Improved loading indicators and user experience during data retrieval.

- **Bug Fixes**
  - Corrected conditional rendering of search history components.
  - Optimized job data retrieval and pagination logic.
  - Simplified sorting logic within the search history component.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2025-02-27 16:07:45 +05:30
Sai Nikhilandktx-abhay dd2cf4b7e8 fix: custom chart rerendering issues (#6114)
1. no data error before rendering
2. chart rerenders even after loading
3. all charts rererenders if we click on refresh of one chart

---------

Co-authored-by: ktx-abhay <abhay.padamani@kiara.tech>
2025-02-27 09:06:23 +05:30
Sai NikhilandTaiming Liu 85e8af977d fix: Pipeline improvements (#6078)
1. this PR introduces new design for query node 
2. dynamic stream name for destination node instead of create new stream
it allows user to input any non existing stream name as destination and
at the time of ingestion it will be created dynamically
3. Fixes issues of #5886

---------

Co-authored-by: Taiming Liu <liutaiming3@gmail.com>
2025-02-26 14:05:11 -08:00
ktx-vaidehiandktx-abhay 6c66fd923b fix: dashboard ws cancel query (#6107)
Co-authored-by: ktx-abhay <abhay.padamani@kiara.tech>
2025-02-26 22:38:05 +08:00
Abhay PadamaniandYashodhan Joshi 571e8e1be1 fix: dashboard freeze issue with more than 100 series in single panel (#6093)
- #6015 


- Introduced new Env variable `ZO_MAX_DASHBOARD_SERIES`, to limit number
of series per panel.

![image](https://github.com/user-attachments/assets/dc034fe6-bade-4952-9ec1-13dfae600bad)

- Comparison against series will not be counted. 
- Additionally, for multiple Y-axes, there will be a limit per
individual Y-axis

---------

Signed-off-by: Yashodhan Joshi <yjdoc2@gmail.com>
Co-authored-by: Yashodhan Joshi <yjdoc2@gmail.com>
2025-02-26 17:42:21 +05:30
Bhargav a2d6f296cc fix: remove all RPP options which are more than 100 (#6111) 2025-02-26 16:06:20 +05:30
ktx-vaidehi b2b04c9e70 fix: dashboard when switching to auto mode issue of query creation (#5976) 2025-02-25 17:22:28 +05:30
Omkar Kesarkhane 382a939f1e fix: websocket frontend issues (#6096)
1. Fixed cancel query flow
2. Reset request trace_id's and cancel query operation before initiating
new search operation
3. Run query disabling histogram, later enable histogram. This was
throwing error
2025-02-25 15:52:59 +05:30
ktx-vaidehi 0f73769d01 fix: dashboard move to logs throwing 404 (#6091) 2025-02-25 13:13:28 +05:30
ktx-vaidehiandktx-abhay ab797ae58a fix: dashboard promql queries metric, gauge chart not getting plot properly (#6029)
Co-authored-by: ktx-abhay <abhay.padamani@kiara.tech>
2025-02-25 11:43:33 +05:30
Omkar Kesarkhaneandudev c4a29e3863 fix: changes action script schedule types to lowercase (#6081)
Co-authored-by: udev <uddhav@openobserve.ai>
2025-02-25 09:43:38 +08:00
ktx-vaidehi 68b486b60a fix: added support for config options in promql charts (#6076) 2025-02-24 15:21:05 +05:30
ktx-vaidehi 2556da9326 feat: dashboard y-axis range by giving min, max values (#5944) 2025-02-24 13:02:08 +05:30
ktx-vaidehi 1a150cf7ca fix: dashboard promql step undefined error (#6064)
- #6063
2025-02-22 13:55:37 +05:30
ktx-vaidehi b924569841 feat: dashboard step setting for promql query (#5899)
- #5448
2025-02-21 21:26:02 +08:00
Omkar Kesarkhane ca92b89cd7 fix: Alerts preview not getting rendered (#6023)
#6009 
Chart was not getting rendered due to empty Y-axis label
2025-02-21 17:34:00 +05:30
ktx-vaidehi 729f631407 fix: dashboard error in console (#6057) 2025-02-21 16:17:08 +05:30
Bhargav fc886763ac fix: vrl toggle fix while applying saved view (#6026) 2025-02-20 19:50:47 +05:30
Abhay Padamani ff0f955d7a fix: disable resize and drag panel, if saveDashboard is ongoing (#6040)
- #6041
2025-02-20 15:12:59 +05:30
ktx-vaidehi 7b5a425bee fix: dashboard table chart without aggregation field (#5900) 2025-02-20 12:39:43 +05:30
ktx-vaidehi 4c56965496 feat: Option on Dashboard panel to navigate to logs UI based on the dashboard panel query (#5892) 2025-02-20 11:16:56 +05:30
ktx-vaidehi 65994e5fb0 feat: metrics page added legend option (#5911) 2025-02-19 19:08:21 +05:30
Abhay Padamani 6faec07ee1 fix: Boolean breakdown field issue for dashboard stacked chart (#6021)
- #6002
2025-02-19 18:18:06 +05:30
ktx-vaidehi 0bc363b1bb feat: dashboard reorder feature for variables listing (#5885)
- #5589
2025-02-19 15:06:34 +05:30
ktx-vaidehi f2f1936066 feat: dashboard variables added new streamType metadata (#5882)
- #5628
2025-02-19 13:00:39 +05:30
ktx-vaidehi c990d9ffeb feat: dashboard call variables api call on dropdown open (#5757)
- #5455
2025-02-19 12:27:02 +05:30
Bhargav e6ccaea91d fix: 5891 rum issue v2 (#6006) 2025-02-18 16:42:13 +05:30
ktx-vaidehiandktx-abhay f901514304 fix: dashboard cancel query for web socket (#5995)
Co-authored-by: ktx-abhay <abhay.padamani@kiara.tech>
2025-02-18 10:38:09 +05:30
Sai Nikhil efc9a431d1 fix: pipeline related changes (#5999)
1. this PR changes the node type of pipeline to curve
2. this PR changes the default zoom to 1 when there are less than or
equal to 4 nodes
2025-02-17 22:54:14 +05:30
ktx-vaidehi e2b380c83f fix: dashboard when api is loading set panel refresh disable (#5996) 2025-02-17 18:44:58 +05:30
Bhargav 19d9f6ffe0 feat: reduced rows per page to 50 (#5978) 2025-02-17 16:30:39 +05:30
053d246946 fix: web socket streaming aggregates search for dashboards and logs (#5970)
New Env: 
```sh
# default 0ms
# preferred to be set at 10ms to 100ms
# milliseconds
ZO_WEBSOCKET_CLOSE_FRAME_DELAY=10 
```

Changes:

- [x] add support to dashboard for streaming aggregate queries from in
memory cache
- [x] new sort logic for web socket search results
> - [x] introduced a new `optional` parameter `fallback_order_by_col`
for ws search req `SearchEventReq`
> - For queries where there is no `_timestamp` field and no `order_by`
specified:
```sql
SELECT level, COUNT(*) as count
FROM logs
GROUP BY level
```
> - The default sql behavior is to return the results in a non-ordered
manner.
> - However, with web sockets this behavior impacts the UX in both
`logs` and `dashboards` when `streaming aggregates` is `enabled` as the
results in page/dashboards will keep fluctuating.
> - To fix this there a new sort behavior introduced in web sockets

```rust
/// Represents different sorting strategies
enum SortStrategy {
    SqlOrderBy,
    FallbackColumn(String, OrderBy),
    AutoDetermine(String, bool), // (column, is_string)
    NoSort,
}
```
> 1. If `order_by` is already specified in the sql query and the search
service has populated the `order_by` field in its response for the
search, then there is no sort action required on the search results.
> 2. If `fallback_order_by_col` is specified that col is selected for
sort. This will mainly be used in `Dashboards`.
> 3. If none of the above is specified, there is `auto-determine`
strategy which would check for the `first non-numeric col` else the
`first numeric col`
> 4. `non-numeric` col i.e. `text/string` is always sorted in `asc`.
While, `numeric` col is sorted in `desc`. This applies to both
`FallbackColumn` & `AutoDetermine` strategies.

- [x] redesign web socket search event handling
> - Previously the `cleanup_and_close_session` used to happen inside the
search task thread. Which is suspected :suspect: to be one of the causes
for the `CloseFrame` description and the `DataFrame` data to get merged
and malform the message in the socket.
> - New behavior `cleanup_and_close_session` will happen outside of the
search task spawned once search is complete.
> - Since its suspected :suspect: that there is some race condition 🏃🏾
when the web socket frames are being sent the env variable
`ZO_WEBSOCKET_CLOSE_FRAME_DELAY` default `0` is created to introduce a
delay preferred `10 ms` to ` 100ms` before sending the `CloseFrame`
> - `SEARCH_REGISTRY` now will hold the different states of search which
are `Running`, `Cancelled` & `Completed`
> - The search task is modified to now listen for a `cancel` from the
`mpsc` channel and does `cleanup_search_resources`

Related Issues:
- #5967 
- #5974

---------

Co-authored-by: loaki07 <rustyloaki@gmail.com>
Co-authored-by: Loakesh Indiran <66478092+Loaki07@users.noreply.github.com>
Co-authored-by: Hengfei Yang <hengfei.yang@gmail.com>
2025-02-17 08:52:14 +05:30
dependabot[bot] e46d72e509 chore(deps-dev): bump vitest, @vitest/coverage-v8 and @vitest/ui in /web (#5879) 2025-02-16 23:21:49 +08:00
Omkar Kesarkhane a63e4bddda fix: reset cancel query on search error or new search request (#5979) 2025-02-16 23:21:04 +08:00
Bhargav 221eb019be fix: 5891 rum issue v1 (#5931) 2025-02-14 18:08:11 +05:30
Abhay PadamaniandKirtan Thakkar 5e3297903b fix: show warning and allow data parsing if there is a function error (#5961)
Co-authored-by: Kirtan Thakkar <kirtan@kiara.tech>
2025-02-14 16:21:36 +05:30
Sai Nikhil 9a7bec8d58 fix: custom charts issues (#5963) 2025-02-14 04:08:31 +05:30
ab567df7e1 feat: custom chart support dashboard (#5866)
Co-authored-by: ktx-abhay <abhay.padamani@kiara.tech>
Co-authored-by: Bhargav <BJP232004@GMAIL.COM>
2025-02-13 18:30:19 +05:30
Bhargav 5486fa97d8 fix: Optimised the stream fields calculation on logs page (#5940) 2025-02-13 15:23:23 +05:30
bc850b131d fix: dashboard promql dashboard to logs drilldown issue (#5951)
Co-authored-by: ktx-abhay <abhay.padamani@kiara.tech>
Co-authored-by: Patrick Sullivan <patrick.sullivan@hey.com>
2025-02-12 16:50:35 -06:00
Bhargav c955822c41 fix: alert preview fix (#5950) 2025-02-12 21:04:09 +05:30