Commit 28bf2fe
authored
feat: enables prometheus rules and alerts (#292)
* feat: enables prometheus rules and alerts which can be sent to alertmanager
* chore: adding configs for alertmanager, alert, and prom
* chore: alerts WIP
* chore: alerts WIP
* chore: alerts WIP
* chore: setRules API will update rules
* chore: initialization of prometheus related stuff moved to separate function
* chore: alerts WIP
* chore: alerts WIP
* fix: r.promConfig was nil
* feat: routing alertmanager apis to alertmanager service at nginx
* chore: not writing to localDB if string parsing gives error
* feat: list alerts API
* chore: error in creating multiple groups
* feat: CRUD APIs for rules working
* chore: changed prometheus version
* chore: updated AlertingRuleResponse struct's Id json value
* chore: updated prometheus's version
* chore: will load rules from database on bootup
* feat: crud APIs for notification channels WIP
* fix: changed ALERTMANAGER_API_PREFIX
* chore: enabling scrape and notify discover manager
* chore: fixing path for signoz.db
* chore: used transactions for rules APIs
* chore: editchannel API updated and other apis refactored
* chore: fixed merge conflicts
* chore: changing createChannel api from yaml to json reader
* chore: changing editChannel api from yaml to json reader
* chore: porting loadChannels to json format
* chore: editRule returning rule not found
* chore: pre-release
* chore: fixed db path for persistence
* release: v0.5.01 parent 849c3d1 commit 28bf2fe
File tree
18 files changed
+1457
-53
lines changed- deploy/docker
- clickhouse-setup
- common
- pkg/query-service
- app
- clickhouseReader
- dashboards
- druidReader
- config
- constants
- model
18 files changed
+1457
-53
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
24 | 35 | | |
25 | | - | |
| 36 | + | |
26 | 37 | | |
27 | 38 | | |
28 | 39 | | |
| |||
43 | 54 | | |
44 | 55 | | |
45 | 56 | | |
46 | | - | |
| 57 | + | |
47 | 58 | | |
48 | 59 | | |
49 | 60 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
| 12 | + | |
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
| 18 | + | |
18 | 19 | | |
19 | 20 | | |
20 | 21 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
19 | 22 | | |
20 | 23 | | |
21 | 24 | | |
| |||
0 commit comments