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
Vibhu Pandey
c83eaf3d50
chore: enable forbidigo and noerrors in depguard ( #9047 )
...
* chore: enable forbidgo
* chore: enable forbidgo
2025-09-09 15:44:27 +05:30
Srikanth Chekuri
eca13075e9
fix: related links for rule history page ( #8883 )
2025-08-22 16:19:27 +05:30
Srikanth Chekuri
f350b0e2f0
chore: add endpoint to replace varibales ( #8689 )
2025-08-04 21:02: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
2ba693f040
chore(linter): add more linters and deprecate zap ( #8034 )
...
* chore(linter): add more linters and deprecate zap
* chore(linter): add more linters and deprecate zap
* chore(linter): add more linters and deprecate zap
* chore(linter): add more linters and deprecate zap
2025-05-25 11:40:39 +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
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