Commit Graph
77 Commits
Author SHA1 Message Date
Omkar KesarkhaneandSai Nikhil 666dfcdb62 fix: Updated UI unit test setup (#6520)
Co-authored-by: Sai Nikhil <nikhil@openobserve.ai>
2025-05-30 13:21:40 +05:30
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] 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] 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 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
Hengfei Yang e65774403a ci: build node on windows (#5332) 2024-12-11 17:30:03 +08:00
Bhargav c686380d97 feat: Initial left navigation changes (#5241)
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit

- **New Features**
- Enhanced layout structure and visual presentation in the MainLayout
component.
- Updated navigation item display properties for improved user
experience.
- Added a tooltip to the Theme Switcher for contextual information on
theme modes.
	- Introduced a new language selection entry in the user interface.
- Improved error handling and user feedback in the log search interface.
- Adjusted layout heights in various components for better visual
presentation.
	- Added a new method for refreshing timezone in the traces component.
	- Improved loading spinner visibility in RUM components.

- **Bug Fixes**
- Corrected localization for "Real User Monitoring" to "RUM" in the
English language file.

- **Refactor**
- Simplified the template structure in the MenuLink component for better
semantic clarity.
- Improved drawer visibility control and responsiveness in the
MainLayout component.
- Enhanced error handling and loading state management in the traces and
logs components.
- Updated height calculations for various components to optimize layout.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2024-12-04 18:48:03 +05:30
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] 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
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
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] 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
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 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
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
Yonas Yanfa c318853898 fix: missing module date-fns. Fixes #2709 (#3164) 2024-04-05 15:31:36 +08:00
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
Omkar Kesarkhane 6af0e663d7 feat: Dashboard Reporting UI (#3098) 2024-03-27 18:11:13 +05:30
Hengfei YangandBhargav 725e91c0e4 fix: cache latest file & cache stream fields (#2955)
Add a new ENV for it: `ZO_FAST_MODE_FILE_LIST_INTERVAL=300`, update
every 5 minutes.

Other new environments:
```
ZO_RUM_ENABLED=false
ZO_RUM_CLIENT_TOKEN=""
ZO_RUM_APPLICATION_ID=""
ZO_RUM_SITE=""
ZO_RUM_SERVICE=""
ZO_RUM_ENV=""
ZO_RUM_VERSION=""
ZO_RUM_ORGANIZATION_IDENTIFIER=""
ZO_RUM_API_VERSION=""
ZO_RUM_INSECURE_HTTP=false

O2_CUSTOM_SLACK_URL=""
O2_CUSTOM_DOCS_URL=""
```

- Doc URL and Slack URL will be custom configurable for enterprise
version
- RUM configuration can be enabled via environment variable.

---------

Co-authored-by: Bhargav <BJP232004@GMAIL.COM>
2024-03-13 20:29:16 +05:30
dependabot[bot] c664e841f6 chore(deps): bump axios and start-server-and-test in /web (#2754) 2024-03-03 00:59:00 +08:00
Omkar Kesarkhane 9e1752aea1 fix: RUM UI fixes (#2599) 2024-02-22 14:43:28 +05:30
ktx-abhayandktx-vaidehi 979f0dac89 feat: dashboard widget with custom HTML (#2611)
- #1045

---------

Co-authored-by: ktx-vaidehi <vaidehi.akhani@kiara.tech>
2024-02-07 11:45:10 +05:30
ktx-abhayandktx-vaidehi 7fe5a062e1 feat: tabs on dashboard (#2292)
- #1611

---------

Co-authored-by: ktx-vaidehi <vaidehi.akhani@kiara.tech>
2024-02-01 13:01:45 +05:30
dependabot[bot] 0a54dc0c0c chore(deps-dev): bump vite from 3.2.7 to 3.2.8 in /web (#2521) 2024-01-20 09:58:22 +08:00
Ashish Kolhe 122d5d52c4 feat: dex integration (#2277) 2023-12-22 09:05:46 +05:30
Bhargav e0867e23ab fix: sync release v0.7.0 (#2154)
- removal of user api
- added datadog and openobserve configuration to capture logs
2023-12-11 16:19:22 +05:30
Omkar Kesarkhane c22d7a8aac feat: Alerts UI Revamp (#2100) 2023-12-01 10:50:52 +08:00
Prabhat Sharma 5db4ca191a change license to AGPL 2023-11-26 18:34:59 -08:00
Bhargav 8af4815f26 fix: Logs & Traces page time format (#1987) 2023-11-21 16:20:39 +05:30
dependabot[bot] 8e4c4e0770 build(deps): bump debug and rudder-sdk-js in /web (#1964) 2023-11-17 18:41:22 +08:00
Omkar Kesarkhane 93bcc206cb fix: fixed rum UI issues (#1854)
1. Restoring date time on reloading Errors and Session page
2. Minor styling fixes in Error tag on error page
2023-11-03 17:23:54 +05:30