mirror of
https://github.com/elastic/kibana.git
synced 2025-04-23 17:28:26 -04:00
Enable custom threshold and inventory rules in Serverless (#170351)
Closes #170327
Relates to https://github.com/elastic/kibana/issues/168034
## Summary
This PR enables the custom threshold and inventory rules in Serverless.
|Custom threshold rule|Inventory rule|
|---|---|
||
Related PR: [Add the query delay mechanism to the inventory rule type
and change consumer to
Observability](https://github.com/elastic/kibana/pull/170628)
This commit is contained in:
parent
2c90ba9725
commit
4df1cbe124
2 changed files with 3 additions and 3 deletions
|
@ -98,7 +98,7 @@ export const config: PluginConfigDescriptor<InfraConfig> = {
|
|||
}),
|
||||
inventoryThresholdAlertRuleEnabled: offeringBasedSchema({
|
||||
traditional: schema.boolean({ defaultValue: true }),
|
||||
serverless: schema.boolean({ defaultValue: false }),
|
||||
serverless: schema.boolean({ defaultValue: true }),
|
||||
}),
|
||||
metricThresholdAlertRuleEnabled: offeringBasedSchema({
|
||||
traditional: schema.boolean({ defaultValue: true }),
|
||||
|
@ -110,7 +110,7 @@ export const config: PluginConfigDescriptor<InfraConfig> = {
|
|||
}),
|
||||
alertsAndRulesDropdownEnabled: offeringBasedSchema({
|
||||
traditional: schema.boolean({ defaultValue: true }),
|
||||
serverless: schema.boolean({ defaultValue: false }),
|
||||
serverless: schema.boolean({ defaultValue: true }),
|
||||
}),
|
||||
}),
|
||||
}),
|
||||
|
|
|
@ -48,7 +48,7 @@ const configSchema = schema.object({
|
|||
}),
|
||||
thresholdRule: schema.object({
|
||||
enabled: offeringBasedSchema({
|
||||
serverless: schema.boolean({ defaultValue: false }),
|
||||
serverless: schema.boolean({ defaultValue: true }),
|
||||
traditional: schema.boolean({ defaultValue: true }),
|
||||
}),
|
||||
}),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue