* chore(error): integrate new errors for channels create and test
* chore(error): update all the channel APIs
* chore(error): update the edit org http issue
* chore(error): fix create channel test
* chore(error): fix create channel test
* chore(error): fix create channel test
* chore(error): fix create channel test
* chore(error): remove console logs
* fix: context log data fix in list view
* fix: fix query builder and quick filters in light mode
* chore: add desc
* chore: added test case
* fix: fix redirect url when not in logs view
* chore: minor fix
* chore: minor fix
* chore: minor test fix
---------
Co-authored-by: Aditya Singh <adityasingh@Adityas-MacBook-Pro.local>
* feat: added url sharing for main domain list page api monitoring
* feat: added shivanshus suggestions in qb payloads for spanid and kind string client filter
* fix: limited the endpoints table limit to 1000
* feat: date picker in domain details drawer
* feat: added top errors tab in domain details
* fix: removed console logs
* feat: new dep services top 10 errors localised date picker agrregate domain details etc
* feat: added domain level and endpoint level stats
* feat: added custom cell rendering in gridcard, added new table view in all endpoints
* feat: added port column in endpoints table
* feat: added custom title handling in gridtablecomponent
* fix: fixed the traces corelation query for status code bar charts
* feat: added zoom functionality on domain details charts
* chore: add constants for standardisation
Signed-off-by: Shivanshu Raj Shrivastava <shivanshu1333@gmail.com>
* chore: add constants for standardisation in the API
Signed-off-by: Shivanshu Raj Shrivastava <shivanshu1333@gmail.com>
* feat: add tooltip to Endpoint Overview
Signed-off-by: Shivanshu Raj Shrivastava <shivanshu1333@gmail.com>
* feat: api monitoring feedback till 28th april
* feat: added top errors to traces corelation
* feat: added new rate col to status code table
* feat: custom color mapping for uplot tooltip implemented
* chore: added ApiMonitoringPage.test
* chore: added uts for all endpoints, top errors and their utils
* fix: minor fix
* chore: moved test files to proper folder
* chore: added endpoint details uts and its imported utils ut
* chore: added endpoint dropdown uts and its imported utils ut
* chore: added endpoint metrics uts and its imported utils ut
* chore: added dependent services uts and its imported utils ut
* chore: added status code bar chart uts and its imported utils ut
* chore: added status code table uts and its imported utils ut
* feat(organization): add hname and alias for organization
* fix: boolean values are not shown in the list panel's column
* fix: moved logic to component level
* fix: added type
* fix: added test cases
* fix: added test cases
* chore: update copy webpack plugin
* Revert "fix: display same key with multiple data types in filter suggestions by enhancing the deduping logic (#7255)"
This reverts commit 1e85981a17a8e715e948308d3e85072d976907d3.
* fix: use query search v2 for traces data source to handle multiple data types for the same key
* fix(QueryBuilderSearchV2): add user typed option if it doesn't exist in the payload
* fix(QueryBuilderSearchV2): increase the height of search dropdown for non-logs data sources
* fix: display span scope selector for trace data source
* chore: remove the span scope selector from qb search v1 and move the component to search v2
* fix: write test to ensure that we display span scope selector for traces data source
* fix: limit converting -> only to log data source
* fix: don't display empty suggestion if only spaces are typed
* chore: tests for span scope selector
* chore: qb search flow (key, operator, value) test cases
* refactor: fix the Maximum update depth reached issue while running tests
* chore: overall improvements to span scope selector tests
Resource attr filter: style fix and quick filter changes (#7691)
* chore: resource attr filter init
* chore: resource attr filter api integration
* chore: operator config updated
* chore: fliter show hide logic and styles
* chore: add support for custom operator list to qb
* chore: minor refactor
* chore: minor code refactor
* test: quick filters test suite added
* test: quick filters test suite added
* test: all errors test suite added
* chore: style fix
* test: all errors mock fix
* chore: test case fix and mixpanel update
* chore: color update
* chore: minor refactor
* chore: style fix
* chore: set default query in exceptions tab
* chore: style fix
* chore: minor refactor
* chore: minor refactor
* chore: minor refactor
* chore: test update
* chore: fix filter header with no query name
* fix: scroll fix
* chore: add data source traces to quick filters
* chore: replace div with fragment
---------
Co-authored-by: Aditya Singh <adityasingh@Adityas-MacBook-Pro.local>
fix: handle rate operators for table panel (#7695)
* fix: handle rate operators for table panel
chore: fix error rate (#7701)
Signed-off-by: Shivanshu Raj Shrivastava <shivanshu1333@gmail.com>
* feat(organization): minor cleanups
* feat(organization): better naming for api and usecase
* feat(organization): better packaging for modules
* feat(organization): change hname to displayName
* feat(organization): update the migration to use dialect
* feat(organization): update the migration to use dialect
* feat(organization): update the migration to use dialect
* feat(organization): revert back to impl
* feat(organization): remove DI from organization
* feat(organization): address review comments
* feat(organization): address review comments
* feat(organization): address review comments
---------
Signed-off-by: Shivanshu Raj Shrivastava <shivanshu1333@gmail.com>
* chore: resource attr filter init
* chore: resource attr filter api integration
* chore: operator config updated
* chore: fliter show hide logic and styles
* chore: add support for custom operator list to qb
* chore: minor refactor
* chore: minor code refactor
* test: quick filters test suite added
* test: quick filters test suite added
* test: all errors test suite added
* chore: style fix
* test: all errors mock fix
* chore: test case fix and mixpanel update
* chore: color update
* chore: minor refactor
* chore: style fix
* chore: set default query in exceptions tab
* chore: style fix
* chore: minor refactor
* chore: minor refactor
* chore: minor refactor
* chore: test update
* chore: fix filter header with no query name
* fix: scroll fix
* chore: add data source traces to quick filters
* chore: replace div with fragment
---------
Co-authored-by: Aditya Singh <adityasingh@Adityas-MacBook-Pro.local>
* chore: resource attr filter init
* chore: resource attr filter api integration
* chore: operator config updated
* chore: fliter show hide logic and styles
* chore: add support for custom operator list to qb
* chore: minor refactor
* chore: minor code refactor
* test: quick filters test suite added
* test: quick filters test suite added
* test: all errors test suite added
* chore: style fix
* test: all errors mock fix
* chore: test case fix and mixpanel update
* chore: color update
* chore: minor refactor
* chore: style fix
* chore: set default query in exceptions tab
* chore: style fix
* chore: minor refactor
* chore: minor refactor
* chore: minor refactor
* chore: test update
* chore: fix filter header with no query name
---------
Co-authored-by: Aditya Singh <adityasingh@Adityas-MacBook-Pro.local>
* feat(ruler): base setup for rules and planned maintenance tables
* feat(ruler): more changes for making ruler org aware
* feat(ruler): fix lint
* feat(ruler): update the edit planned maintenance function
* feat(ruler): local testing edits for planned maintenance
* feat(ruler): abstract store and types from rules pkg
* feat(ruler): abstract store and types from rules pkg
* feat(ruler): abstract out store and add migration
* feat(ruler): frontend changes and review comments
* feat(ruler): add back compareAndSelectConfig
* feat(ruler): changes for alertmanager matchers
* feat(ruler): addressed review comments
* feat(ruler): remove the cascade operations from rules table
* feat(ruler): update the template for alertmanager
* feat(ruler): implement the rule history changes
* feat(ruler): implement the rule history changes
* feat(ruler): implement the rule history changes
---------
Co-authored-by: Vibhu Pandey <vibhupandey28@gmail.com>
* chore: add a new tab for traces funnels
* feat: funnels list page basic UI
* feat: learn more component
* feat: get funnels list data from mock API, and handle data, loading and empty states
* chore(SignozModal): add width prop and improve button styles
* feat: implement funnel rename
* refactor: overall improvements
* feat: implement sorting in traces funnels list page
* feat: add sort column key and order to url params
* chore: move useFunnels to hooks/TracesFunnels
* feat: implement traces funnels search and refactor search and sort by extracting to custom hooks
* chore: overall improvements to rename trace funnel modal
* chore: make the rename input auto-focusable
* feat: handle create funnel modal
* feat: delete funnel modal and functionality
* fix: fix the layout shift in funnel item caused by getContainer={false}
* chore: overall improvements and use live api in traces funnels
* feat: create traces funnels details basic page + funnel -> details redirection
* fix: funnels traces light mode UI
* fix: properly display created at in funnels list item + preventDefault
* refactor: extract FunnelItemPopover into a separate component
* chore: hide funnel tab from traces explorer
* chore: add check to display trace funnels tab only in dev environment
* chore: improve funnels modals light mode
* chore: overall improvements
* fix: properly pass funnel details link
* chore: address PR review changes
* feat: added context redirection from panels to explorer pages
* feat: added graph coordinate - context redirection
* feat: fixed tooltip overlapping the button
* feat: code fix
* feat: removed unneccesary comment
* feat: added logic to resolve variables
* feat: added better logic to handle specific and panel redirection using query
* feat: added multi query support by datasource to panels redirction
* feat: fixing createbutton display logic
* feat: added logic and ui for specific line redirection
* feat: added logic to compute query with groupby
* feat: code fix and added aysnc await
* feat: added context redirection to fullview and edit view panels (#7252)
* feat: added context redirection to fullview and edit view panels
* feat: restricted redirection query to have only one query
* feat: added is buttonEnabled logic of graphs
* feat: code cleanup
* feat: for one query removed the queryname from onclick button
* feat: removed redirection option from action menu
* feat: redesign the format api flow to avoid delay in clickbutton appearance
* feat: updated the create filter logic for groupBys
* feat: handled the error on format api
* fix: ui breaking due to licenses issue
* feat: handle navigations in case of oss in homepage (#7347)
* feat: handle navigations in case of oss in homepage
* fix: skip datasource and redirect to get-started from services table
---------
Co-authored-by: makeavish <makeavish786@gmail.com>
---------
Co-authored-by: makeavish <makeavish786@gmail.com>
* feat: base setup for in product home page
* feat: base state
* feat: add empty states for alerts, traces, dashboards, saved views
* feat: add checklist component
* feat: integrate all panels
* feat: integrate preference api and clean up components
* feat: handle done and skip states of the checklist
* feat: update ui
* feat: update ui
* feat: code cleanup
* feat: add events
* feat: support time interval change in services
* feat: add service time change event and cleanup code
* feat: handle light mode
* feat: address review comments
* fix: routing issues
* fix: testcase snapshot, a minor ui improvements
* fix: noopener typo in window.open
### Summary
Integrate the new implementations of the alertmanager along with changes to the ruler. This change can be broadly categoried into 3 parts:
#### Frontend
- The earlier `/api/v1/alerts` api was double encoding the response in json and sending it to the frontend. This PR fixes the json response object.
For instance, we have gone from the response `{
"status": "success",
"data": "{\"status\":\"success\",\"data\":[{\"labels\":{\"alertname\":\"[platform][consumer] consumer is above 100% memory utilization\",\"bu\":\"platform\",\"......
}` to the response `{"status":"success","data":[{"labels":{"alertname":"[Metrics] Pod CP......`
- `msteams` has been changed to `msteamsv2` wherever applicable
#### Ruler
The following changes have been done in the ruler component:
- Removal of the old alertmanager and notifier
- The RuleDB methods `Create`, `Edit` and `Delete` have been made transactional
- Introduction of a new `testPrepareNotifyFunc` for sending test notifications
- Integration with the new alertmanager
#### Alertmanager
Although a huge chunk of the alertmanagers have been merged in previous PRs (the list can be found at https://github.com/SigNoz/platform-pod/issues/404), this PR takes care of changes needed in order to incorporate it with the ruler
- Addition of ruleId based matching
- Support for marshalling the global configuration directly from the upstream alertmanager
- Addition of orgId to the legacy alertmanager
- Support for always adding defaults to both routes and receivers while creating them
- Migration to create the required alertmanager tables
- Migration for msteams to msteamsv2 has been added. We will start using msteamv2 config for the new alertmanager and keep using msteams for the old one.
#### Related Issues / PR's
Closes https://github.com/SigNoz/platform-pod/issues/404
Closes https://github.com/SigNoz/platform-pod/issues/176
* fix: support multitenancy in org
* fix: register and login working now
* fix: changes to migration
* fix: migrations run both on sqlite and postgres
* fix: remove user flags from fe and be
* fix: remove ingestion keys from update
* fix: multitenancy support for apdex settings
* fix: render ts for users correctly
* fix: fix migration to run for new tenants
* fix: clean up migrations
* fix: address comments
* Update pkg/sqlmigration/013_update_organization.go
Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
* fix: fix build
* fix: force invites with org id
* Update pkg/query-service/auth/auth.go
Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
* fix: address comments
* fix: address comments
* fix: provier with their own dialect
* fix: update dialects
* fix: remove unwanted change
* Update pkg/query-service/app/http_handler.go
Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
* fix: different files for types
---------
Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
* feat: onboarding v2 base setup
* feat: add onboarding v2 base setup and styles
- added header
- questionnaire blocks
- basic styling
- search based on UI config method (basic for UI behaviour)
- empty state result UI
* refactor: update class names in OnboardingPageV2 styles
* refactor(onboarding): components for QuestionBlock structural changes
* feat(onboarding): question block filterByCategory added
* feat(onboarding): component structure update and style updates
filterByCategory styling
spacing and styling fixes for options
steps style for question block
header styling update for sticky
added actions on header
* refactor(onboarding): bem SCSS nested way, this is the way
* refactor: moved the flow to another file
* feat: onboarding v2 base setup
* refactor: color variable fixes
* feat: onboarding part 3 changes
* feat: update handle select framework logic
* feat: add logos
* chore: remove old files
* feat: remove unwanted styles
* feat: minor ui updates
* feat: integrate invite team members and ingestion key details api
* feat: update docs links
* feat: added logos and fixed links
* feat: added and fixed links
* feat: handle routing after onboarding
* chore: update base url for docs links - testing
* feat: improve ux
* chore: update file
* feat: reset filters on next and back
* feat: update config
* feat: update api to use getIngestionData
* feat: show region and ingestion details
* feat: push changes behind feature flag
* feat: adding padding to onboarding container
* feat: add log events
* feat: handle back button state
* feat: redirect to onboarding v3 if ff is true and current path is get_started
* fix: update multi ingestion key test case
* feat: enable copy to clipboard
---------
Co-authored-by: Sudeep MP <sudipmelepunathilmp@gmail.com>
Co-authored-by: CheetoDa <Chitgupta24@gmail.com>
* chore: enable AWS integrations for all
* chore: don't show either of configure/enable for a service when not in ctx of a cloud account
* chore: remove AWS integration feature flag
* feat: custom hook to prevent redundant navigation and handle default params with URL comparison
* feat: implement useSafeNavigation to QB, to ensure that the back navigation works properly
* fix: handle syncing the relativeTime param with the time picker selected relative time
* feat: add support for absolute and relative time sync with time picker component
* refactor: integrate safeNavigate in LogsExplorerChart and deprecate the existing back navigation
* feat: update pagination query params on pressing next/prev page
* fix: fix the issue of NOOP getting converted to Count on coming back from alert creation page
* refactor: replace history navigation with safeNavigate in DateTimeSelectionV2 component
it also fixes the issue of relativeTime not being added to the url on mounting
* feat: integrate useSafeNavigate across service details tabs
* fix: fix duplicate redirections by converting the timestamp to milliseconds
* fix: replace history navigation with useSafeNavigate in LogsExplorerViews and useUrlQueryData
* fix: replace history navigation with useSafeNavigate across dashboard components
* fix: use safeNavigate in alert components
* fix: fix the issue of back navigation in alert table and sync the pagination with url param
* fix: handle back navigation for resource filter and sync the state with url query
* fix: fix the issue of double redirection from top operations to traces
* fix: replace history.push with safeNavigate in TracesExplorer's updateDashboard
* fix: prevent unnecessary query re-runs by checking stagedQuery before redirecting in NewWidget
* chore: cleanup
* fix: fix the failing tests
* fix: fix the documentation redirection failing tests
* test: mock useSafeNavigate hook in WidgetGraphComponent test
* test: mock useSafeNavigate hook in ExplorerCard test
* fix: update AWS accounts API response to return accounts list
* feat: display skeleton UI for account actions and refactored rendering logic
* chore: update AWS service naming from "AWS Web Services" to "Amazon Web Services"
* feat: aws integration success modal changes
* feat: auto-select first service when no service is active
* feat: display 'enable service' if service hasn't been configured and 'Configure (x/2)' if configured
* fix: display no data yet if status is not available
* feat: properly handle remove integration account flow
* fix: rename accountId param to cloudAccountId
* fix: update the aws service list and details api parameter from account_id to cloud_account_id
* fix: fix the issue of stale service config modal enabled/disabled state
* chore: improve the UI of configure button
* feat: add connection parameters support for AWS cloud integration
* feat: add optional link support for cloud service dashboards
* fix: get the correct supported signals count + a minor refactoring
* fix: remove cloudAccountId on success of account remove
* chore: update the remove integration copy
* refactor: add react query key for AWS connection parameters
* fix: correct typo in integration loading state variable name
* refactor: move skeleton inline styles to style file and do overall refactoring
* chore: address the requested changes
* Revert "Revert "chore(licenses): update the license events and the state name…"
This reverts commit 66adc7fbf97de197cad10728972828ce409c5a86.
* chore(license): fix comment
* fix: add default timestamp and body columns to live logs
* refactor: use convertKeysToColumnFields instead of re-modifying the default columns
* fix: remove the local storage selectColumns when clear view is clicked
* fix: improve selectColumns migration handling
* feat: aws Integration skeleton UI (#6758)
* feat: add AWS integration in the integrations list and redirect to the new Cloud Integration page
* feat: cloud integration details page header (i.e. breadcrumb and get help button) UI
* feat: hero section UI
* refactor: extract Header and HeroSection components from CloudIntegrationPage
* feat: services tab bar and sidebar UI
* feat: cloud integration details services UI
* refactor: group and extract cloud integration components to files
* fix: set default active service to the first service in the list if no service is specified
* feat: add NEW flag for AWS integration in the integrations list page
* chore: overall improvements
* chore: move cloud integration pages to /container
* fix: hero section background
* feat: aws Integration: Account setup basic UI and functionality (#6806)
* feat: implement basic cloud account management UI in HeroSection
* feat: aws Integration: Integrate now modal (#6807)
* feat: implement basic cloud account management UI in HeroSection
* feat: start working on integrate now modal UI
* feat: integrate now modal UI
* feat: integrate now modal states and json server API integration
* feat: get accounts from json-server API, and redirect Add new account to the integrations modal
* feat: display error state if last_heartbeat_ts_ms is null even after 5 minutes
* chore: update import path for regions data in useRegionSelection hook
* chore: move hero section components inside the HeroSection/components
* feat: create a reusable modal component
* refactor: make the cloud account setup modal readable / DRYer
* feat: aws Integration: Account settings modal (#6808)
* feat: implement basic cloud account management UI in HeroSection
* feat: start working on integrate now modal UI
* feat: get accounts from json-server API, and redirect Add new account to the integrations modal
* feat: integrate now modal UI
* feat: integrate now modal states and json server API integration
* feat: account settings
* feat: service status UI
* refactor: make account settings modal more readable and overall improvements
* feat: Get data from json server api data in service sections (#6809)
* feat: implement basic cloud account management UI in HeroSection
* feat: start working on integrate now modal UI
* feat: get accounts from json-server API, and redirect Add new account to the integrations modal
* refactor: make the cloud account setup modal readable / DRYer
* feat: integrate now modal states and json server API integration
* refactor: make account settings modal more readable and overall improvements
* feat: integrate now modal states and json server API integration
* feat: display error state if last_heartbeat_ts_ms is null even after 5 minutes
* feat: get the services list and details from json server API response
* feat: update account actions to set accountId in URL query on initial account load
* feat: configure service modal (#6814)
* feat: implement basic cloud account management UI in HeroSection
* feat: start working on integrate now modal UI
* feat: get accounts from json-server API, and redirect Add new account to the integrations modal
* refactor: make the cloud account setup modal readable / DRYer
* feat: integrate now modal states and json server API integration
* feat: get accounts from json-server API, and redirect Add new account to the integrations modal
* feat: integrate now modal states and json server API integration
* feat: get accounts from json-server API, and redirect Add new account to the integrations modal
* feat: display error state if last_heartbeat_ts_ms is null even after 5 minutes
* feat: account settings
* feat: service status UI
* feat: get the services list and details from json server API response
* feat: update account actions to set accountId in URL query on initial account load
* feat: configure service modal UI
* feat: configure service modal functionality and API changes
* feat: replace loading indicators with Spinner component in ServiceDetails and ServicesList
* fix: make the configure service modal work
* feat: light mode support and overall improvements to AWS integration page (#6817)
* refactor: make the cloud account setup modal readable / DRYer
* feat: integrate now modal states and json server API integration
* refactor: make account settings modal more readable and overall improvements
* fix: integrate now modal button improvements
* feat: aws integrations light mode
* refactor: overall improvements
* refactor: define react query keys in constant
* feat: services filter
* feat: render service overview as markdown
* feat: integrate AWS integration page API (#6851)
* feat: replace json-server APIs with actual APIs
* fix: add null checks and fix the issues
* chore: remove the console.log
* feat: temporarily hide AWS Integration from integrations list
* chore: add optimized png
* refactor: extract service filter types into an enum
* chore: remove console.log
* chore: remove duplicate files
* refactor: move regions to utils
* fix: get account id from url param
* chore: address PR review comments
* refactor: use the IntegrateNowFormSections inside RegionForm
* chore: move integrations select inline style to a common class
---------
Co-authored-by: Shaheer Kochai <ashaheerki@gmail.com>