From 1c8fd419f2a569389786c1b4c7d19f14f6eba279 Mon Sep 17 00:00:00 2001 From: lcawl Date: Tue, 26 Mar 2024 17:34:47 -0700 Subject: [PATCH] [DOCS] Fix path to observability rule definitions --- .../components/schemas/create_apm_anomaly_rule_request.yaml | 2 +- .../components/schemas/create_apm_error_count_rule_request.yaml | 2 +- .../schemas/create_apm_transaction_duration_rule_request.yaml | 2 +- .../schemas/create_apm_transaction_error_rate_rule_request.yaml | 2 +- .../components/schemas/create_infra_inventory_rule_request.yaml | 2 +- .../schemas/create_infra_metric_threshold_rule_request.yaml | 2 +- .../components/schemas/create_log_threshold_rule_request.yaml | 2 +- .../components/schemas/create_slo_burn_rate_rule_request.yaml | 2 +- .../schemas/create_synthetics_uptime_tls_rule_request.yaml | 2 +- .../schemas/create_uptime_monitor_status_rule_request.yaml | 2 +- 10 files changed, 10 insertions(+), 10 deletions(-) diff --git a/x-pack/plugins/alerting/docs/openapi/components/schemas/create_apm_anomaly_rule_request.yaml b/x-pack/plugins/alerting/docs/openapi/components/schemas/create_apm_anomaly_rule_request.yaml index 60bb44cad45dbf..79de09845df629 100644 --- a/x-pack/plugins/alerting/docs/openapi/components/schemas/create_apm_anomaly_rule_request.yaml +++ b/x-pack/plugins/alerting/docs/openapi/components/schemas/create_apm_anomaly_rule_request.yaml @@ -21,7 +21,7 @@ properties: notify_when: $ref: 'notify_when.yaml' params: - $ref: '../../../../../apm/server/routes/alerts/rule_types/docs/params_property_apm_anomaly.yaml' + $ref: '../../../../../observability_solution/apm/server/routes/alerts/rule_types/docs/params_property_apm_anomaly.yaml' rule_type_id: type: string description: The ID of the rule type that you want to call when the rule is scheduled to run. diff --git a/x-pack/plugins/alerting/docs/openapi/components/schemas/create_apm_error_count_rule_request.yaml b/x-pack/plugins/alerting/docs/openapi/components/schemas/create_apm_error_count_rule_request.yaml index 482aa0e289e823..6f1a088f79e9a0 100644 --- a/x-pack/plugins/alerting/docs/openapi/components/schemas/create_apm_error_count_rule_request.yaml +++ b/x-pack/plugins/alerting/docs/openapi/components/schemas/create_apm_error_count_rule_request.yaml @@ -21,7 +21,7 @@ properties: notify_when: $ref: 'notify_when.yaml' params: - $ref: '../../../../../apm/server/routes/alerts/rule_types/docs/params_property_apm_error_count.yaml' + $ref: '../../../../../observability_solution/apm/server/routes/alerts/rule_types/docs/params_property_apm_error_count.yaml' rule_type_id: type: string description: The ID of the rule type that you want to call when the rule is scheduled to run. diff --git a/x-pack/plugins/alerting/docs/openapi/components/schemas/create_apm_transaction_duration_rule_request.yaml b/x-pack/plugins/alerting/docs/openapi/components/schemas/create_apm_transaction_duration_rule_request.yaml index f6757b188ee2c3..366baffbb16645 100644 --- a/x-pack/plugins/alerting/docs/openapi/components/schemas/create_apm_transaction_duration_rule_request.yaml +++ b/x-pack/plugins/alerting/docs/openapi/components/schemas/create_apm_transaction_duration_rule_request.yaml @@ -21,7 +21,7 @@ properties: notify_when: $ref: 'notify_when.yaml' params: - $ref: '../../../../../apm/server/routes/alerts/rule_types/docs/params_property_apm_transaction_duration.yaml' + $ref: '../../../../../observability_solution/apm/server/routes/alerts/rule_types/docs/params_property_apm_transaction_duration.yaml' rule_type_id: type: string description: The ID of the rule type that you want to call when the rule is scheduled to run. diff --git a/x-pack/plugins/alerting/docs/openapi/components/schemas/create_apm_transaction_error_rate_rule_request.yaml b/x-pack/plugins/alerting/docs/openapi/components/schemas/create_apm_transaction_error_rate_rule_request.yaml index 239ded7c3cd85a..638b01dc6e77d6 100644 --- a/x-pack/plugins/alerting/docs/openapi/components/schemas/create_apm_transaction_error_rate_rule_request.yaml +++ b/x-pack/plugins/alerting/docs/openapi/components/schemas/create_apm_transaction_error_rate_rule_request.yaml @@ -21,7 +21,7 @@ properties: notify_when: $ref: 'notify_when.yaml' params: - $ref: '../../../../../apm/server/routes/alerts/rule_types/docs/params_property_apm_transaction_error_rate.yaml' + $ref: '../../../../../observability_solution/apm/server/routes/alerts/rule_types/docs/params_property_apm_transaction_error_rate.yaml' rule_type_id: type: string description: The ID of the rule type that you want to call when the rule is scheduled to run. diff --git a/x-pack/plugins/alerting/docs/openapi/components/schemas/create_infra_inventory_rule_request.yaml b/x-pack/plugins/alerting/docs/openapi/components/schemas/create_infra_inventory_rule_request.yaml index f5b967c559f817..29087672db1ebd 100644 --- a/x-pack/plugins/alerting/docs/openapi/components/schemas/create_infra_inventory_rule_request.yaml +++ b/x-pack/plugins/alerting/docs/openapi/components/schemas/create_infra_inventory_rule_request.yaml @@ -22,7 +22,7 @@ properties: notify_when: $ref: 'notify_when.yaml' params: - $ref: '../../../../../infra/server/lib/alerting/docs/params_property_infra_inventory.yaml' + $ref: '../../../../../observability_solution/infra/server/lib/alerting/docs/params_property_infra_inventory.yaml' rule_type_id: type: string description: The ID of the rule type that you want to call when the rule is scheduled to run. diff --git a/x-pack/plugins/alerting/docs/openapi/components/schemas/create_infra_metric_threshold_rule_request.yaml b/x-pack/plugins/alerting/docs/openapi/components/schemas/create_infra_metric_threshold_rule_request.yaml index 8d37ab9defc6ee..fa19ad4c29ae5d 100644 --- a/x-pack/plugins/alerting/docs/openapi/components/schemas/create_infra_metric_threshold_rule_request.yaml +++ b/x-pack/plugins/alerting/docs/openapi/components/schemas/create_infra_metric_threshold_rule_request.yaml @@ -22,7 +22,7 @@ properties: notify_when: $ref: 'notify_when.yaml' params: - $ref: '../../../../../infra/server/lib/alerting/docs/params_property_infra_metric_threshold.yaml' + $ref: '../../../../../observability_solution/infra/server/lib/alerting/docs/params_property_infra_metric_threshold.yaml' rule_type_id: type: string description: The ID of the rule type that you want to call when the rule is scheduled to run. diff --git a/x-pack/plugins/alerting/docs/openapi/components/schemas/create_log_threshold_rule_request.yaml b/x-pack/plugins/alerting/docs/openapi/components/schemas/create_log_threshold_rule_request.yaml index 35aa5805ad9674..7354903ba28b24 100644 --- a/x-pack/plugins/alerting/docs/openapi/components/schemas/create_log_threshold_rule_request.yaml +++ b/x-pack/plugins/alerting/docs/openapi/components/schemas/create_log_threshold_rule_request.yaml @@ -21,7 +21,7 @@ properties: notify_when: $ref: 'notify_when.yaml' params: - $ref: '../../../../../infra/server/lib/alerting/docs/params_property_log_threshold.yaml' + $ref: '../../../../../observability_solution/infra/server/lib/alerting/docs/params_property_log_threshold.yaml' rule_type_id: type: string description: The ID of the rule type that you want to call when the rule is scheduled to run. diff --git a/x-pack/plugins/alerting/docs/openapi/components/schemas/create_slo_burn_rate_rule_request.yaml b/x-pack/plugins/alerting/docs/openapi/components/schemas/create_slo_burn_rate_rule_request.yaml index e3a7467109600b..5d2992f54c61e2 100644 --- a/x-pack/plugins/alerting/docs/openapi/components/schemas/create_slo_burn_rate_rule_request.yaml +++ b/x-pack/plugins/alerting/docs/openapi/components/schemas/create_slo_burn_rate_rule_request.yaml @@ -25,7 +25,7 @@ properties: notify_when: $ref: 'notify_when.yaml' params: - $ref: '../../../../../observability/server/lib/rules/slo_burn_rate/docs/params_property_slo_burn_rate.yaml' + $ref: '../../../../../observability_solution/slo/server/lib/rules/slo_burn_rate/docs/params_property_slo_burn_rate.yaml' rule_type_id: type: string description: The ID of the rule type that you want to call when the rule is scheduled to run. diff --git a/x-pack/plugins/alerting/docs/openapi/components/schemas/create_synthetics_uptime_tls_rule_request.yaml b/x-pack/plugins/alerting/docs/openapi/components/schemas/create_synthetics_uptime_tls_rule_request.yaml index 74344eb039e986..603ff97158c168 100644 --- a/x-pack/plugins/alerting/docs/openapi/components/schemas/create_synthetics_uptime_tls_rule_request.yaml +++ b/x-pack/plugins/alerting/docs/openapi/components/schemas/create_synthetics_uptime_tls_rule_request.yaml @@ -18,7 +18,7 @@ properties: notify_when: $ref: 'notify_when.yaml' params: - $ref: '../../../../../uptime/server/legacy_uptime/lib/alerts/docs/params_property_synthetics_uptime_tls.yaml' + $ref: '../../../../../observability_solution/uptime/server/legacy_uptime/lib/alerts/docs/params_property_synthetics_uptime_tls.yaml' rule_type_id: type: string description: The ID of the rule type that you want to call when the rule is scheduled to run. diff --git a/x-pack/plugins/alerting/docs/openapi/components/schemas/create_uptime_monitor_status_rule_request.yaml b/x-pack/plugins/alerting/docs/openapi/components/schemas/create_uptime_monitor_status_rule_request.yaml index 70f3b5b8b05ad2..f23da2eb870460 100644 --- a/x-pack/plugins/alerting/docs/openapi/components/schemas/create_uptime_monitor_status_rule_request.yaml +++ b/x-pack/plugins/alerting/docs/openapi/components/schemas/create_uptime_monitor_status_rule_request.yaml @@ -21,7 +21,7 @@ properties: notify_when: $ref: 'notify_when.yaml' params: - $ref: '../../../../../uptime/server/legacy_uptime/lib/alerts/docs/params_property_synthetics_monitor_status.yaml' + $ref: '../../../../../observability_solution/uptime/server/legacy_uptime/lib/alerts/docs/params_property_synthetics_monitor_status.yaml' rule_type_id: type: string description: The ID of the rule type that you want to call when the rule is scheduled to run.