aniketio-ctrl
f9a70a3a69
chore: notification routing | added notificaiton routing via expression based routes ( #9195 )
...
* chore: added custom distpatcher
* feat(notification-grouping): added notification grouping
* feat(notification-grouping): addded integration test dependency
* feat(notification-grouping): linting and test cases
* feat(notification-grouping): linting and test cases
* feat(notification-grouping): linting and test cases
* feat(notification-grouping): addded integration test dependency
* feat(notification-grouping): debug log lines
* feat(notification-grouping): debug log lines
* feat(notification-grouping): debug log lines
* feat(notification-grouping): addded integration test dependency
* feat(notification-grouping): addded integration test dependency
* feat(notification-grouping): addded integration test dependency
* feat(notification-grouping): added structure changes
* feat(notification-grouping): added structure changes
* feat(notification-routing): added notification routing
* chore(notification-grouping): added notificaiton grouping
* Update pkg/alertmanager/nfmanager/rulebasednotification/provider.go
Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
* chore(notification-grouping): added renotification interval
* fix(notification-grouping): added fix for renotification
* chore(notificaiton-grouping): added no data renotify
* chore(notificaiton-grouping): added no data renotify
* chore(notificaiton-grouping): added no data renotify
* chore(notification-grouping): added no data renotify interval
* chore(notification-grouping): removed errors package from dispatcher
* chore(notification-grouping): removed errors package from dispatcher
* chore(notification-grouping): removed unwanted tests
* chore(notification-grouping): removed unwanted pkg name
* chore(notification-grouping): added delete notification setting
* chore(notification-grouping): added delete notification setting
* Update pkg/alertmanager/nfmanager/nfmanagertest/provider.go
Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
* chore(notification-grouping): removed nfmanager config| notification settings in postable rule
* chore(notification-grouping): removed nfmanager config| notification settings in postable rule
* chore(notification-grouping): added test for dispatcher
* chore(notification-grouping): added test for dispatcher
* chore(notification-grouping): go linting errors
* chore(notification-grouping): added test cases for aggGroupPerRoute
* chore(notification-grouping): added test cases for aggGroupPerRoute
* chore(notification-grouping): corrected get notification config logic
* Update pkg/alertmanager/nfmanager/rulebasednotification/provider_test.go
Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
* chore(notification-routing): added notification routing policies
* feat(notification-routing): added test cases for dispatcher
* chore(notification-routing): added notification routing policies
* chore(notification-routing): added notification routing policies
* Apply suggestions from code review
Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
* chore(notification-routing): added notification routing policies
* chore(notification-routing): added notification routing policies
* Update pkg/alertmanager/alertmanagerserver/distpatcher_test.go
Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
* chore(notification-routing): sorted imports
* chore(notification-routing): minor edit |pr resolve comments
* chore(notification-grouping): corrected dispatcher test cases
* chore(notification-routing): added notification routing policies
* chore(notification-routing): corrected race condition in test
* chore: resolved pr comments
* chore: passing threshold value to tempalte
* chore: completed delete rule functionality
* chore: added grouping disabled functionality
* chore: added grouping disabled functionality
* chore(notification-routing): resolved pr comments
* chore(notification-routing): resolved pr comments
* chore(notification-routing): resolved pr comments
* chore(notification-routing): sorted imports
* chore(notification-routing): fix linting errors
* chore(notification-routing): removed enabled flags
* fix: test rule multiple threhsold (#9224 )
* chore: corrected linting errors
* chore: corrected linting errors
* chore: corrected linting errors
* chore: corrected linting errors
* chore: corrected migration errors
* chore: corrected migration errors
* chore: corrected migration errors
* chore: corrected migration errors
* Update pkg/sqlmigration/049_add_route_policy.go
Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
* chore: added org_is as foreign key
* chore: resolved pr comments
* chore: removed route store unused
---------
Co-authored-by: Srikanth Chekuri <srikanth.chekuri92@gmail.com>
Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
2025-10-03 19:47:15 +05:30
aniketio-ctrl
735b90722d
chore(notification grouping): added custom grouping in signoz dispatcher ( #8812 )
2025-09-26 13:24:58 +00:00
aniketio-ctrl
7f4390f370
fix: Edit and patch rule functionality ( #9125 )
...
* fix: fixed edit and patch rule functionality
* fix: fixed edit and patch rule functionality
* fix: fixed edit and patch rule functionality
* fix: added patch rule test and rule mock store
* fix: removed schema version field
* fix: removed schema version field
* fix: added test cases for patch, create, edit
* fix: removed schema version field
2025-09-21 17:48:31 +05:30
aniketio-ctrl
ac81eab7bb
chore: added cumulative window support ( #8828 )
...
* feat(multi-threshold): added multi threshold
* Update pkg/types/ruletypes/api_params.go
Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
* feat(multiple-threshold): added multiple thresholds
* Update pkg/types/ruletypes/alerting.go
Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
* feat(multiple-threshold): added multiple thresholds
* feat(cumulative-window): added cumulative window
* feat(multi-threshold): added recovery min points
* Update pkg/query-service/rules/threshold_rule.go
Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
* feat(multi-threshold): fixed log lines
* feat(multi-threshold): added severity as threshold name
* feat(cumulative-window): added cumulative window for alerts v2
* feat(multi-threshold): removed break to send multi threshold alerts
* feat(multi-threshold): removed break to send multi threshold alerts
* feat(cumulative-window): segregated json marshalling with evaluation logic
* feat(multi-threshold): corrected the test cases
* feat(cumulative-window): segregated json marshalling and evaluation logic
* feat(cumulative-window): segregated json marshalling and evaluation logic
* feat(multi-threshold): added segregation on json marshalling and actual threhsold logic
* feat(multi-threshold): added segregation on json marshalling and actual threhsold logic
* feat(cumulative-window): segregated json marshalling and evaluation logic
* feat(multi-threshold): added segregation on json marshalling and actual threhsold logic
* feat(cumulative-window): segregated json marshalling and evaluation logic
* feat(multi-threhsold): added error wrapper
* feat(multi-threhsold): added error wrapper
* feat(cumulative-window): segregated json marshalling and evaluation logic
* feat(multi-threhsold): added error wrapper
* Update pkg/types/ruletypes/threshold.go
Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
* feat(cumulative-window): segregated json marshalling and evaluation logic
* feat(multi-threshold): added validation and error propagation
* feat(multi-notification): removed pre defined labels from links of log and traces
* feat(multi-notification): removed pre defined labels from links of log and traces
* feat(multi-threshold): added json parser for gettable rule
* feat(multi-threshold): added json parser for gettable rule
* feat(multi-threshold): added json parser for gettable rule
* feat(multi-threshold): added umnarshaller for postable rule
* feat(multi-threshold): added umnarshaller for postable rule
* feat(cumulative-window): added validation check
* Update pkg/types/ruletypes/evaluation.go
Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
* feat(multi-threhsold): removed yaml support for alerts
* Update pkg/types/ruletypes/evaluation.go
Co-authored-by: Srikanth Chekuri <srikanth.chekuri92@gmail.com>
* Update pkg/types/ruletypes/evaluation.go
Co-authored-by: Srikanth Chekuri <srikanth.chekuri92@gmail.com>
* chore(cumulative-window): renamed funcitons
* chore(cumulative-window): removed naked errors
* chore(cumulative-window): added reset boundary condition tests
* chore(cumulative-window): added reset boundary condition tests
* chore(cumulative-window): sorted imports
* chore(cumulative-window): sorted imports
* chore(cumulative-window): sorted imports
* chore(cumulative-window): removed error from next window for
* chore(cumulative-window): removed error from next window for
* chore(cumulative-window): added case for timezone
* chore(cumulative-window): added validation for eval window
* chore(cumulative-window): updated api structure for cumulative window
* chore(cumulative-window): updated schedule enum
---------
Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
Co-authored-by: Srikanth Chekuri <srikanth.chekuri92@gmail.com>
2025-09-15 15:00:12 +05:30
aniketio-ctrl
d801fcee76
chore: add multiple thresholds support ( #8816 )
2025-09-12 13:11:54 +05:30
aniketio-ctrl
8e5cb9046d
fix(alert): added querier v5 in test notify ( #8749 )
2025-08-08 18:01:23 +05:30
Srikanth Chekuri
5c1f070d8f
chore: use new querier for v5 versioned alerts ( #8650 )
2025-07-30 19:25:27 +05:30
Vibhu Pandey
fbcff29fae
chore(sqlstore): remove sqlx ( #8306 )
...
## 📄 Summary
remove sqlx
2025-06-20 00:34:54 +05:30
Vibhu Pandey
a1fa2769e4
feat(statsreporter): build a statsreporter service ( #8177 )
...
- build a new statsreporter service
2025-06-09 16:43:29 +05:30
Vikrant Gupta
decb660992
chore(sqlmigration): drop the rule history and data migrations table ( #8181 )
2025-06-09 15:46:22 +05:30
Vibhu Pandey
91cbd17275
feat(sharder): add simple and noop sharder ( #8107 )
2025-05-31 16:04:13 +05:30
Vibhu Pandey
da084b4686
chore(savedview|apdex|dashboard): create modules and handlers ( #7960 )
...
* chore(savedview): refactor into module and handler
* chore(rule): move telemetry inside telemetry
* chore(apdex): refactor apdex and delete dao
* chore(dashboard): create a dashboard module
* chore(ee): get rid of the init nonesense
* chore(dashboard): fix err and apierror confusion
* chore: address comments
2025-05-17 00:15:00 +05:30
Vikrant Gupta
5b237ee628
feat(cache): multi-tenant cache ( #7805 )
...
* feat(cache): remove the references of old cache
* feat(cache): add orgID in query range modules pt1
* feat(cache): add orgID in query range modules pt2
* feat(cache): add orgID in query range modules pt3
* feat(cache): preload metrics for all orgs
* feat(cache): fix ruler
* feat(cache): fix go build
* feat(cache): add orgID to rule
* feat(cache): fix tests
* feat(cache): address review comments
* feat(cache): use correct errors
* feat(cache): fix tests
* feat(cache): add the cache test package
2025-05-03 18:30:07 +05:30
Vibhu Pandey
accb77f227
chore(use-*): remove use-new-traces-schema and use-new-logs-schema flags ( #7741 )
...
### Summary
remove use-new-traces-schema and use-new-logs-schema flags
2025-04-28 21:01:35 +05:30
Vibhu Pandey
9815ec7d81
chore: remove references to unused flags ( #7739 )
...
### Summary
remove references to unused flags
2025-04-28 09:27:26 +00:00
Vibhu Pandey
9e449e2858
feat(auth): drop group table ( #7672 )
...
### Summary
drop group table
2025-04-26 15:50:02 +05:30
Vikrant Gupta
16e0fa2eef
feat(ruler): update the ruler and planned maintenance tables ( #7535 )
...
* 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>
2025-04-18 00:04:25 +05:30
Vibhu Pandey
b7982ca348
fix(ff): remove feature interface from ruler ( #7529 )
...
### Summary
remove feature interface from ruler
2025-04-05 12:52:26 +00:00
Vibhu Pandey
81c7f3221a
feat(prometheus): create a dedicated prometheus package ( #7397 )
2025-03-31 14:11:11 +00:00
Shivanshu Raj Shrivastava
efd4e30edf
fix: publish signoz as package ( #7378 )
...
Signed-off-by: Shivanshu Raj Shrivastava <shivanshu1333@gmail.com>
2025-03-20 15:31:41 +00:00
Vibhu Pandey
1f33928bf9
feat(alertmanager): integrate with ruler ( #7222 )
...
### 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
2025-03-09 20:00:42 +00:00
aniketio-ctrl
735b565992
feat(explorer): added related metrics ( #7193 )
2025-02-28 13:06:41 +05:30
aniketio-ctrl
4134eb621c
feat(summary): added alerts and basic query updates ( #7174 )
2025-02-27 06:55:58 +00:00
Nityananda Gohain
67058b2a17
feat: trace v4 integration ( #6226 )
...
* feat: trace v4 inital commit
* fix: add remaining files
* fix: integrate with querier
* fix: get trace by id api updated
* fix: add servicename resource filter
* fix: tests
* fix: use correct prepQUery
* fix: services page
* fix: minor fixes to use the new table in api's and querier
* fix: add support for window based pagination
* feat: support for faster trace detail
* fix: searchTraces
* fix: attribute enrichment updated and issue in group by
* fix: issues in group by
* fix: enrichment using alias
* fix: test file added
* fix: tests
* fix: group by with filters
* fix: add subquery
* fix: trigger builde
* fix: update pagination logic and few ch column names
* fix: update qb
* fix: add tests
* feat: minor fixes
* fix: update pagination logic
* fix: update pagination logic
* fix: remove utils
* fix: remove unwanted API's
* fix: attribute and attribute values v2
* fix: autocomplete api's updated
* fix: tests fixed
* feat: minor fixes
* fix: update telemetry functions
* fix: dont use alias, use proper col names
* fix: move models to it's own file
* fix: minor fixes
* fix: address comments
* fix: add to serviceoverview function
* fix: add changes to overview function
* fix: address comments
* fix: remove printlines
---------
Co-authored-by: Srikanth Chekuri <srikanth.chekuri92@gmail.com>
2024-11-22 12:00:29 +05:30
Srikanth Chekuri
831540eaf0
fix: test notification missing for anomaly alert ( #6391 )
2024-11-08 15:40:09 +00:00
Srikanth Chekuri
9390a815a8
feat: add dot support for alerts ( #6062 )
2024-10-03 16:56:58 +05:30
Srikanth Chekuri
b49ed913c7
chore: handle error before using task ( #6055 )
2024-09-24 10:56:49 +05:30
Srikanth Chekuri
419d2da363
feat: add anomaly rule ( #5973 )
2024-09-24 10:22:52 +05:30
Srikanth Chekuri
f8e97c9c5c
chore: move channel management from CH reader to rule DB ( #5934 )
2024-09-17 11:41:46 +05:30
Nityananda Gohain
10ebd0cad6
feat: use new schema flag ( #5930 )
2024-09-12 10:58:07 +05:30
Srikanth Chekuri
c79520c874
chore: add base rule and consolidate common logic ( #5849 )
2024-09-11 09:56:59 +05:30
Srikanth Chekuri
3e32dabf46
chore: alert state change and overall status ( #5845 )
2024-09-09 13:06:09 +05:30
Srikanth Chekuri
74c994fbab
chore: make ee init rule manager with it's own prepareTask func ( #5807 )
2024-09-09 10:28:54 +05:30
Srikanth Chekuri
be7a687088
chore: make prepare task configurable ( #5806 )
2024-09-04 18:09:40 +05:30
Srikanth Chekuri
16738ea7e3
chore: change returned error from list to error ( #5805 )
2024-08-30 18:51:55 +05:30
Srikanth Chekuri
dde4485839
chore: add types for alert type, state, and rule data kind ( #5804 )
2024-08-30 10:34:11 +05:30
Srikanth Chekuri
44598e304d
chore: remove feature usage code from manager ( #5803 )
2024-08-29 21:53:28 +05:30
Srikanth Chekuri
bb84960442
chore: add alerts state history query service impl ( #5255 )
2024-08-09 12:11:05 +05:30
Srikanth Chekuri
f031845300
chore: make eval delay configurable ( #5649 )
2024-08-08 17:34:25 +05:30
Srikanth Chekuri
3ee51770fd
chore: remove rules dependency in CH reader ( #5396 )
2024-07-02 12:03:01 +05:30
Srikanth Chekuri
67779d6c2c
chore: scheduled maintenance query-service impl ( #4834 )
2024-05-31 17:43:13 +05:30
Srikanth Chekuri
0cf8817f3f
chore: use querier in alerts ( #5045 )
2024-05-24 12:11:34 +05:30
Srikanth Chekuri
9ff0e34038
chore: migrate alerts to v4 for supported operators ( #5010 )
2024-05-17 07:45:03 +05:30
Srikanth Chekuri
31b1d58a70
chore: fix alerting options ( #4752 )
2024-03-27 20:25:18 +05:30
Srikanth Chekuri
ae594061e9
chore: fix query-service logging ( #4696 )
2024-03-27 00:07:29 +05:30
Srikanth Chekuri
83f68f13db
feat: add ability to customize alert frequency ( #4697 )
2024-03-26 12:40:53 +05:30
Srikanth Chekuri
d77389abe3
feat: add support for email alert channel ( #4599 )
2024-03-01 15:05:28 +05:30
Srikanth Chekuri
5e0b6366cc
chore: update rule create response ( #4090 )
2023-11-28 10:44:11 +05:30
Srikanth Chekuri
ddc3cc4911
chore: dashboards to alerts creation support in query-service ( #3924 )
2023-11-10 17:43:19 +05:30
Srikanth Chekuri
e0b83bda62
feat: add created{By,At} , updated{By,At} to alerts/dashboards ( #3754 )
2023-10-17 23:20:54 +05:30