From fd09b841546132b914f161917e9c87d8137521b6 Mon Sep 17 00:00:00 2001 From: Suzana Nesic Date: Mon, 30 Sep 2024 10:36:41 -0400 Subject: [PATCH] refactoring --- schemas/app-sre/slo-document-1.yml | 54 +++++++++--------------------- 1 file changed, 16 insertions(+), 38 deletions(-) diff --git a/schemas/app-sre/slo-document-1.yml b/schemas/app-sre/slo-document-1.yml index 2ffa6288..9e1c7efd 100644 --- a/schemas/app-sre/slo-document-1.yml +++ b/schemas/app-sre/slo-document-1.yml @@ -152,44 +152,22 @@ properties: properties: name: type: string - annotations: - type: object - properties: - runbook: - type: string - message: - type: string - dashboard: - type: string - link_url: - type: string - spec: - type: object - properties: - # # alerting: - # # type: string - description: - type: string - indicator: - type: object - properties: - ratio: - type: object - properties: - errors: - type: object - properties: - metric: - type: string - total: - type: object - properties: - metric: - type: string - target: - type: string - window: - type: string + runbook: + type: string + message: + type: string + dashboard: + type: string + link_url: + type: string + error_metric: + type: string + total_metric: + type: string + slo_target: + type: string + window: + type: string required: - "$schema" - labels