Commit 46b39b2 1 parent 615a2e8 commit 46b39b2 Copy full SHA for 46b39b2
File tree 3 files changed +1
-8
lines changed
grafana-plugin/src/models/alertgroup
3 files changed +1
-8
lines changed Original file line number Diff line number Diff line change @@ -10,6 +10,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
10
10
### Added
11
11
12
12
- Add Slack slash command allowing to trigger a direct page via a manually created alert group
13
+ - Remove resolved and acknowledged filters as we switched to status ([ #1201 ] ( https://github.com/grafana/oncall/pull/1201 ) )
13
14
- Add sync with grafana on /users and /teams api calls from terraform plugin
14
15
15
16
### Changed
Original file line number Diff line number Diff line change @@ -91,8 +91,6 @@ class Meta:
91
91
model = AlertGroup
92
92
fields = [
93
93
"id__in" ,
94
- "resolved" ,
95
- "acknowledged" ,
96
94
"started_at_gte" ,
97
95
"started_at_lte" ,
98
96
"resolved_at_lte" ,
Original file line number Diff line number Diff line change @@ -314,8 +314,6 @@ export class AlertGroupStore extends BaseStore {
314
314
const result = await makeRequest ( `${ this . path } stats/` , {
315
315
params : {
316
316
...this . incidentFilters ,
317
- resolved : false ,
318
- acknowledged : false ,
319
317
status : [ IncidentStatus . New ] ,
320
318
} ,
321
319
} ) ;
@@ -327,8 +325,6 @@ export class AlertGroupStore extends BaseStore {
327
325
const result = await makeRequest ( `${ this . path } stats/` , {
328
326
params : {
329
327
...this . incidentFilters ,
330
- resolved : false ,
331
- acknowledged : true ,
332
328
status : [ IncidentStatus . Acknowledged ] ,
333
329
} ,
334
330
} ) ;
@@ -341,7 +337,6 @@ export class AlertGroupStore extends BaseStore {
341
337
const result = await makeRequest ( `${ this . path } stats/` , {
342
338
params : {
343
339
...this . incidentFilters ,
344
- resolved : true ,
345
340
status : [ IncidentStatus . Resolved ] ,
346
341
} ,
347
342
} ) ;
@@ -354,7 +349,6 @@ export class AlertGroupStore extends BaseStore {
354
349
const result = await makeRequest ( `${ this . path } stats/` , {
355
350
params : {
356
351
...this . incidentFilters ,
357
- silenced : true ,
358
352
status : [ IncidentStatus . Silenced ] ,
359
353
} ,
360
354
} ) ;
You can’t perform that action at this time.
0 commit comments