Commit d2a8a835 by Carl Bergquist Committed by GitHub

Merge pull request #13945 from bergquist/alerting_increase_default_duration

alerting: increase default duration for queries
parents 4f601761 bc37e3ca
...@@ -166,7 +166,7 @@ export class AlertTabCtrl { ...@@ -166,7 +166,7 @@ export class AlertTabCtrl {
alert.noDataState = alert.noDataState || config.alertingNoDataOrNullValues; alert.noDataState = alert.noDataState || config.alertingNoDataOrNullValues;
alert.executionErrorState = alert.executionErrorState || config.alertingErrorOrTimeout; alert.executionErrorState = alert.executionErrorState || config.alertingErrorOrTimeout;
alert.frequency = alert.frequency || '60s'; alert.frequency = alert.frequency || '1m';
alert.handler = alert.handler || 1; alert.handler = alert.handler || 1;
alert.notifications = alert.notifications || []; alert.notifications = alert.notifications || [];
...@@ -217,7 +217,7 @@ export class AlertTabCtrl { ...@@ -217,7 +217,7 @@ export class AlertTabCtrl {
buildDefaultCondition() { buildDefaultCondition() {
return { return {
type: 'query', type: 'query',
query: { params: ['A', '5m', 'now'] }, query: { params: ['A', '15m', 'now'] },
reducer: { type: 'avg', params: [] }, reducer: { type: 'avg', params: [] },
evaluator: { type: 'gt', params: [null] }, evaluator: { type: 'gt', params: [null] },
operator: { type: 'and' }, operator: { type: 'and' },
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment