Skip to content

Commit

Permalink
[Custom threshold] Change the Custom threshold title to Beta (#172360)
Browse files Browse the repository at this point in the history
  • Loading branch information
maryam-saeidi authored Dec 4, 2023
1 parent e0a0168 commit f778f00
Show file tree
Hide file tree
Showing 13 changed files with 13 additions and 13 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ export const buildCustomThresholdAlert = (
alertOnGroupDisappear: true,
},
'kibana.alert.evaluation.values': [2500, 5],
'kibana.alert.rule.category': 'Custom threshold (Technical Preview)',
'kibana.alert.rule.category': 'Custom threshold (Beta)',
'kibana.alert.rule.consumer': 'alerts',
'kibana.alert.rule.execution.uuid': '62dd07ef-ead9-4b1f-a415-7c83d03925f7',
'kibana.alert.rule.name': 'One condition',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ export function thresholdRuleType(
return {
id: OBSERVABILITY_THRESHOLD_RULE_TYPE_ID,
name: i18n.translate('xpack.observability.threshold.ruleName', {
defaultMessage: 'Custom threshold (Technical Preview)',
defaultMessage: 'Custom threshold (Beta)',
}),
validate: {
params: schema.object(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ export default function ({ getService }: FtrProviderContext) {

expect(resp.hits.hits[0]._source).property(
'kibana.alert.rule.category',
'Custom threshold (Technical Preview)'
'Custom threshold (Beta)'
);
expect(resp.hits.hits[0]._source).property('kibana.alert.rule.consumer', 'logs');
expect(resp.hits.hits[0]._source).property('kibana.alert.rule.name', 'Threshold rule');
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ export default function ({ getService }: FtrProviderContext) {

expect(resp.hits.hits[0]._source).property(
'kibana.alert.rule.category',
'Custom threshold (Technical Preview)'
'Custom threshold (Beta)'
);
expect(resp.hits.hits[0]._source).property('kibana.alert.rule.consumer', 'logs');
expect(resp.hits.hits[0]._source).property('kibana.alert.rule.name', 'Threshold rule');
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ export default function ({ getService }: FtrProviderContext) {

expect(resp.hits.hits[0]._source).property(
'kibana.alert.rule.category',
'Custom threshold (Technical Preview)'
'Custom threshold (Beta)'
);
expect(resp.hits.hits[0]._source).property('kibana.alert.rule.consumer', 'logs');
expect(resp.hits.hits[0]._source).property('kibana.alert.rule.name', 'Threshold rule');
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ export default function ({ getService }: FtrProviderContext) {

expect(resp.hits.hits[0]._source).property(
'kibana.alert.rule.category',
'Custom threshold (Technical Preview)'
'Custom threshold (Beta)'
);
expect(resp.hits.hits[0]._source).property('kibana.alert.rule.consumer', 'logs');
expect(resp.hits.hits[0]._source).property('kibana.alert.rule.name', 'Threshold rule');
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ export default function ({ getService }: FtrProviderContext) {

expect(resp.hits.hits[0]._source).property(
'kibana.alert.rule.category',
'Custom threshold (Technical Preview)'
'Custom threshold (Beta)'
);
expect(resp.hits.hits[0]._source).property('kibana.alert.rule.consumer', 'logs');
expect(resp.hits.hits[0]._source).property('kibana.alert.rule.name', 'Threshold rule');
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ export default function ({ getService }: FtrProviderContext) {

expect(resp.hits.hits[0]._source).property(
'kibana.alert.rule.category',
'Custom threshold (Technical Preview)'
'Custom threshold (Beta)'
);
expect(resp.hits.hits[0]._source).property('kibana.alert.rule.consumer', 'logs');
expect(resp.hits.hits[0]._source).property('kibana.alert.rule.name', 'Threshold rule');
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ export default function ({ getService }: FtrProviderContext) {

expect(resp.hits.hits[0]._source).property(
'kibana.alert.rule.category',
'Custom threshold (Technical Preview)'
'Custom threshold (Beta)'
);
expect(resp.hits.hits[0]._source).property('kibana.alert.rule.consumer', 'observability');
expect(resp.hits.hits[0]._source).property('kibana.alert.rule.name', 'Threshold rule');
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ export default function ({ getService }: FtrProviderContext) {

expect(resp.hits.hits[0]._source).property(
'kibana.alert.rule.category',
'Custom threshold (Technical Preview)'
'Custom threshold (Beta)'
);
expect(resp.hits.hits[0]._source).property('kibana.alert.rule.consumer', 'observability');
expect(resp.hits.hits[0]._source).property('kibana.alert.rule.name', 'Threshold rule');
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ export default function ({ getService }: FtrProviderContext) {

expect(resp.hits.hits[0]._source).property(
'kibana.alert.rule.category',
'Custom threshold (Technical Preview)'
'Custom threshold (Beta)'
);
expect(resp.hits.hits[0]._source).property('kibana.alert.rule.consumer', 'observability');
expect(resp.hits.hits[0]._source).property('kibana.alert.rule.name', 'Threshold rule');
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ export default function ({ getService }: FtrProviderContext) {

expect(resp.hits.hits[0]._source).property(
'kibana.alert.rule.category',
'Custom threshold (Technical Preview)'
'Custom threshold (Beta)'
);
expect(resp.hits.hits[0]._source).property('kibana.alert.rule.consumer', 'observability');
expect(resp.hits.hits[0]._source).property('kibana.alert.rule.name', 'Threshold rule');
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ export default function ({ getService }: FtrProviderContext) {

expect(resp.hits.hits[0]._source).property(
'kibana.alert.rule.category',
'Custom threshold (Technical Preview)'
'Custom threshold (Beta)'
);
expect(resp.hits.hits[0]._source).property('kibana.alert.rule.consumer', 'observability');
expect(resp.hits.hits[0]._source).property('kibana.alert.rule.name', 'Threshold rule');
Expand Down

0 comments on commit f778f00

Please sign in to comment.