Commit Graph
96 Commits
Author SHA1 Message Date
31703cc9d2 feat: o2 AI Agent (#6899)
this PR introduces o2 ai agent with this user able to ask o2 ai about
sql query , vrl query and logs

---------

Co-authored-by: Subhradeep Chakraborty <chakrabortysubhradeep556@gmail.com>
Co-authored-by: Taiming Liu <liutaiming3@gmail.com>
2025-05-27 15:09:19 +05:30
dependabot[bot] 1e95857433 chore(deps-dev): bump vite from 6.2.6 to 6.3.4 in /web (#6695) 2025-05-02 15:08:55 +08:00
dependabot[bot] 0607c0fc40 chore(deps): bump http-proxy-middleware from 2.0.7 to 2.0.9 in /web (#6567) 2025-04-17 17:18:54 +08:00
dependabot[bot] 012230a078 chore(deps-dev): bump vite from 6.2.5 to 6.2.6 in /web (#6521) 2025-04-13 16:36:17 +08:00
dependabot[bot] 6b62dfe3b6 chore(deps-dev): bump vite from 6.2.4 to 6.2.5 in /web (#6469) 2025-04-06 18:26:52 +08:00
dependabot[bot] 98e4ea21c1 chore(deps-dev): bump vite from 6.2.2 to 6.2.4 in /web (#6437) 2025-04-01 11:53:15 +08:00
dependabot[bot] 53edd8f377 chore(deps): bump esbuild and vite in /web (#6285) 2025-03-18 08:45:08 +08:00
dependabot[bot] 5059719a1f chore(deps): bump axios from 1.7.7 to 1.8.2 in /web (#6216) 2025-03-08 23:26:06 +08:00
dependabot[bot] cf403ae4c9 chore(deps): bump vue-i18n from 11.1.0 to 11.1.2 in /web (#6213) 2025-03-08 23:19:53 +08:00
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
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 63f88512ee fix: 5870 UI improvements (#5884) 2025-02-06 13:33:51 +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
udev 4ac3481bb8 feat: Action Scripts (#5694) 2025-01-24 21:40:05 +05:30
dependabot[bot] 709dfd962e chore(deps-dev): bump vite from 5.4.6 to 5.4.14 in /web (#5765) 2025-01-22 11:08:13 +08:00
dependabot[bot] 3f6cf274ad chore(deps): bump nanoid from 3.3.7 to 3.3.8 in /web (#5312) 2024-12-10 17:11:45 +08:00
dependabot[bot] 8947b21e78 chore(deps): bump vue-i18n from 9.13.1 to 9.14.2 in /web (#5217) 2024-12-03 15:53:56 +08:00
Omkar Kesarkhane cb21395382 fix: e2e test coverage setup (#4897)
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit

## Release Notes

- **New Features**
- Added support for code coverage reporting with the integration of
`vite-plugin-istanbul`.
	- Introduced a new configuration file for code coverage settings.

- **Improvements**
	- Updated project to use ECMAScript modules for better compatibility.
- Enhanced UI test coverage with additional test cases and improved
error handling.
- Refactored test suites to utilize a custom module for better
organization and maintainability.
- Improved the login process and dashboard loading in test cases for
better reliability.

- **Bug Fixes**
- Resolved issues related to import statements affecting test execution.

- **Documentation**
- Updated `.gitignore` to exclude coverage directories from version
control.

These updates enhance the functionality, maintainability, and
reliability of the application and its testing framework.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2024-11-13 15:13:36 +05:30
Abhay Padamani b067c7d681 fix: dashboard markdown renderer issue (#5035)
- #5036 

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

## Summary by CodeRabbit

- **New Features**
- Enhanced styling for rendered HTML and Markdown content using Tailwind
CSS typography utilities.
- Integrated the `@tailwindcss/typography` plugin for improved text
styling capabilities.

- **Chores**
- Updated project dependencies to include `@tailwindcss/typography` in
development dependencies.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2024-11-11 12:06:21 +05:30
dependabot[bot] adbf6eb8ac chore(deps): bump cookie, express and @bundled-es-modules/cookie in /web (#5005) 2024-11-07 18:00:44 +08:00
dependabot[bot] 1179109e2e chore(deps-dev): bump happy-dom from 14.12.3 to 15.10.2 in /web (#5006) 2024-11-07 16:44:39 +08:00
Omkar Kesarkhane 6a1a7e8e7e fix: fixed unit test cases (#4883)
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

## Summary by CodeRabbit

## Release Notes

- **New Features**
- Enhanced `SessionViewer` component for improved readability in method
calls.
- Additional fields in stream settings for better configuration
management.

- **Bug Fixes**
- Adjusted expected outputs in test cases for `LogStream` and `Schema`
components.

- **Refactor**
- Updated dependencies for testing tools, transitioning from Jest to
Vitest.
  - Improved structure and presentation in the `schema.vue` component.

- **Chores**
- Modified testing configuration paths and updated inline dependencies.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2024-11-05 14:07:35 +05:30
0ebaf21f33 feat: Pipeline integration v2 (#4732)
This PR implements the new design of **Pipeline** introduced by #4432 

---

**2 types of pipelines differentiates by the source** 

Type I: **Realtime**
- source is a stream (Logs, Metrics, & Traces)
- takes effect when the source stream is being ingested

Type II: **Scheduled** (aka DerivedSteram)
- source is a SQL query
- takes effect based on the given schedule

The new pipeline is represented as a graph consists of different types
of Nodes that are connected by edges.
**Pipeline Data Model**
```rs
pub struct Pipeline {
    pub id: String,
    pub version: i32,
    pub enabled: bool,
    pub org: String,
    pub name: String,
    pub description: String,
    pub source: PipelineSource,
    pub nodes: Vec<Node>,
    pub edges: Vec<Edge>,
}
```
**4 types of node**
I. StreamNode: either used for source node of realtime pipeline or for
destination nodes
II. QueryNode: used for source node of scheduled pipeline
III. FunctionNode: used for executing vrl functions
IV. ConditionNode: used for checking routing conditions

Rules applied to validating a pipeline when it's created:
1. non-empty nodes list
2. non-empty edges list
3. 1st node in nodes list is either StreamNode or QueryNode
4. non-empty `conditions` in all ConditionNode nodes in nodes list
5. all leaf nodes are of type StreamNode
6. In the same branch, unchecked `after_flattened` FunctionNode can't
follow checked
   `after_flattened` checked FunctionNode

Pipeline execution is implemented with the struct `ExecutablePipeline`,
a ready-execute pipeline object cached in memory based on the Pipeline
objects modified on the UI side.
`ExecutablePipeline` object
- builds the relationships among all the nodes based on the edges
- topologically sorts the nodes based on the level to determine which
node to process first
- registers all the vrl function node once

`ExecutablePipeline` object processes ingested records in batch.
Starting from the source node, each connecting edge has a channel
connecting the parent and child node, used for passing the records. This
approach enables batch processing in parallel.

---

**Deprecated Features**
1. previous implementation of pipeline
2. Function x Stream associations
 - Functions can still be added/edited/removed as before
- Needs to create a pipeline in order to apply chosen functions to the
desired stream

The new release when this pr is merged will automatically migrate **old
pipelines** and **Function x Stream associations** to new pipeline
format and can be found in `Stream Pipelines` tab with `Migrated-`
prefix names.
**_Note: Auto generated pipelines are paused by default. Please verify
the pipelines before enabling them_**


Co-authored-by: Taiming Liu <liutaiming3@gmail.com>
Co-authored-by: Bhargav <BJP232004@GMAIL.COM>
2024-10-30 21:53:28 -07:00
dependabot[bot] fe32354aa4 chore(deps): bump elliptic from 6.5.7 to 6.6.0 in /web (#4953) 2024-10-30 23:09:01 +08:00
Abhay Padamani 273330405c feat: color palette for dashboard chart (#4774)
- #4837 

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

## Release Notes

- **New Features**
- Introduced a new color configuration option for dashboard panels,
allowing users to customize colors via a new dropdown component.
- Added a utility for managing color palettes and calculating color
values based on data metrics.

- **Enhancements**
- Improved SQL and PromQL data conversion processes to dynamically apply
color schemes and enhance tooltip formatting.
- Enhanced the configuration options for dashboard panels with
additional color settings.

- **Dependencies**
	- Added new dependencies for improved data visualization capabilities.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2024-10-30 15:25:00 +05:30
Ashish Kolhe 59e9f73e16 feat: use stream stats for partitioning api (#4901) 2024-10-26 10:43:32 +08:00
Bhargavandktx-abhay 20dd46c1fe feat: O2 node sql parser implemetation (#4751)
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit

## Release Notes

- **New Features**
- Introduced new utility functions for SQL query parsing and un-parsing.
- Added functionality for managing fields in SQL queries based on user
interactions in the log search interface.

- **Improvements**
- Enhanced log search interface with new event handlers and improved
user feedback.
  - Streamlined error handling and data management for log queries.
- Refined conditional rendering and query construction logic in the
search interface.
- Updated SQL query manipulation logic for better accuracy and error
handling.
- Improved the clarity and efficiency of SQL query handling and saved
views.
- Enhanced control flow and data structure management within SQL query
handling.
- Added optional chaining to improve robustness in dashboard panel data
handling.
- Adjusted handling of SQL queries for improved performance and
responsiveness.

- **Bug Fixes**
  - Removed redundant code to improve performance and clarity.

- **Chores**
  - Updated dependencies to enhance SQL parsing capabilities.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->

---------

Co-authored-by: ktx-abhay <abhay.padamani@kiara.tech>
2024-10-22 13:59:39 +05:30
dependabot[bot] 80908c59e3 chore(deps): bump rollup from 4.21.3 to 4.22.4 in /web (#4645) 2024-09-26 08:12:47 +08:00
dependabot[bot] 5c382c26b3 chore(deps): bump serve-static and express in /web (#4580) 2024-09-18 11:41:19 +08:00
dependabot[bot] 7fcbde5144 chore(deps-dev): bump vite from 5.3.4 to 5.4.6 in /web (#4579) 2024-09-18 11:40:09 +08:00
dependabot[bot] 0f07fa8f9c chore(deps): bump axios from 1.7.2 to 1.7.7 in /web (#4433) 2024-09-02 18:45:03 +08:00
dependabot[bot] df3d749261 chore(deps): bump elliptic from 6.5.6 to 6.5.7 in /web (#4332) 2024-09-02 17:53:15 +08:00
dependabot[bot] f0d14a532d chore(deps): bump webpack from 5.93.0 to 5.94.0 in /web (#4420) 2024-09-02 16:39:55 +08:00
Omkar KesarkhaneandSai Nikhil bafbd205d4 feat: logs tables performance optimization (#4097)
fix #3973 
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit


- **New Features**
- Introduced a new dynamic table component for enhanced data display and
interaction.
- Added support for Tailwind CSS, improving styling capabilities across
the application.
- Implemented interactive controls for managing log entries in the data
table.

- **Improvements**
- Enhanced logging functionality with clearer error messaging, improved
content wrapping, and optimized selection of log fields based on user
input.
- Streamlined user interface in the JSON preview and search result
components for better usability and readability.
	- Improved performance and responsiveness of the search results table.
- Refined column visibility management in the search results, enhancing
user experience.

- **Bug Fixes**
- Updated column management logic in the search results for improved
robustness.
- Enhanced reliability of Playwright tests by refining timing and
interaction steps.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->

---------

Co-authored-by: Sai Nikhil <nikhil@openobserve.ai>
2024-08-26 16:59:43 +05:30
Sai Nikhil 56bf447c19 fix: #3630 solved cmd + enter issue (#4023)
Removed Monoco-single-line dependency
When user clicks on Ctrl + enter (windows) or Cmd + enter (max) in query
mode or vrl function editor
run query runs


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

- **New Features**
- Introduced a keyboard shortcut (Ctrl + Enter) in the Search Bar for
executing queries, enhancing user experience and interactivity.

- **Dependency Updates**
- Updated the dependency from `vue-monaco-singleline` to
`monaco-editor-vue`, which may introduce new features and optimizations
for the Monaco Editor integration.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2024-07-31 11:28:05 +05:30
Bhargav 427ee1baf1 fix: 4021 logs page additional error information (#4029)
<!-- 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 -->
2024-07-24 13:46:25 +05:30
Bhargav b0d6c761fa Fix: package version (#4027)
<!-- 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 -->
2024-07-23 12:01:43 +05:30
BhargavandNeha P 979f4ea6b6 feat: Npm package upgrade (#3984)
<!-- 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>
2024-07-22 13:54:34 +05:30
Omkar Kesarkhane d0c066d295 chore: added tailwind css (#3718)
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit

- **New Features**
  - Integrated Tailwind CSS for enhanced styling capabilities.
  - Added Autoprefixer to ensure cross-browser compatibility.
  - Introduced PostCSS configuration for better CSS processing.

- **Improved Styling**
- New styling framework (Tailwind CSS) incorporated into the project for
easier and more efficient design.
```
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2024-07-02 13:09:54 +05:30
dependabot[bot] 036e018bfa chore(deps-dev): bump ws from 8.14.2 to 8.17.1 in /web (#3762) 2024-06-18 23:24:33 +08:00
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
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
Bhargav ce0f21b73a fix: bundle split (#3410) 2024-05-09 18:46:48 +05:30
c9a4e00d69 feat: data ingestion pipeline (#3282)
Co-authored-by: omkark06 <omkar@zinclabs.io>
Co-authored-by: Neha P <neha@openobserve.ai>
2024-05-06 19:31:46 +05:30
Bhargav fe7472d84f fix: unwanted code (#3200) 2024-04-09 18:46:00 +05:30
dependabot[bot] e83486bb08 chore(deps-dev): bump vite from 3.2.8 to 3.2.10 in /web (#3156) 2024-04-04 09:49:15 +08:00
Omkar Kesarkhane 0eaab6b15b fix: csp unsafe-eval fixes (#3118) 2024-04-03 12:49:25 +05:30
dependabot[bot] 600006a429 chore(deps-dev): bump express from 4.18.2 to 4.19.2 in /web (#3113) 2024-03-30 21:40:10 +08:00
Omkar Kesarkhane 6af0e663d7 feat: Dashboard Reporting UI (#3098) 2024-03-27 18:11:13 +05:30
dependabot[bot] 8164ae155a chore(deps-dev): bump webpack-dev-middleware from 5.3.3 to 5.3.4 in /web (#3069) 2024-03-22 16:35:00 +08:00