Commit Graph
316 Commits
Author SHA1 Message Date
Shyam Panjiyar cac2ded2cf test: Create Objects and Refactoring POM PyTest (#6357) 2025-03-24 16:50:30 +05:30
c3759a4231 fix: Migration for scheduled_jobs table to use alert id as module_key (#6365)
Co-authored-by: udev <uddhavdave1@gmail.com>
Co-authored-by: sai nikhil kethe <nikhil@openobserve.ai>
Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
2025-03-24 15:10:44 +05:30
06920b203b fix: previous histogram getting display even after there is no data (#6346)
Co-authored-by: ktx-vaidehi <vaidehi.akhani@kiara.tech>
Co-authored-by: sai nikhil kethe <nikhil@openobserve.ai>
2025-03-24 11:27:20 +05:30
Sai Nikhil c5be09fbf4 fix: changes for icon bar in logs page (#6362)
This PR includes changes 
1. introduced icons for histogram , sql mode, quickmode and moved search
history , download logs , search scheduled jobs options into menu that
will be there at right end
2. this will make the UI to accommodate upto 1200px with datetime as
relative , 1350 when it is absolute
3. introducing icons saved space of ~200px in total for both sides
2025-03-23 10:16:34 +05:30
71b32480ab feat: alerts folder implementation (UI) (#6228)
implemented alerts folders in the UI

1. search across folders
2. alert listing page moved condition and description column to the
expand so whenever user clicks on any row it will show respective
condition and description if there
3. provided fixed width for columns so that all columns are in view port
visibility expect name column as it can be varied depending upon name
given by user
4. search across all folders implemented in this PR only
Import alert add ons
1 additional things done to import alert as well like introducing the
folders in import page

---------

Co-authored-by: omkark06 <omkar@zinclabs.io>
Co-authored-by: Subhradeep Chakraborty <chakrabortysubhradeep556@gmail.com>
2025-03-21 13:31:54 +05:30
Omkar Kesarkhane 205965f854 fix: fixed histogram toggle playwright test (#6305) 2025-03-18 12:05:54 -07:00
Taiming Liu f931ac00fc fix: playwrite test selecting quick mode (#6304) 2025-03-18 11:29:22 -07:00
Omkar Kesarkhaneandudev bb4f30f21d feat: Actions in Logs and Alert Destinations (#6129)
Co-authored-by: udev <uddhavdave1@gmail.com>
2025-03-18 14:42:30 +05:30
ktx-kirtanandSubhra264 022506462d test: dashboard filters remove failed test case (#6286)
Co-authored-by: Subhra264 <chakrabortysubhradeep556@gmail.com>
2025-03-17 19:42:39 +05:30
73b49ea686 test: dashboard filter testcases (#6284)
Co-authored-by: ktx-kirtan <124270523+ktx-kirtan@users.noreply.github.com>
Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
Co-authored-by: Kirtan Thakkar <kirtan@kiara.tech>
2025-03-17 15:13:49 +05:30
Bhargav 0fc1e65fc7 fix: added debounce in stream list filter (#6253) 2025-03-13 22:57:32 +05:30
77a70ef4fa fix: search type to lowercase (#6197)
Co-authored-by: Taiming Liu <liutaiming3@gmail.com>
Co-authored-by: Bhargav <BJP232004@GMAIL.COM>
2025-03-13 21:43:05 +05:30
ktx-akshayandHengfei Yang d7b90a48e0 test: dashboard timeout testcases (#6184)
Co-authored-by: Hengfei Yang <hengfei.yang@gmail.com>
2025-03-07 10:46:54 +05:30
Hengfei Yang 595490ea33 ci: update rust to nightly-2025-03-02 (#6145) 2025-03-02 17:27:10 +08:00
Subhra264 4a7784b409 feat: Scheduler redesign with mpsc channels (#6121)
Uses mpsc channels to process pulled scheduled jobs so that it does not
block the entire alert manager to pull other jobs when there is
capacity. Makes use of semaphores so that we pull the same number of
jobs as the number of available workers.

### The new design is -
- We spawn the same number of worker threads as the configured max concurreny env.
- After pulling jobs, it sends to each worker through the mpsc channel
- Each worker processes the received trigger
- After the scheduler interval, the puller job checks how many workers are still available i.e. how many workers are done with processing triggers.
- It only pulls the same number of jobs from db as the number of available workers at that particular time.
The cycle continues.

So, the scheduler pulls at max the "max concurrency" number of jobs at a time depending on the availability of worker threads.
2025-03-01 23:25:46 +05:30
Hengfei Yang f8c5f012bd feat: remove configure ZO_USAGE_ORG (#6142) 2025-03-01 21:41:39 +08:00
Patrick Sullivan 3f4074b8cf fix: Misc V2 alerts routes fixes (#6137)
Makes the following fixes to these routes:
- `ListAlerts`
  - adds `enabled` to the response body
  - adds `name_substring` to the request body
- `MoveAlerts`
- changes the method type to `PATCH` since this is a non-idempotent
update
- changing to `PATCH` coincidentally happens to fix a routing issue
where requests to `MoveAlerts` were being routed to the `UpdateAlerts`
handler
- `EnableAlert`
- changes the method type to `PATCH` since this is a non-idempotent
update
- `TriggerAlert`
- changes the method type to `PATCH` since this is a non-idempotent
update
2025-02-28 17:19:22 -06:00
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 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
Shyam Panjiyar b897f5439e test: websocket- Undefined Partitions Error When Histogram is disabled and run query and enabled again (#6085) 2025-02-26 14:57:41 +05:30
Subhra264andhengfei yang be2348747c feat: add source_node to triggers stream (#6097)
This PR adds a `source_node` field to the `triggers` stream to indicate
which alert manager processed the particular trigger. This is the name
of the node.

---------

Co-authored-by: hengfei yang <hengfei.yang@gmail.com>
2025-02-26 12:22:20 +05:30
a3407fe12d fix: ws connection optimizations cherry-pick (#6047)
- fix: close frame to-from client #6033
- fix: ws connection optimizations #6038
- fix: ws connection optimizations v3 #6058 
- fix: ws conn #6080 
- fix: only close sink to backend in ws_proxy

New Env:
```sh
ZO_WEBSOCKET_ENABLED=true
ZO_WEBSOCKET_CLOSE_FRAME_DELAY=50 // microseconds
ZO_WEBSOCKET_SESSION_IDLE_TIMEOUT_SECS=300
ZO_WEBSOCKET_SESSION_MAX_LIFETIME_SECS=3600
ZO_WEBSOCKET_SESSION_GC_INTERVAL_SECS=60
ZO_WEBSOCKET_PING_INTERVAL_SECS=15
```

---------

Co-authored-by: omkark06 <omkar@zinclabs.io>
Co-authored-by: ShyamOOAI <shyam@openobserve.ai>
2025-02-25 18:28:16 +05:30
Neha P 50daaec8dc test: e2e-string-matchignorecase-fix (#6083) 2025-02-24 20:55:35 +05:30
Neha Pandsai nikhil kethe e3f685898b test: e2e-custom-charts (#6007)
Co-authored-by: sai nikhil kethe <nikhil@openobserve.ai>
2025-02-24 19:21:07 +05:30
Shyam Panjiyar b9eb81ffb8 test: Websocket Playwright (#6061) 2025-02-24 12:05:52 +05:30
ktx-akshay ad2d8882f2 test: dashboard login test cases (#5920) 2025-02-22 10:23:19 +05:30
Shyam Panjiyar acb434b455 test: Updated URL variable for UI Super Cluster (#6022) 2025-02-19 13:37:45 +05:30
Subhra264 e315bcc73a feat: move last_satisfied_at and last_triggered_at to scheduled_job table (#5968)
Fixes https://github.com/openobserve/openobserve/issues/5975
2025-02-18 19:24:51 +05:30
dependabot[bot] 0ded1b4a65 chore(deps): bump serialize-javascript and mocha in /tests/ui-testing (#5930) 2025-02-18 20:55:54 +08:00
Bhargav 19d9f6ffe0 feat: reduced rows per page to 50 (#5978) 2025-02-17 16:30:39 +05:30
Neha P 3bac86c507 test: e2e-fix-flaky-tests (#5980) 2025-02-14 18:47:14 +05:30
Shyam PanjiyarandLoakesh Indiran 477446cb1f test: Websocket PyTest Super Cluster (#5878)
Co-authored-by: Loakesh Indiran <66478092+Loaki07@users.noreply.github.com>
2025-02-14 17:22:44 +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
Neha P f6fb0e0605 test: e2e-logs-loadtest (#5971)
**Tests covered** 
- Ingest 79k fields with 100 user defined schema
- Reset stream selection while reloading home page and navigating to
logs
- Selecting stream and checking schema and values
- Go to streams page and enable store original data 
- Go to stresstest stream via stream explorer 
- Check if results are visible
2025-02-14 13:40:26 +05:30
Shyam Panjiyar 221821dbb9 test: Summary PyTest in super cluster (#5938) 2025-02-13 12:54:27 +05:30
Shyam Panjiyar 9570a93be2 test: Updated logged out steps for reports refactoring playwright (#5927) 2025-02-11 19:08:20 +05:30
Shyam Panjiyar 082255a704 test: internal user for login and super cluster steps refactoring (#5922)
internal user for login and super cluster steps refactoring
2025-02-11 17:29:19 +05:30
Shyam Panjiyar 9ca79d95ef test: Reports playwright two parts with added test cases in Super Cluster (#5906)
Reports playwright two parts with added test cases in Super Cluster
2025-02-10 10:18:56 +05:30
Neha P 527fcbc76e test: fix stream-selection flakiness (#5898) 2025-02-07 13:48:44 +05:30
Patrick SullivanandSubhradeep Chakraborty 89783b7df4 fix: Fix compiler error in enterprise unit test (#5896)
Co-authored-by: Subhradeep Chakraborty <chakrabortysubhradeep556@gmail.com>
2025-02-07 11:23:56 +05:30
Bhargav 63f88512ee fix: 5870 UI improvements (#5884) 2025-02-06 13:33:51 +05:30
Sai Nikhil fcd6647b63 fix: place holder text for select stream (#5869)
1. select stream as a place holder text added in logs page
2025-02-05 19:12:43 +05:30
Bhargav 0b682773c5 fix: upgraded playwright version (#5861)
Upgraded NPM Packages in OpenObserve repo
Upgraded playwright package from 1.42.x to 1.50.x
Upgraded Node version from 18 to 22
2025-02-05 13:02:05 +05:30
Neha P 873b8ca93e test: sanity fix test (#5874) 2025-02-04 19:47:30 +05:30
Taiming Liu 632da3c0b4 feat: migrate template & destination (#5701) 2025-02-04 18:25:21 +08:00
+1 9184a090f8 feat: dashboard annotations (#5680)
- #5844

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

Based on the comprehensive summary of changes, here are the updated
release notes:

- **New Features**
	- Added timed annotations functionality for dashboards.
	- Introduced ability to create, edit, and delete annotations on panels.
- Implemented annotation management across frontend and backend systems.

- **Improvements**
	- Enhanced chart rendering to support annotation visualization.
	- Added new API endpoints for annotation operations.
	- Improved dashboard interaction with annotation mode.

- **Backend Changes**
- Created new database migrations for timed annotations and timed
annotation panels.
	- Added database entities and relationships for annotations.
	- Implemented service-level logic for annotation management.

- **Frontend Changes**
- Added new components for annotation management, including
`AddAnnotation`.
	- Integrated annotation services and composables.
- Updated chart rendering to display annotations and improved panel
interactivity.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->

---------

Co-authored-by: ktx-vaidehi <vaidehi.akhani@kiara.tech>
Co-authored-by: Kirtan Thakkar <kirtan@kiara.tech>
Co-authored-by: Shyam Panjiyar <shyam@openobserve.ai>
Co-authored-by: ktx-vaidehi <134508096+ktx-vaidehi@users.noreply.github.com>
Co-authored-by: Huaijin <haohuaijin@gmail.com>
Co-authored-by: Neha P <144308844+neha00290@users.noreply.github.com>
Co-authored-by: Subhra264 <chakrabortysubhradeep556@gmail.com>
Co-authored-by: Hengfei Yang <hengfei.yang@gmail.com>
Co-authored-by: Bhargav <BJP232004@GMAIL.COM>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-01-31 18:02:06 +05:30
Neha P 83b92c1672 test: schema assertion for str_match (#5852)
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

## Summary by CodeRabbit

- **Tests**
	- Enhanced UI testing for logs search functionality
	- Added test steps to validate search query execution
	- Implemented checks to ensure no error messages appear during search

<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2025-01-31 13:52:06 +05:30
Subhra264 17fbd84409 fix: remove seaorm column type for entities (#5841)
The `Text` column type in seaorm `Model` structure might sometimes
create confusions if column is created using the `get_text_type()`
function which creates `longtext` field for mysql and `text` for other
dbs. If the db column type is `longtext` or `mediumtext` but seaorm
column type is `Text`, it may cause errors

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

- **Database Schema Updates**
- Removed explicit column type annotations for various text fields
across multiple database tables.
- Updated nullability constraints for description and error message
fields, making some fields non-optional.
- Implemented KSUID (K-sortable unique identifier) for primary keys in
folders, dashboards, and alerts tables.

- **Migration Changes**
- Adjusted ORM model definitions for folders, dashboards, alerts, and
meta tables.
	- Enhanced consistency in database schema handling.
	- Added error handling for unsupported downgrades in migration scripts.

- **UI Testing Enhancements**
- Improved error reporting in the LogsPage class for better clarity on
query application failures.
	- Minor formatting adjustments made for improved code readability.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2025-01-30 15:27:35 +05:30
Neha P d2b2165f9c test: e2e-remote-pipeline (#5842)
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit

- **Tests**
	- Added new Playwright test suite for pipeline management.
	- Implemented comprehensive UI interaction tests.
	- Included tests for pipeline creation, deletion, and log management.
	- Enhanced test coverage with parallel test execution.
- Expanded integration tests with additional scenarios for pipeline
interactions.
	- Introduced a new test file for improved CI integration.

- **New Features**
- Added functionality for managing remote destinations within the
pipeline.
	- Introduced new methods for creating and deleting remote destinations.

- **Bug Fixes**
- Improved the logic for selecting the current date in the logs page to
ensure accurate date selection.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2025-01-30 13:35:00 +05:30
Loakesh Indiran b4b9fad1f7 fix: logs to debug db error (#5837)
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit

- **Bug Fixes**
- Enhanced error logging for short URL database operations, providing
better visibility into failures when adding short URLs.
- Refined date selection logic in the logs page to ensure distinct
interaction with date elements.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2025-01-29 17:27:20 +05:30