Skip to content

Commit

Permalink
[OBS-UX-MNGMT] Remove the Beta badge and GA the Custom Threshold rule…
Browse files Browse the repository at this point in the history
… 🎉 (elastic#176514)

## Summary

It closes elastic#172942 by removing
the Beta badge.
Related to elastic/observability-docs#3549
<img width="579" alt="Screenshot 2024-02-08 at 16 09 12"
src="https://github.com/elastic/kibana/assets/6838659/0210f4ed-d788-4041-b0bc-2688996699ff">

## Release note:
We are excited to announce the general availability of the Custom
Threshold rule. The Custom Threshold rule is an Observability alerting
rule that allows users to define and alert on custom threshold values.
The rule can be customized to act on particular data views, using
specific aggregations (like sum, average, min, max, percentile, rate,
etc.) and via the use of basic math or boolean logic to define the
custom thresholds. For more information, please refer to the [user
guide](https://www.elastic.co/guide/en/observability/current/custom-threshold-alert.html).
  • Loading branch information
fkanout authored and CoenWarmer committed Feb 15, 2024
1 parent 22ef29e commit bc8d30b
Show file tree
Hide file tree
Showing 16 changed files with 16 additions and 16 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,7 @@ export const buildCustomThresholdAlert = (
},
'kibana.alert.evaluation.values': [2500, 5],
'kibana.alert.group': [{ field: 'host.name', value: 'host-1' }],
'kibana.alert.rule.category': 'Custom threshold (Beta)',
'kibana.alert.rule.category': 'Custom threshold',
'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 @@ -129,7 +129,7 @@ export function thresholdRuleType(
return {
id: OBSERVABILITY_THRESHOLD_RULE_TYPE_ID,
name: i18n.translate('xpack.observability.threshold.ruleName', {
defaultMessage: 'Custom threshold (Beta)',
defaultMessage: 'Custom threshold',
}),
fieldsForAAD: CUSTOM_THRESHOLD_AAD_FIELDS,
validate: {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ export default function ({ getService }: FtrProviderContext) {

expect(resp.hits.hits[0]._source).property(
'kibana.alert.rule.category',
'Custom threshold (Beta)'
'Custom threshold'
);
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 @@ -153,7 +153,7 @@ export default function ({ getService }: FtrProviderContext) {

expect(resp.hits.hits[0]._source).property(
'kibana.alert.rule.category',
'Custom threshold (Beta)'
'Custom threshold'
);
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 (Beta)'
'Custom threshold'
);
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 @@ -182,7 +182,7 @@ export default function ({ getService }: FtrProviderContext) {

expect(resp.hits.hits[0]._source).property(
'kibana.alert.rule.category',
'Custom threshold (Beta)'
'Custom threshold'
);
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 @@ -182,7 +182,7 @@ export default function ({ getService }: FtrProviderContext) {

expect(resp.hits.hits[0]._source).property(
'kibana.alert.rule.category',
'Custom threshold (Beta)'
'Custom threshold'
);
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 @@ -182,7 +182,7 @@ export default function ({ getService }: FtrProviderContext) {

expect(resp.hits.hits[0]._source).property(
'kibana.alert.rule.category',
'Custom threshold (Beta)'
'Custom threshold'
);
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 @@ -180,7 +180,7 @@ export default function ({ getService }: FtrProviderContext) {

expect(resp.hits.hits[0]._source).property(
'kibana.alert.rule.category',
'Custom threshold (Beta)'
'Custom threshold'
);
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 @@ -178,7 +178,7 @@ export default function ({ getService }: FtrProviderContext) {

expect(resp.hits.hits[0]._source).property(
'kibana.alert.rule.category',
'Custom threshold (Beta)'
'Custom threshold'
);
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 @@ -167,7 +167,7 @@ export default function ({ getService }: FtrProviderContext) {

expect(resp.hits.hits[0]._source).property(
'kibana.alert.rule.category',
'Custom threshold (Beta)'
'Custom threshold'
);
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 (Beta)'
'Custom threshold'
);
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 @@ -176,7 +176,7 @@ export default function ({ getService }: FtrProviderContext) {

expect(resp.hits.hits[0]._source).property(
'kibana.alert.rule.category',
'Custom threshold (Beta)'
'Custom threshold'
);
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 @@ -167,7 +167,7 @@ export default function ({ getService }: FtrProviderContext) {

expect(resp.hits.hits[0]._source).property(
'kibana.alert.rule.category',
'Custom threshold (Beta)'
'Custom threshold'
);
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 @@ -185,7 +185,7 @@ export default function ({ getService }: FtrProviderContext) {

expect(resp.hits.hits[0]._source).property(
'kibana.alert.rule.category',
'Custom threshold (Beta)'
'Custom threshold'
);
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 @@ -152,7 +152,7 @@ export default function ({ getService }: FtrProviderContext) {

expect(resp.hits.hits[0]._source).property(
'kibana.alert.rule.category',
'Custom threshold (Beta)'
'Custom threshold'
);
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 bc8d30b

Please sign in to comment.