Commit Graph
1226 Commits
Author SHA1 Message Date
Omkar Kesarkhane 041cbf334b fix: route name updated from "alerts" to "alertList" in multiple components (#5316)
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

## Summary by CodeRabbit

- **New Features**
- Conditional rendering added for custom logos based on enterprise
configuration.
- Navigation updated from "alerts" to "alertList" in multiple
components.

- **Bug Fixes**
	- Removed unnecessary redirect logic from the AppAlerts component.

- **Style**
- Enhanced code readability through formatting adjustments in button
components and layout attributes.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2024-12-10 15:57:04 +05:30
Sai Nikhil ea2fff7f43 fix: Stream settings page redesign (#5265)
This PR solves the issue #5216 #5224 

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

## Release Notes

- **New Features**
- Enhanced user interface for the log stream input fields with improved
layout and visibility, including dynamic width adjustments and clearer
labeling.
	- Added a new column to display index size in the log streams table.
- Introduced pagination management for schema fields, allowing for
dynamic updates to the number of rows displayed.
- Added a new prop, `isInSchema`, to enhance component layout based on
schema inclusion.

- **Bug Fixes**
	- Improved error messaging for invalid data retention periods.

- **Documentation**
- Updated language localization for clarity in schema field
descriptions.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2024-12-09 19:52:27 +05:30
Sai Nikhil f895dc32e2 fix: removal of previous node option in pipelines node (#5142)
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit

## Release Notes

- **New Features**
- Introduced new stream types: "metrics" and "traces" in the Query
component.
	- Added a warning message for unsaved changes in the Pipeline Editor.
- Enhanced user experience with a new informational card in the
Condition component.

- **Improvements**
- Simplified components by removing previous node selection
functionality across multiple components.
	- Streamlined drag-and-drop functionality for better user interactions.
	- Improved error handling and feedback for SQL query validation.

- **Bug Fixes**
	- Reactivated tests for error handling in pipeline functionality.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2024-12-09 16:57:42 +05:30
Hengfei Yang 77f4dde70f fix: improve Chinese (#5285) 2024-12-07 10:58:05 +08:00
ktx-kirtan 1dfb8ce38b fix: update view dashboard sticky header due to header height change (#5283)
- #5282

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

## Summary by CodeRabbit

- **New Features**
- Enhanced dashboard layout and functionality with improved sticky
header positioning.
- Conditional rendering for buttons and components based on user states
(fullscreen and print mode).

- **Bug Fixes**
- Adjusted button visibility and attributes to improve user interaction
based on current dashboard state.

- **Refactor**
- Improved template structure for better readability and maintainability
while preserving existing functionality.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2024-12-06 20:06:38 +05:30
Bhargav 8a439782b0 feat: destination and template movement under management (#5263)
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit

## Release Notes

- **New Features**
- Introduced new routing for "destinations" and "templates" under the
settings section.
	- Added a new `alertList` route, replacing the previous alerts route.

- **User Interface Changes**
- Removed tabbed navigation for alerts, destinations, and templates,
simplifying the layout to direct routing.
- Enhanced styling for icons in the header section for a more polished
appearance.
	- Updated the icon for the "organization" tab.

- **Bug Fixes**
- Standardized notification messages during save operations for better
user feedback.
- Updated functionality of back navigation buttons to emit a cancel
event instead of navigating back.

These updates enhance navigation and improve user experience within the
application.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2024-12-06 11:12:11 +05:30
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
Bhargav 1f9e635b57 fix: typography issue while build and const variable fix (#5250)
issue #5251 

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

## Summary by CodeRabbit

- **New Features**
- Enhanced search functionality in the Search Bar, including improved
handling of saved views and function management.
- Streamlined methods for saving and deleting views with clearer
notifications.

- **Bug Fixes**
- Improved robustness in applying saved views, ensuring checks for
stream existence.

- **Style**
- Adjusted layout and appearance of buttons and dropdowns for a more
consistent user interface.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2024-12-04 17:01:21 +05:30
Omkar Kesarkhane 60104aeb07 fix: Date Time shows incorrect date on UI (#5121)
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit

- **New Features**
- Improved handling of logs tab lifecycle and error messages for better
user experience.
	- Enhanced responsiveness of table cell styling based on state changes.
- Introduced utility function for validating date and time strings to
enhance error handling.
- Added new enumeration and interface to track UI component states
related to logs and stream exploration.

- **Bug Fixes**
	- Adjusted error message display logic for clarity.
- Refined timezone selection handling to ensure correct initial
settings.

- **Refactor**
- Reorganized component methods for better maintainability and
readability.
- Transitioned table cell class management to a reactive reference for
dynamic updates.
- Minor adjustments to the DateTime component for improved code clarity
and functionality.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2024-12-04 16:02:59 +05:30
Subhra264 683182f7b8 fix: don't add \n in email row templates, add trigger time variables in alert template (#5226)
As mentioned in the comments of #4996 

- [x] When using row templates with emails, O2 automatically adds `\n`
at the last of the row in email body. Since, email body is currently
treated as html body, the below row template -
```
<p> This is an event {alert_start_time} </p>
```
generates this email body -
```
This is an event 2024-12-02T11:25:40
\n
This is an event 2024-12-02T11:26:40
\n
This is an event 2024-12-02T11:27:40
\n
...
```

- [x] Adds new variables to represent when the alert got evaluated -
`alert_trigger_time` (unix timestamp in microseconds) and
`alert_trigger_time_str` (formatted, e.g. - `2024-12-02T11:27:40`)
- [x] Update document add `alert_trigger_time` and
`alert_trigger_time_str`

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

## Summary by CodeRabbit

- **New Features**
	- Enhanced alert notifications with improved timestamp handling.
- Updated alert template documentation to include new variables for
better clarity.

- **Bug Fixes**
- Refined error handling in the notification sending process for better
logging and context.

- **Documentation**
- Added documentation for new variables in the alert template section to
assist users in utilizing timestamps effectively.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2024-12-03 13:14:57 +05:30
ktx-vaidehi 834f6c651b feat: maps-support-for-visualization (#5182)
- #5165 

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

- **New Features**
- Enhanced drag-and-drop functionality with improved error handling and
user notifications.
- Updated computed properties to provide context-specific hints and
accurate value labels for map data.
- Integrated dependency injection for better access to dashboard panel
data.

- **Bug Fixes**
- Implemented checks to ensure items are added or removed from the
correct target axis during drag-and-drop operations.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2024-11-29 17:11:01 +05:30
BhargavandSai Nikhil e81e1a4e56 fix: undefined call fix (#5176)
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit

- **New Features**
- Enhanced organization selection dropdown for improved user experience.
- Conditional rendering for custom logos and menu items based on user
configuration.
- Improved handling of dynamic stream names in the input fields based on
selected node type.

- **Bug Fixes**
- Improved logic for fetching summary data, ensuring valid organization
identifiers are used.

- **Style**
	- Adjusted styling for consistency across layout components.

- **Documentation**
	- Updated error handling and logging for better troubleshooting.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->

---------

Co-authored-by: Sai Nikhil <nikhil@openobserve.ai>
2024-11-28 15:38:10 +05:30
Bhargav 734308708a fix: organization assignment check if there is no organization found (#5174)
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit

- **New Features**
- Enhanced organization selection and management for improved user
experience.
- Streamlined logic for retrieving organization identifiers and options.
	- Conditional navigation to subscription plans based on user actions.

- **Bug Fixes**
- Improved error handling during organization selection to prevent
exceptions.

- **Documentation**
- Updated method signatures to reflect new logic and error handling
capabilities.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2024-11-28 13:21:24 +05:30
ceac2b0f57 fix: dashboard org redirection fixes (#5169)
- #5163 
- #2236 

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

- **New Features**
	- Enhanced logic to prevent navigation to empty dashboards.
	- Improved routing when returning to the dashboard list.
	- Added organization identifier to routing for adding panels.

- **Bug Fixes**
- Added checks to handle undefined or empty dashboard data in the
`AddPanel` component.
- Refined error handling for panel operations, ensuring better user
feedback.

- **Documentation**
- Updated method signatures to reflect changes in navigation and data
handling logic.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->

---------

Co-authored-by: ktx-abhay <abhay.padamani@kiara.tech>
Co-authored-by: ktx-vaidehi <vaidehi.akhani@kiara.tech>
2024-11-28 12:49:13 +05:30
ktx-vaidehi 1f9fc1f1b8 fix: dashboard bugs (#5159)
for line, area charts for single x, y axis, label not working

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


- **New Features**
	- Enhanced chart rendering options based on SQL data input.
- Improved tooltip formatting for better user experience with hovered
series.
- Updated series configuration for various chart types to include label
options.
- Added validation for search query data to ensure robust data
processing.

- **Bug Fixes**
	- Improved handling of missing values in chart data.

- **Refactor**
- Streamlined data processing logic for better performance and
reliability.
- Encapsulated data processing logic in a dedicated function for
clarity.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2024-11-27 15:34:22 +05:30
Bhargav b22404e753 fix: organization not getting displayed after login (#5150)
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit

- **New Features**
- Enhanced organization management with improved responsiveness to user
interactions.
- Added a watcher to track changes in the selected organization,
ensuring prompt updates to the layout.
- **Bug Fixes**
	- Improved error handling and logging during organization selection.
- **Refactor**
- Restructured organization change handling for better performance and
clarity.
- Updated logic for setting the default organization when none is
selected.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2024-11-26 19:43:34 +05:30
Bhargav fc9565bf10 fix: org selection and change organization flow (#5140)
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit

## Release Notes

- **New Features**
- Enhanced organization selection and user authentication processes in
the login component.
- Improved session management with a new method for token refresh
timing.
- Conditional rendering for error messages and search results in the
logs component.

- **Bug Fixes**
- Robust error handling for user login, ensuring better feedback for
invalid credentials.
	- Improved error handling and user feedback in the logs component.

- **Refactor**
- Updated organization handling logic to support more complex data
structures and improve user context management during login.
- Enhanced logic flow and state management in the logs component for a
better user experience.

- **Documentation**
- Minor formatting changes for improved readability in the login
component template.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2024-11-26 10:22:09 +05:30
Bhargav d276115538 fix: Interesting field desection (#5129)
#5073 

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

## Summary by CodeRabbit

- **New Features**
- Enhanced SQL query handling for interesting fields in the logs
component.
- Improved search bar functionality to generate tailored SQL queries for
multiple streams.

- **Bug Fixes**
- Adjusted logic for handling filters to ensure accuracy in generated
SQL queries.

- **Documentation**
- Updated method signatures to reflect changes in parameters and
functionality.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2024-11-25 13:34:47 +05:30
Bhargav 94006a0b96 fix: consider the org identifier from url (#5138)
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit

- **New Features**
- Enhanced organization selection process, allowing for identification
via URL parameters.
  - Improved prompts for data ingestion initiation when necessary.

- **Bug Fixes**
- Refined logic for setting the selected organization based on local or
URL data.
- Strengthened verification of organization data ingestion before
navigation.

- **Style**
- Minor adjustments to template structure and styling for better user
experience.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2024-11-25 11:26:42 +05:30
Bhargav b05866e3aa fix: set organization details on organization change (#5135)
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit

- **New Features**
- Enhanced organization selection process with improved state
management.
- Added a method to ensure the selected organization is accurately
reflected based on query parameters and local storage.

- **Bug Fixes**
- Added logic to verify associated streams for selected organizations,
ensuring accurate data ingestion status.

- **Style**
	- Minor styling adjustments to maintain layout consistency.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2024-11-25 09:40:53 +05:30
Taiming LiuandSai Nikhil b011d8a93d feat: allow dynamic stream name in pipeline destinations (#5007)
impl #4968 

## How to use
When using pipeline to configure/modify data ingestion, users can set
the destination `Stream` dynamically based on the records that are being
ingested now.

When configuring the destination stream in pipeline editor, instead of
selecting any existing streams from the dropdown or creating a new
stream, one can use `{}` to wrap _**flattened**_ `field_name`, the value
of such field will be the final destination stream.


Co-authored-by: Sai Nikhil <nikhil@openobserve.ai>
2024-11-22 06:19:00 -08:00
Bhargav 4f9c1dc359 fix: Interesting field selection join query (#5125)
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit

- **New Features**
- Enhanced error handling for search queries, providing clearer feedback
to users.
	- Improved logic for resetting SQL query parameters in the search bar.
- Added new functions for filtering fields and constructing queries
based on selected streams.
	- Introduced a standardized SQL query format with `QUERY_TEMPLATE`.

- **Bug Fixes**
- Adjusted conditions for displaying error messages, ensuring
appropriate prompts for users.

- **Refactor**
- Streamlined control flow in data fetching and error handling methods
for better predictability.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2024-11-22 15:17:24 +05:30
Sai Nikhil 860e705504 fix: Pipeline minor improvements (#5120)
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit

## Release Notes

- **New Features**
- Enhanced user feedback during function deletions by displaying
associated pipelines or a message when none are linked.
- Improved pipeline management functionality, including state toggling
notifications and refined deletion processes.

- **Bug Fixes**
- Streamlined the fitting view logic for the VueFlow component, ensuring
proper rendering of nodes and edges.

- **Improvements**
- Simplified data filtering and expanded row logic for better user
experience in the pipeline list.
- Adjusted the deletion dialog to accurately reflect the current state
of associated pipelines.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2024-11-22 12:28:19 +05:30
3c37c272b5 fix: join & subquery related UI changes on logs page (#5055)
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit

## Release Notes

- **New Features**
- Enhanced SQL query handling for multiple streams in logging
functionality.
- Added visual feedback for the "Visualize" button based on selected
streams.
	- Introduced organization management improvements in the login process.
	- New utility function for array comparison added for improved logic.
	- Added a new action to the Vuex store for setting user information.

- **Bug Fixes**
- Improved error handling and display for SQL query construction and
organization data fetching.

- **Documentation**
- Updated comments and structure in various components for better
readability and maintainability.

- **Chores**
- Minor formatting and style adjustments across multiple files for
consistency.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->

---------

Co-authored-by: Abhay Padamani <141122205+ktx-abhay@users.noreply.github.com>
Co-authored-by: ktx-abhay <abhay.padamani@kiara.tech>
Co-authored-by: hengfei yang <hengfei.yang@gmail.com>
Co-authored-by: Huaijin <haohuaijin@gmail.com>
2024-11-22 10:12:16 +05:30
Sai Nikhil b370371408 fix: pipeline custom edge fix (#5102)
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit

## Release Notes

- **New Features**
  - Introduced a new "promql" tab for metrics in scheduled pipelines.
  - Added a toggle for a VRL function editor.
  - Enhanced edge rendering with a new `CustomEdge` component.
- Compact table view for the pipeline list with a new `dense` attribute.

- **Improvements**
  - Improved validation and error handling for SQL and PromQL queries.
  - Enhanced logic for stream selection and filtering.
- Refined edge type handling and visual representation in the pipeline
editor.
  - Updated initial viewport settings for better user experience.
- Enhanced aggregation settings and dynamic updates to group-by columns.

- **Bug Fixes**
- Fixed row expansion behavior for real-time pipelines in the pipeline
list.

- **Style**
- Adjusted CSS styles for new layouts and functionalities across
components.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2024-11-21 18:01:46 +05:30
ktx-vaidehiandktx-abhay 806444f2c7 fix: dashboard css & stream select in add panel issue (#5091)
- #5089 

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

## Summary by CodeRabbit

- **New Features**
- Introduced a new property, `streamResultsType`, to enhance data
handling in the dashboard panel.
- Dynamic button styling based on the application's theme in the Query
Type Selector component.

- **Bug Fixes**
- Improved error handling for field extraction to ensure correct fields
are loaded based on stream type.

- **Chores**
	- Updated CSS for button styling to support dynamic theming.

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

---------

Co-authored-by: ktx-abhay <abhay.padamani@kiara.tech>
2024-11-20 18:34:04 +05:30
ktx-vaidehi 98429ca0fa feat: allow limit in query to have dynamic variables (#5076)
- #5063 

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

- **New Features**
	- Enhanced dynamic handling of SQL queries for improved flexibility.
	- Improved error reporting for invalid SQL syntax.
- Added validation mechanism for SQL queries to ensure syntactical
correctness.
	- Introduced a function to extract unique variables from SQL queries.

- **Bug Fixes**
- Refined logic for updating custom query fields to ensure correct
population and validation.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2024-11-19 18:28:57 +05:30
Bhargav bbb8aa9b9b fix: refactoring organization handling (#5074)
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit

- **New Features**
- Introduced a reactive variable for organization data, improving state
management.
- Updated functionality to accept an object for organization data,
enhancing input validation and handling.

- **Bug Fixes**
- Enhanced error handling for better debugging without altering existing
functionality.

- **Refactor**
- Improved readability and maintainability of the layout component with
formatting adjustments and refined logic.
- Updated test cases to reflect changes in URL structure for
consistency.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2024-11-19 17:13:38 +05:30
ktx-vaidehi 1295daec69 feat: dashboard geojson map (#3023)
- #4825 

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

## Release Notes

- **New Features**
- Introduced new `MapsRenderer` component for enhanced map
visualizations.
  - Added support for selecting map types in the configuration panel.
  - New dashboard components for managing map queries and data.
  - Added new fields for map configurations, including names and values.

- **Improvements**
  - Enhanced chart selection options, including new map-related types.
  - Updated localization for better support of map functionalities.
  - Improved handling of field aliases in the panel schema.
- Enhanced functionality for adding map names and values within the
dashboard.
  - Refined drag-and-drop functionality for map fields.
- Enhanced data validation and error handling in map-related components.

- **Bug Fixes**
- Improved error handling and data validation in map-related components.

- **Chores**
  - Updated component names and structure for consistency.
  - Enhanced internal methods for better data handling and processing.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2024-11-19 16:22:18 +05:30
Juan Calderon-Perez fcb864356a fix: Simplify recommended setup for Elastic Beats (#5083) 2024-11-18 11:12:36 +08:00
Prabhat Sharmaandomkark06 1ca280e648 feat: Add new CRDs (#5071)
Add scrapeconfigs nad probes CRDs

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

- **New Features**
- Enhanced the Kubernetes configuration with dynamic command properties
for improved maintainability.
- Introduced a search input field in the Recommended component for
filtering displayed tabs in real-time.
- Implemented dynamic rendering of tabs based on user input, improving
usability and accessibility.

- **Bug Fixes**
	- Corrected command syntax for installing existing CRDs.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->

---------

Co-authored-by: omkark06 <omkar@zinclabs.io>
2024-11-15 12:05:36 +05:30
Sai Nikhil 36e0d2e479 fix: Search history disable when usage report disabled (#5048)
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit

- **New Features**
- Introduced conditional rendering for search history based on usage
settings.
- Added a user-friendly message and navigation button when search
history is not enabled.

- **Bug Fixes**
- Improved navigation by implementing a method to redirect users back to
the logs page.

- **Localization**
- Added a new message for navigating back to the logs page in the
English language support.

- **Style**
	- Minor formatting adjustments for better readability in the template.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2024-11-13 19:24:11 +05:30
ktx-vaidehi 8456ae5ecf test: dashboard settings (#4990)
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit

## Release Notes

- **New Features**
- Introduced multiple new test files for dashboard functionalities,
including settings for variables, tabs, and general settings.
- Enhanced testing capabilities with new test cases covering various
scenarios for managing dashboard elements.

- **Improvements**
- Added `data-test` attributes to various UI components across multiple
files, improving testability for automated testing.

- **Bug Fixes**
- Updated import paths for JSON data files to ensure proper referencing
in tests, enhancing overall test reliability.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2024-11-13 10:44:13 +05:30
ktx-vaidehi 0848db48d3 feat: dashboard folder UI changes (#5040)
- #5018 
- #5051 

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

- **New Features**
	- Enhanced dashboard and folder management functionalities.
- Introduced a new computed property for dynamically displaying folder
names.
	- Added a method to fetch folder data during dashboard loading.

- **Bug Fixes**
	- Improved error handling for dashboard panel operations.

- **Style**
- Updated CSS for active tab background color and folder name display
for better visual consistency, utilizing Tailwind CSS for improved
responsiveness.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2024-11-12 23:03:37 +05:30
ktx-vaidehi 6bf4f943bd feat: skip auto-refresh if api is pending (#5044)
- #5050 

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

## Summary by CodeRabbit

- **New Features**
- Enhanced refresh functionality in dashboard components to prevent
actions during loading states.
	- Improved control flow for date selection and refresh operations.

- **Bug Fixes**
- Addressed issues with unnecessary refresh calls when panels are
loading.

- **Documentation**
	- Updated method signatures for clarity on new conditional checks.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2024-11-12 19:24:33 +05:30
Sai Nikhil d8a62bd908 fix: pipeline issues (#4993)
This PR solves the below fixes
SQL error to be displayed while creating query type source node.
 Function is overlapping when we get. error while creating function.
 All validations need to be fixed
Confirmation message to not display, if user edits but does not change
anything and clicks on back icon
 Pipeline Preview for every node we are getting extra white background
Function added in a pipeline should not be allowed to delete until user
deletes the pipeline
 when user cancels any node creation any selection will be reset


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

## Release Notes

- **New Features**
- Enhanced user interaction and responsiveness in the pipeline editor
components, including improved handling of node selections and
validations.
- Introduced new tab for "streamPipelines" in the Functions view,
replacing the previous "enrichmentTables" tab.
- Added notifications for missing required fields during function
creation and condition saving.
- Implemented dynamic styling for function nodes based on user
interactions.
- Improved validation logic for cron expressions and SQL queries,
providing immediate feedback on input errors.
- Introduced user selection tracking and tooltips for various node types
to enhance clarity and usability.
- Updated data-test attributes across components for improved testing
capabilities.

- **Bug Fixes**
- Improved error handling and notifications for user inputs,
particularly regarding cron expressions and SQL query validations.
- Enhanced state management and error feedback for user selections
across various components.

- **Documentation**
- Updated internal logic descriptions for better clarity on component
behaviors and user interactions.

- **Style**
- Added tooltips for node types to enhance user experience and
visibility of node details.
- Introduced new styling for node handles to improve maintainability and
consistency.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2024-11-12 16:05:58 +05:30
Yashodhan Joshi 736fc1c768 fix: cheery-pick ingestion error logging (#4991) 2024-11-12 05:58:53 +08:00
Taiming LiuandSai Nikhil 7b6dfd5885 fix: delete related pipelines when deleting functions and streams (#4995)
Adds a new endpoint for `/functions` to find a list of associate
pipelines. This list is also used to warn user to remove associated pipelines
before deleting a function.
---------

Co-authored-by: Sai Nikhil <nikhil@openobserve.ai>
2024-11-11 09:34:21 -08:00
ktx-vaidehiandktx-abhay e133108831 feat: dashboard charts colors options (#4994)
- #5001 
- #5013 

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

- **New Features**
	- Enhanced color palette management for dynamic user selection.
	- Improved handling of missing values in chart data processing.

- **Bug Fixes**
- Refined logic for calculating minimum and maximum values in charts to
ensure accuracy.

- **Documentation**
- Updated method signatures and variable types for clarity and better
understanding of functionality.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->

---------

Co-authored-by: ktx-abhay <abhay.padamani@kiara.tech>
2024-11-11 17:25:03 +05:30
Omkar Kesarkhane 6b2864c9aa fix: Added AWS, GCP and Azure Data Sources to recommended tab (#5037)
#5038 

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

## Summary by CodeRabbit

## Release Notes

- **New Features**
- Introduced new tabs for AWS, GCP, and Azure configurations in the
ingestion section.
- Added a new component to display AWS configuration details with
service documentation links.
- Enhanced GCP configuration component with additional documentation
links.
  - Updated Azure configuration component layout and links.

- **Bug Fixes**
- Removed outdated ingestion options for Kinesis Firehose and GCP Logs
from the interface.

- **Refactor**
- Simplified route structure by removing obsolete components and adding
new ones for AWS, GCP, and Azure.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2024-11-11 13:29:37 +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
ktx-vaidehi 3e87c0fc26 fix: table chart override popup, if override has duplicate name then show error (#5026)
- #5025
2024-11-11 11:43:15 +05:30
Sai Nikhil 5ea9290d10 feat: Expand logs query editor with a button (#4961)
1.This feat includes an expand button along with if user looses focus or
press ESC button the query editor will be shrinked

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

- **New Features**
- Introduced a toggle button for expanding and collapsing the query
editor in the logs search interface.
- Dynamic icon and title updates for the toggle button based on editor
state.
	- Added keyboard shortcut (Escape key) to quickly collapse the editor.

- **Improvements**
- Enhanced user experience with conditional background color for the
focused editor.
	- Refined layout and styling for a consistent user interface.
	- Adjusted editor width based on toggle state and focus status.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2024-11-08 10:59:10 +05:30
Omkar Kesarkhane 0bdbced143 fix: fixed issue on aggregating field with non-existent alias and expand log detail (#5011)
#5010 

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

- **New Features**
- Introduced new methods for enhanced log data handling, including
`quoteTableNameDirectly`, `getRegionInfo`, and `addTraceId`.
  
- **Improvements**
- Enhanced error handling and state management for better user
experience.
	- Refined query construction logic to optimize performance.
- Updated list presentations in configuration components for improved
styling.

- **Style**
- Improved formatting and readability in the `JsonPreview`,
`KubernetesConfig`, `LinuxConfig`, and `WindowsConfig` components,
enhancing code maintainability.
	- Added SCSS support for styling in `KubernetesConfig`. 

- **Localization**
	- Added a new label for the search functionality: "Original".
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2024-11-07 18:27:43 +05:30
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
Omkar Kesarkhane 3775997ea8 feat: UI improvements in Query Management UI (#4930)
#4936 

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

## Release Notes

- **New Features**
- Introduced a new component, **RunningQueries**, for managing and
displaying running queries with enhanced filtering options.
- Added a **RunningQueriesList** component for displaying query data
with pagination and action capabilities.

- **Improvements**
- Enhanced layout and styling of the **QueryList** component for better
user experience.
- Streamlined data handling in **RunningQueriesList** by utilizing props
and emitted events, improving flexibility.

- **Localization**
- Added new localization keys for query metrics, including "Number of
Queries," "Total Exec. Duration," "Total Query Range," and "Search
Type," to improve user interface clarity.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2024-11-05 13:02:52 +05:30
Subhra264andTaiming Liu 287185ac46 fix: pipeline rbac fixes (#4976)
Fixes #4982 

- Adds migration for pipelines for ofga tuple database.
- Fixes some rbac permission logic for pipelines.

Co-authored-by: Taiming Liu <liutaiming3@gmail.com>
2024-11-04 10:50:20 -08:00
ktx-akshayandktx-vaidehi 0ca6524994 test: dashboard table transpose (#4925)
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit

- **New Features**
- Enhanced test coverage for dashboard UI with new Playwright tests
focusing on the transpose feature and dynamic columns.
- Added `data-test` attributes to various components in the General
Settings for improved testability.

- **Bug Fixes**
- Improved consistency in the GitHub Actions workflow configuration for
UI tests.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->

---------

Co-authored-by: ktx-vaidehi <vaidehi.akhani@kiara.tech>
2024-11-04 16:58:13 +05:30
Chaitanya Sistla 4603b26059 feat: fixing logstash url (#4970) 2024-11-01 23:22:48 +08:00
499f2bfbc7 feat: SearchEventContext for search usage reports (#4934)
impl #4914 

new parameters acceptable for search queries to add additional context
in usage report:
**Dashboard**
`dashboard_id` 
`dashboard_name` 
`dashboard_folder`
`dashboard_folder_id`
`dashboard_folder_name`

**Report**
`report_key`

**Alert**
`alert_key`

Co-authored-by: Sai Nikhil <nikhil@openobserve.ai>
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
Co-authored-by: Hengfei Yang <hengfei.yang@gmail.com>
2024-10-31 05:16:00 -07:00