* fix: fix the issue of saved view overriding query for logs and traces for builder type query
* chore: refactored isDefaultQuery to use a function to extract relevant keys and use lodash's isEqual
* fix: add check for multiple queries in isDefaultQuery logic
* chore: moved extractRelevantKeys outside isDefaultQuery
* fix: fix the failing tests
* feat: setup the app context to fetch users,licenses and feature flags
* feat: added global event listeners for after_login event
* feat: remove redux from app state and private route
* feat: syncronize the approutes file
* feat: cleanup the private routes
* feat: handle login and logout
* feat: cleanup the app layout file
* feat: cleanup and syncronize side nav item
* fix: minor small re-render issue
* feat: parallel processing for sync calls for faster bootup of application
* feat: some refactoring for private routes
* fix: entire application too much re-rendering
* fix: remove redux
* feat: some more corrections
* feat: fix all the files except signup
* feat: add app provider to the test-utils
* feat: should fix a lot of tests
* chore: fix more tests
* chore: fix more tests
* feat: fix some tests and corrected the redux mock
* feat: delete snapshot
* fix: test cases
* fix: pipeline actions test cases
* fix: billing test cases
* feat: update the signup API to accept isAnonymous and hasOptedUpdates
* chore: cleanup the console logs
* fix: indefinite loading on manage licenses screen
* fix: better handling and route to something_went_wrong in case of qs down
* fix: signup for subsequent users
* chore: update test-utils
* fix: jerky behaviour on entering the home page
* feat: handle the retention for login context flow
* fix: do not let users workaround workspace blocked screen
* feat: added new API endpoint for fetching the active license
* feat: add setup for apis on frontend
* feat: frontend infrastructure changes for app context and workspace suspended
* feat: added workspace suspended component
* feat: send back to application if workspace is not suspended
* feat: added the missing creative
* chore: only move to suspended state when state is payment_failed
* chore: address review comments
* fix: tab naming
* feat: alert rename interaction
* feat: add support for enter and escape shortcuts to submit and cancel rename
* chore: add missing alert field
* chore: update the style similar to dashboard rename
* refactor: remove buttonProps
* chore: add missing alert property to fix the build
---------
Co-authored-by: Srikanth Chekuri <srikanth.chekuri92@gmail.com>
* feat: tooltip plugin to show series data in tooltip
* feat: send anomaly function as last function
* feat: default z_score_threshold to 3
* fix: anomaly function not applied on initial load
* feat: maintain select alert type on reload
* feat: maintain select alert type on reload
* chore: update events to handle anomaly alert interactions
* feat: build client side QB search
* feat: query builder light mode support + overall UI improvements
* fix: preserve the alert rule labels in context
* feat: get labels and all possible values from /timeline API
* chore: remove unnecessary dropdownRender and optional fields from AttributeKey
* chore: merge the styles of .tag
* chore: use the correct type for attributeKeys
* chore: use the correct values for alert rule state in the context
* feat: logs quick filter
* feat: added open button in the closed state
* fix: build issues
* chore: minor css
* feat: handle changes for last used query,states and reset
* feat: refactor some code
* feat: handle on change functionality
* fix: handle only and all
* chore: handle empty edge cases
* feat: added necessary tooltips
* feat: use tag instead of tooltip icon
* feat: handle light mode designs
* feat: added correct facets
* feat: added resize observer for the graph resize
* chore: added local storage state for the toggle
* chore: make refresh text configurable
* feat: added environment and fix build
* feat: handle the cases for = and != operators
* feat: design changes and zoom out
* feat: minor css issue
* fix: light mode designs
* fix: handle the case for state initialization
* fix: onDelete query the last used index should be set to 0
* feat: tabs and filters for alert history page (#5655)
* feat: alert history page route and component setup
* feat: alert history basic tabs and fitlers UI
* feat: route based tabs for alert history and overview and improve the UI to match designs
* chore: unused components and files cleanup
* chore: improve alert history and overview route paths
* chore: use parent selector in scss files
* chore: alert -> alerts
* feat: alert rule details metadata header (#5675)
* feat: alert history basic tabs and fitlers UI
* feat: route based tabs for alert history and overview and improve the UI to match designs
* chore: unused components and files cleanup
* feat: copy to clipboard component
* feat: see more component
* feat: key value label component
* feat: alert rule details meta data header
* fix: apply the missing changes
* chore: uncomment the alert status with static data
* chore: compress the alert status svg icons and define props, types, and defaultProps
* feat: alert rule history skeleton using static data (#5688)
* feat: alert history basic tabs and fitlers UI
* feat: route based tabs for alert history and overview and improve the UI to match designs
* feat: top contributors UI using static data
* feat: avg. resolution time and total triggered stats card UI using static data
* feat: tabs component
* feat: timeline tabs and filters
* feat: overall status graph UI using dummy data with graph placeholder
* feat: timeline table and pagination UI using dummy data
* fix: bugfix in reset tabs
* feat: add popover to go to logs/traces to top contributors and timeline table
* chore: remove comments
* chore: rename AlertIcon to AlertState
* fix: add cursor pointer to timeline table rows
* feat: add parent tabs to alert history
* chore: add icon to the configure tab
* fix: display popover on hovering the more button in see more component
* fix: wrap key value label
* feat: alert rule history enable/disable toggle UI
* Feat: get alert history data from API (#5718)
* feat: alert history basic tabs and fitlers UI
* feat: route based tabs for alert history and overview and improve the UI to match designs
* feat: data state renderer component
* feat: get total triggered and avg. resolution cards data from API
* fix: hide stats card if we get NaN
* chore: improve rule stats types
* feat: get top contributors data from API
* feat: get timeline table data from API
* fix: properly render change percentage indicator
* feat: total triggered and avg resolution empty states
* fix: fix stats height issue that would cause short border-right in empty case
* feat: top contributors empty state
* fix: fix table and graph borders
* feat: build alert timeline labels filter and handle client side filtering
* fix: select the first tab on clicking reset
* feat: set param and send in payload on clicking timeline filter tabs
* Feat: alert history timeline remaining subtasks except graphs (#5720)
* feat: alert history basic tabs and fitlers UI
* feat: route based tabs for alert history and overview and improve the UI to match designs
* feat: implement timeline table sorting
* chore: add initial count to see more and alert labels
* chore: move PaginationInfoText component to /periscope
* chore: implement top contributor rows using Ant Table
* feat: top contributors view all
* fix: hide border for last row and prevent layout shift in top contributors by specifying height
* feat: properly display duration in average resolution time
* fix: properly display normal alert rule state
* feat: add/remove view all top contributors param to url on opening/closing view all
* feat: calculate start and end time from relative time and add/remove param to url
* fix: fix console warnings
* fix: enable timeline table query only if start and end times exist
* feat: handle enable/disable alert rule toggle request
* chore: replace string values with constants
* fix: hide stats card if only past data is available + remove unnecessary states from AlertState
* fix: redirect configure alert rule to alert overview tab
* fix: display total triggers in timeline chart wrapper based on API response data
* fix: choosing the same relative time doesn't udpate start and end time
* Feat: total triggered and avg. resolution time graph (#5750)
* feat: alert history basic tabs and fitlers UI
* feat: route based tabs for alert history and overview and improve the UI to match designs
* feat: handle enable/disable alert rule toggle request
* feat: stats card line chart
* fix: overall improvements to stats card graph
* fix: overall UI improvements to match the Figma screens
* chore: remove duplicate hook
* fix: make the changes w.r.t timeline table API changes to prevent breaking the page
* fix: update stats card null check based on updated API response
* feat: stats card no previous data UI
* feat: redirect to 404 page if rule id is invalid
* chore: improve alert enable toggle success toast message
* feat: get top contributors row and timeline table row related logs and traces links from API
* feat: get total items from API and make pagination work
* feat: implement timeline filters based on API response
* fix: in case of current and target units, convert the value unit in timeline table
* fix: timeline table y axis unit null check
* fix: hide stats card graph if only a single entry is there in timeseries
* chore: redirect alert from all alerts to overview tab
* fix: prevent adding extra unnecessary params on clicking alerts top level tabs
* chore: use conditional alert popover in timeline table and import the scss file
* fix: prevent infinity if we receive totalPastTriggers as '0'
* fix: improve UI to be pixel perfect based on figma designs
* fix: fix the incorrect change direction
* fix: add height to top contributors row
* feat: alert history light mode
* fix: remove the extra padding from alert overview query builder tabs
* chore: overall improvements
* chore: remove mock file
* fix: overall improvements
* fix: add dark mode support for top contributors empty state
* chore: improve timeline chart placeholder bg in light mode
* Feat: alert history horizontal timeline chart (#5773)
* feat: timeline horizontal chart
* fix: remove the labels from horizontal timeline chart
* chore: add null check to timeline chart
* chore: hide cursor from timeline chart
* fix: fix the blank container being displayed in loading state
* fix: alert history UI fixes (#5776)
* fix: remove extra padding from alert overview query section tabs
* fix: add padding to alert overview container
* fix: improve breadcrumb click behavior
* chore: temporarily hide reset button from alert details timepicker
* fix: improve breadcrumb click behavior
* chore: hide alert firing since
* fix: don't use the data state renderer for timeline table
* fix: alert history pr review changes (#5778)
* chore: rename alert history scss files in pascal case
* fix: use proper variables
* chore: use color variable for action button dropdown item
* chore: improve the directory structure for alert history components
* chore: move inline style to scss file and extract dropdown renderer component
* chore: use colors from Color instead of css variables inside tsx files
* chore: return null in default case
* chore: update alert details spinner tip
* chore: timelinePlugin warnings and remove file wide warning disabling
* chore: change Arial to Geist Mono in timeline plugin
* feat: alert history remaining feats (#5825)
* fix: add switch case for inactive state to alert state component
* feat: add API enabled label search similar to Query Builder
* feat: add reset button to date and time picker
* feat: add vertical timeline chart using static data
* chore: use Colors instead of hex + dummy data for 90 days
* fix: label search light mode UI
* fix: remove placeholder logic, and display vertical charts if more than 1 day
* chore: extract dayjs manipulate types to a constant
* fix: hide the overflow of top contributors card
* fix: throw instead of return error to prevent breaking alert history page in case of error
* chore: temporarily comment alert history vertical charts
* chore: calculate start and end times from relative time and remove query params (#5828)
* chore: calculate start and end times from relative time and remove query params
* fix: hide reset button if selected time is 30m
* feat: alert history dropdown functionality (#5833)
* feat: alert history dropdown actions
* chore: use query keys from react query key constant
* fix: properly handle error states for alert rule APIs
* fix: handle dropdown state using onOpenChange to fix clicking delete not closing the dropdown
* Fix: bugfixes and overall improvements to alert history (#5841)
* fix: don't display severity label
* chore: remove id from alert header
* chore: add tooltip to enable/disable alert toggle
* chore: update enable/disbale toast message
* fix: set default relative time to 6h if relative time is not provided
* chore: update empty top contributors text and remove configure alert
* chore: temporarily hide value column from timeline column
* fix: use correct links for logs and traces in alert popover
* fix: properly set timeline table offset
* fix: display all values in graph
* fix: resolve conflicts
* chore: remove style for value column in timeline table
* chore: temporarily hide labels search
* fix: incorrect current page in pagination info text
* chore: remove label QB search
* chore: remove value column
* chore: remove commented code
* fix: show traces button when trace link is available
* fix: display horizontal chart even for a single entry
* fix: show inactive state in horizontal similar to normal state
* fix: properly render inactive state in horizontal chart
* fix: properly handle preserving alert toggle between overview and history tabs
* feat: get page size from query param
* chore: remove commented code + minor refactor
* chore: remove tsconfi.tmp
* fix: don't add default relative time if start and times exist in the url
* feat: display date range preview for stat cards
* chore: remove custom dropdown renderer component
* Fix: UI feedback changes (#5852)
* fix: add divider before delete button
* fix: timeline section title color in lightmode
* fix: remove the extra border from alert history tabs
* fix: populate alert rule disabled state on toggling alert state (#5854)
---------
Co-authored-by: Shaheer Kochai <ashaheerki@gmail.com>
* feat: qb-suggestions base setup
* chore: make the dropdown a little similar to the designs
* chore: move out example queries from og and add to renderer
* chore: added the handlers for example queries
* chore: hide the example queries as soon as the user starts typing
* feat: handle changes for cancel query
* chore: remove stupid concept of option group
* chore: show only first 3 items and add option to show all filters
* chore: minor css changes and remove transitions
* feat: integrate suggestions api and control re-renders
* feat: added keyboard shortcuts for the dropdown
* fix: design cleanups and touchups
* fix: build issues and tests
* chore: extra safety check for base64 and fix tests
* fix: qs doesn't handle padding in base64 strings, added client logic
* chore: some code comments
* chore: some code comments
* chore: increase the height of the bar when key is set
* chore: address minor designs
* chore: update the keyboard shortcut to cmd+/
* feat: correct the option render for logs for tooltip
* chore: search bar to not loose focus on btn click
* fix: update the spacing and icon for search bar
* chore: address review comments
* feat: set log sev indicator based on severity number if severity text is unknown
* chore: some cleanup
* chore: some more cleanup
* chore: update log state indicator utils test
* chore: some more cleanup
* fix: priority to severity_number over severity_text and update tests
* fix: made the severity_text check case insensitive and added null checks
---------
Co-authored-by: Vikrant Gupta <vikrant.thomso@gmail.com>
* feat: go to traces should use start time and endtime from trace details
* chore: remove console log
---------
Co-authored-by: Vishal Sharma <makeavish786@gmail.com>
* fix: step interval not working for logs alerts
* fix: build issues
* fix: do not auto update the step interval when user enters some value
* feat: remove initial default 60 from step interval
* feat: revert last change
* fix: step interval mapping
* fix: remove initial default 60 from step interval
* Revert "fix: remove initial default 60 from step interval"
This reverts commit d23ce5e7e2860f37d433070d16793ceab85ed614.
* chore: fix backend
* chore: remove backend changes
* feat: enable the aggregate every interval across product
* fix: handle full view and landing view changes
---------
Co-authored-by: Srikanth Chekuri <srikanth.chekuri92@gmail.com>
* feat: stacked bars uplot poc
* feat: stacked bars uplot poc
* feat: reverse the legend order
* fix: tooltip
* feat: added bands
* feat: added bands calculation function
* feat: code cleanup and added toggle for stacked and unstacked bars
* feat: minor fixes and better naming
* feat: fix jest test cases
* feat: fix data on view mode of bar chart stacked
* feat: make transulecent colors
* fix: build issues
* fix: legend issues in bar chart edit mode
* feat: added implementation details and refactored code in tooltip plugin
* fix: added missing return statement
* fix: eslint prettier issues
* fix: legend visibility issues on view mode
* fix: legend visibility issues on view mode
* feat: added info text
* fix: add info text only in full view mode
* fix: issue with zero index
* feat: support multi ingestion keys
* fix: remove unwanted changes
* feat: limits ui
* feat: handle limit updates from component
* feat: handle limit updates per signal
* feat: integrate multiple ingestion key api
* feat: handle crud for limits
* fix: lint errors
* feat: support query search for ingestion name
* feat: show utilized size in limits
* feat: show multiple ingestions ui only if gateway is enabled
* feat: handle decimal values for ingestion size
* feat: enable multiple ingestion keys for all users with gateway enabled
* chore: remove yarn.lock
---------
Co-authored-by: Yunus A M <younix@Yunuss-MacBook-Pro.local>
Co-authored-by: Prashant Shahi <prashant@signoz.io>
* feat: base setup for individual column type units
* feat: added logic for y axis unit selection
* fix: light mode design
* feat: fix the mutation of original datasource array
* fix: handle-large-traces
* feat: add isSubTree key to identify subTrees
Show user a loom video explaining how to navigate large spans
* chore: update icon to warning
* chore: fire telemetry events for all trace detail API calls, large traces
* chore: update MAX_SPANS_IN_TRACE to 250k
* feat: dashboard panel grouping initial setup
* feat: added panel map to the dashboard response and subsequent types for the same
* feat: added panel map to the dashboard response and subsequent types for the same
* feat: added settings modal
* feat: handle panel collapse and open changes
* feat: handle creating panel map when dashboard layout changes
* feat: handle creating panel map when dashboard layout changes
* feat: refactor code
* feat: handle multiple collapsable rows
* fix: type issues
* feat: handle row collapse button and scroll
* feat: handle y axis movement for rows
* feat: handle delete row
* feat: handle settings name change
* feat: disable collapse/uncollapse when dashboard loading to avoid async states
* feat: decrease the height of the grouping row
* fix: row height management
* fix: handle empty row case
* feat: remove resize handle from the row
* feat: handle re-arrangement of panels
* feat: increase height of default new widget
* feat: added safety checks
* feat: support of changing panel type in dashboards
* feat: add handle query change function
* feat: last bit of minor change
* feat: apply current query updates to superset query
* feat: pr cleanup
* feat: handle list type change
* fix: build issues
* fix: changes required due to refactor
* fix: handle offset and page size for list queries
* feat: handle functions propagation
* feat: handle the spaceAggregation value to retain
* fix: handle list panel type changes
* feat: handle removing the graph list from the side selection in case of metrics
* feat: handle list type qb changes
* feat: handle page breaking
* feat: pick dataSource from newQUeryItem
* feat: handle page reload
* feat: onboarding flow - enable users to submit request for a new data source , environment
* chore: request data source to be available for all modules
* chore: remove hardcoded value
* feat: update time range selection flows to handle relative and absolute times
* fix: lint error
* fix: lint error
* feat: update logic to handle custom relative times on load and standardize relative time formats
* fix: type issue
* fix: handle light mode and on custom time range select
* chore: update alert frequency corresponding times
* chore: update copy URL
* feat: update styles
* fix(be,fe): upsert dashboard on provision, export with uuid from frontend
* chore(fe): formatting in dashboard description
* fix: miss out while merging
---------
Co-authored-by: Håvard <haavard.markhus@inmeta.no>
Co-authored-by: Srikanth Chekuri <srikanth.chekuri92@gmail.com>
Co-authored-by: Haavasma <61970295+Haavasma@users.noreply.github.com>