mirror of
https://github.com/grafana/grafana.git
synced 2025-08-02 07:23:11 +08:00
UAlerting: Increase default max datapoints (#34223)
Change const value from 100 to 43200 (12 hours at 1sec interval)
This commit is contained in:
@ -94,7 +94,7 @@ func TestAlertRulePermissions(t *testing.T) {
|
||||
"model":{
|
||||
"expression":"2 + 3 \u003E 1",
|
||||
"intervalMs":1000,
|
||||
"maxDataPoints":100,
|
||||
"maxDataPoints":43200,
|
||||
"type":"math"
|
||||
}
|
||||
}
|
||||
@ -144,7 +144,7 @@ func TestAlertRulePermissions(t *testing.T) {
|
||||
"model":{
|
||||
"expression":"2 + 3 \u003E 1",
|
||||
"intervalMs":1000,
|
||||
"maxDataPoints":100,
|
||||
"maxDataPoints":43200,
|
||||
"type":"math"
|
||||
}
|
||||
}
|
||||
@ -216,7 +216,7 @@ func TestAlertRulePermissions(t *testing.T) {
|
||||
"model":{
|
||||
"expression":"2 + 3 \u003E 1",
|
||||
"intervalMs":1000,
|
||||
"maxDataPoints":100,
|
||||
"maxDataPoints":43200,
|
||||
"type":"math"
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user