From e5ade235040f7154c06b38f4da7ff3fa04096671 Mon Sep 17 00:00:00 2001 From: Dima Arnautov Date: Thu, 2 Mar 2023 09:44:50 +0100 Subject: [PATCH] update context, update default template --- .../register_transform_health_rule.ts | 9 +++++++-- .../register_transform_health_rule_type.ts | 3 ++- .../transform_health_service.ts | 6 ++++-- 3 files changed, 13 insertions(+), 5 deletions(-) diff --git a/x-pack/plugins/transform/public/alerting/transform_health_rule_type/register_transform_health_rule.ts b/x-pack/plugins/transform/public/alerting/transform_health_rule_type/register_transform_health_rule.ts index 47428c070cda6..f6e0946299fed 100644 --- a/x-pack/plugins/transform/public/alerting/transform_health_rule_type/register_transform_health_rule.ts +++ b/x-pack/plugins/transform/public/alerting/transform_health_rule_type/register_transform_health_rule.ts @@ -67,8 +67,13 @@ export function getTransformHealthRuleType(): RuleTypeModel t.transform_state !== TRANSFORM_STATE.STARTED && @@ -226,7 +227,8 @@ export function transformHealthServiceProvider( transform_state: t.state, node_name: t.node?.name, description: transformsDict.get(t.id)?.description, - health: t.health, + health_status: t.health.status, + issues: t.health.issues, }; }); },