Commit Graph
1300 Commits
Author SHA1 Message Date
Bhargav 0cbeebd7fc fix: table refresh issue. (#5414)
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit

- **New Features**
- Enhanced management of enrichment tables with the addition of a method
to reset stream types.
- **Bug Fixes**
- Improved error handling for fetching and deleting lookup tables,
ensuring only relevant errors trigger notifications.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2024-12-20 18:07:13 +05:30
ktx-vaidehiandKirtan Thakkar 5c2857ff86 feat: on click of refresh button or apply button only apply variables (#5077)
- #4885 

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

- **New Features**
- Enhanced refresh button functionality in dashboard panels, providing
visual feedback when variable data changes.
- Introduced a new utility function to check if variables are fully
loaded before updates.
- Added computed properties and event emissions to improve user
interaction and responsiveness to variable updates.
- Improved error handling and logging in dashboard components for better
user visibility.
- Introduced new methods for handling user interactions in variable
selection components.

- **Bug Fixes**
- Improved test case flows for dashboard settings and variable settings,
ensuring smoother interactions in automated tests.

- **Documentation**
- Updated tooltips and button states for better user guidance regarding
variable changes.

- **Chores**
- Streamlined test cases by removing redundant steps, enhancing clarity
and efficiency.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->

---------

Co-authored-by: Kirtan Thakkar <kirtan@kiara.tech>
2024-12-19 23:57:48 +05:30
ktx-vaidehi 7f301b3acf feat: logs support on dashboard drilldown (#5249)
- #5194

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

- **New Features**
- Introduced new logging options in drilldown functionality, allowing
users to select between "Auto" and "Custom" logs modes.
  - Added a new query editor for custom log queries.
- Enhanced drilldown navigation to logs with improved error handling and
logging.
- Added optional fields for logging configurations in the drilldown data
structure.
- Improved responsiveness of the dashboard component with new computed
properties and watch functions.

- **Bug Fixes**
- Improved validation logic for drilldown forms to accommodate new
logging options.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2024-12-19 23:09:10 +05:30
Abhay Padamani e0cc7c0ed6 fix: metrics page changes (#5409)
- #5193 


![image](https://github.com/user-attachments/assets/cd6f4a46-11e7-4e1e-b38a-b1c6bd58286f)



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

## Summary by CodeRabbit

- **New Features**
	- Introduced PromQL mode handling in the dashboard panel.
- Enhanced metrics page layout with new components:
DateTimePickerDashboard, AutoRefreshInterval, ChartSelection,
CustomHTMLEditor, CustomMarkdownEditor, DashboardQueryBuilder,
DashboardErrorsComponent, PanelSchemaRenderer, PanelSidebar,
RelativeTime, and QueryInspector.
	- Added localization support for metrics in the search context.

- **Bug Fixes**
- Improved error handling for loading stream fields and validating panel
configurations.
- Stream type selection visibility now adapts based on dashboard panel
data type.
- Enhanced user interaction by simulating keyboard input for
organization selection.
	- Reduced validation requirements for the metrics page.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2024-12-19 18:46:47 +05:30
ktx-vaidehi 7dd3586882 feat: change api call to get dashboard data and listing of data (#5354)
- #5196

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

## Summary by CodeRabbit

- **New Features**
- Enhanced dashboard data fetching and error handling for improved user
experience.
- Introduced a new reactive variable to manage the fetched dashboards
more effectively.
	- Added a new method for retrieving dashboard data by ID.
	- Improved form validation for drilldown operations.
  
- **Bug Fixes**
- Enhanced error handling logic to display appropriate messages based on
dashboard data retrieval conditions.
  
- **Chores**
- Refactored various functions for better maintainability and clarity in
dashboard management.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2024-12-19 18:16:41 +05:30
Sai Nikhil 16fb8eb3a4 fix: Duplicate Entries in streams page (#5404)
This PR fixes the #5400 
both sorting issues and duplicate entries being created are solved 

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

- **New Features**
- Enhanced row identification in the LogStream table with a dynamic key
generation method.

- **Bug Fixes**
- Improved handling of row selection and updates in the LogStream
component.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2024-12-18 16:23:51 +05:30
Sai Nikhil 4379cd7c56 fix: 403 double popups issue (#5376)
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit

- **New Features**
- Added `data-test` attributes to various components for improved
testability.
- **Bug Fixes**
- Enhanced error handling logic to suppress notifications for 403 status
responses across multiple components, improving user experience during
error scenarios.
- **Chores**
- Minor formatting adjustments and code structure refinements for
clarity in several components.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2024-12-18 14:45:18 +05:30
Omkar Kesarkhane f57df5e018 feat: trellis chart (#5015)
#4871 
#5127  

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

## Summary by CodeRabbit

- **New Features**
	- Introduced a new "sankey" chart type in the chart selection.
- Added a configuration section for trellis layouts in dashboard panel
settings.
	- Enhanced error handling and data validation for various panel types.
	- New utility function `deepCopy` for creating deep copies of objects.
	- Enhanced grid management capabilities for trellis layouts.
	- Improved rendering logic for charts and dynamic height adjustments.
- Introduced new computed properties for dynamic chart panel height and
trellis configuration.
- New parameter `chartPanelStyle` added for enhanced customization in
data conversion.
- Improved handling of no data scenarios for metric and heatmap panel
types.
	- Added new localization keys for layout and dashboard settings.

- **Bug Fixes**
- Improved error messages for dashboard retrieval and data validation
logic.

- **Documentation**
	- Expanded localization options for layout and dashboard settings.

- **Chores**
	- Minor formatting and consistency improvements across multiple files.
	- Added trailing commas for improved code consistency in various files.
	- Updated import paths to reflect codebase restructuring.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2024-12-17 11:42:35 +05:30
Sai Nikhil f62ff31806 fix: create destination button in add alert (#5338)
This PR fixes the #5323 issue that is related to adding create
destination button in add alert page

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

- **New Features**
- Added buttons for refreshing and creating destinations in the alert
creation interface.
- Introduced a new event for refreshing destinations and a method to
navigate to the destination creation page.

- **Improvements**
- Enhanced filtering logic for destinations and refined validation for
the alert form.
- Improved error handling for asynchronous operations in the alert
management system.
	- Streamlined the filtering process in the destination list.
- Implemented lifecycle hook to ensure route updates on component mount.

- **Bug Fixes**
- Adjusted layout and styling for better usability and consistency
across components.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2024-12-17 11:08:41 +05:30
Bhargav 6ee5a54d0b fix: values api for single stream selection filter context (#5372)
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit

- **New Features**
- Enhanced log display functionality with improved query context
handling for multiple streams.
- Improved error handling for filter validity when selecting multiple
streams.
	- Adjusted pagination logic for accurate total fields display.
- Added new buttons and toggles in the search bar for better control
over query results.
- Introduced confirmation dialog for switching between visualization and
log modes.

- **Bug Fixes**
- Refined logic for updating field values to ensure correct aggregation
and display.
	- Enhanced error handling for download attempts in the search bar.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2024-12-16 16:15:48 +05:30
Omkar Kesarkhane f85220fcdd fix: Removed multiple registrations of autocomplete suggestions in Query Editor (#5369)
#5370 
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit

## Summary by CodeRabbit

- **Bug Fixes**
- Improved error handling for the Monaco editor's element retrieval
process.
- Ensured proper disposal of auto-completion providers to prevent memory
leaks.

- **New Features**
- Enhanced lifecycle management for the Monaco editor's auto-completion
functionality.
- Added new SQL completion items and improved filtering of suggestions
based on user input.

- **Style**
	- Updated code formatting for consistency in `watch` statements.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2024-12-16 15:02:53 +05:30
Omkar Kesarkhane f3d2720fd1 fix: fixed explore enrichment table and overlap of logs table cell content (#5353)
#5330 #5343

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

- **New Features**
- Introduced a new method for handling stream exploration based on the
stream type.
- Added props for error messaging, timestamp highlighting, and default
column settings in the table component.

- **Improvements**
- Enhanced responsiveness and usability of the table component with
better column resizing and row management.
- Improved readability and maintainability of the `schema` component
through formatting adjustments.
- Updated error handling for data retention days in the schema
component.
- Added a new asynchronous method to calculate the time range for stream
exploration.

- **Bug Fixes**
	- Refined error handling in stream deletion methods for consistency.

- **Documentation**
	- Updated method signatures for clarity and improved functionality.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2024-12-16 12:06:52 +05:30
Juan Calderon-Perez 7b461a6ab7 fix: Improve English locale (#5364) 2024-12-16 13:37:43 +08:00
Prabhat Sharma 17f24ac21a chore: add k8s cluster name to helm chart instructions (#5361)
Add k8s cluster name to helm chart. This will allow separating data from
multiple k8s clusters in same streams.

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

- **New Features**
- Updated installation commands for the OpenObserve collector to specify
the Kubernetes cluster name.
- **Bug Fixes**
- Enhanced specificity of commands related to the OpenObserve collector
installation.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2024-12-14 16:33:19 -08:00
Bhargav 35c414386f fix: added fuzzy search function guide & autocomplete (#5301)
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit

- **New Features**
	- Enhanced SQL autocomplete with fuzzy matching suggestions.
- Updated syntax guide to include fuzzy matching instructions for SQL
queries.

- **Bug Fixes**
- Maintained existing logic for other completion items, ensuring
seamless integration of new features.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2024-12-13 17:26:31 +05:30
Sai Nikhil 7ae2e36d34 fix: UI fix for stream settings page (#5340)
This PR fixes the issue #5339 

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


- **New Features**
	- Enhanced schema details interface with dynamic theme support.
	- Improved filtering capabilities for schema fields.
- Updated pagination logic for better row display based on user
selections.
	- Validation for data retention days in submission process.

- **Bug Fixes**
- Improved error handling for field deletion operations, providing
clearer feedback to users.

- **Style**
	- Adjusted table scrollbar behavior and hover effects for rows.
	- Enhanced visual differentiation between dark and light themes.
	- Improved rendering of selection checkboxes in the table.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2024-12-13 16:25:34 +05:30
Bhargav fe615a409e fix: 5297 subqueries not being parsed in UI (#5341)
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit

- **New Features**
- Enhanced error handling and logic improvements in SQL query parsing
for the `useLogs` composable.
- Improved functionality of the search bar component, including better
handling of SQL queries and user notifications.

- **Bug Fixes**
- Refined logic for managing selected streams and improved feedback for
download attempts in the search bar.

- **Style**
- Adjusted button classes and added scoped styles to improve the visual
layout of the search bar component.

- **Chores**
- Updated GitHub Actions workflow configuration for Playwright UI tests.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2024-12-12 18:14:55 +05:30
Juan Calderon-Perez e180100627 fix: Improve Spanish locale (#5291) 2024-12-12 13:35:44 +08:00
c23faaf974 fix: dashboard search across folders (#5318)
This PR fixes #5198 

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

- **New Features**
- Enhanced search functionality with a toggle to search across folders
or within the current folder.
- New methods for fetching search results and debouncing input for
efficient searching.
- Added support for dynamic filtering of dashboards based on the search
context.
- New localization entries for improved user interface text related to
dashboard searches.
- Added methods for managing permissions and fetching dashboards within
role management.
- Enhanced report creation with improved handling of dashboard options
and scheduling.

- **Bug Fixes**
- Improved error handling for dashboard management functions to prevent
runtime errors.

- **Chores**
- Streamlined dashboard state updates after modifications to ensure
consistency.
	- Added `data-test` attributes to components for better testability.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->

---------

Co-authored-by: ktx-vaidehi <vaidehi.akhani@kiara.tech>
Co-authored-by: ktx-vaidehi <134508096+ktx-vaidehi@users.noreply.github.com>
2024-12-11 20:13:39 +05:30
Hengfei Yang e65774403a ci: build node on windows (#5332) 2024-12-11 17:30:03 +08:00
Sai NikhilandTaiming Liu 953f7bd096 fix: save pipeline warn (#5303)
This PR warns the user when tries to save the pipeline having same input
and output node as that doesnot make any impact

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

- **New Features**
- Introduced a confirmation dialog for saving pipelines to enhance user
experience.
	- Added validation checks for pipeline nodes before saving.

- **Bug Fixes**
- Improved error handling by ensuring users are prompted before saving
invalid configurations.
- Enhanced user experience with appropriate redirection after dialog
cancellation.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->

---------

Co-authored-by: Taiming Liu <liutaiming3@gmail.com>
2024-12-10 09:51:19 -08:00
0c728df972 feat: service accounts for api access (#5212)
This PR introduces the service accounts with tokens

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

## Release Notes

- **New Features**
- Introduced a new module for managing service accounts, including
functionalities for listing, creating, updating, and deleting service
accounts.
- Added a new tab for "Service Accounts" in the Identity Access
Management interface.
- Enhanced user management interfaces to support service account
operations, including the ability to add and edit service accounts.
- Implemented a new component for managing service accounts within
groups and roles.
- Added new API endpoints for service account management, including
token operations.
- Introduced a comprehensive Vue component for managing service accounts
with enhanced features, including filtering, searching, and token
management.
- Enhanced permission checks and error handling for service accounts
across various functions.
- Added support for external user permissions in service account
operations.
- Enhanced error handling for various components to prevent unnecessary
notifications on permission-related issues.
- Added localization support for service account functionalities,
providing necessary labels for user interface elements.

- **Bug Fixes**
- Improved error handling and validation across user management and
service account functionalities.

- **Documentation**
- Updated localization files to support new service account features and
labels.

- **Style**
- Adjusted styles in various components to enhance usability and
consistency.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->

---------

Co-authored-by: oasisk <ashish.j.kolhe@gmail.com>
Co-authored-by: Subhradeep Chakraborty <chakrabortysubhradeep556@gmail.com>
2024-12-10 21:41:21 +05:30
ktx-vaidehi 113937de24 fix: support for subqueries in dashboard (#5315)
- #5297 

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

- **New Features**
- Enhanced query validation process, allowing queries with subqueries to
pass without error.

- **Bug Fixes**
- Adjusted height calculations for elements in the Add Panel component,
improving layout and user interface.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2024-12-10 19:20:25 +05:30
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
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
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
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
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