-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[src] - OceanCD - Add baseline field
- Loading branch information
Showing
4 changed files
with
42 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
type: object | ||
title: Ocean CD Verification Baseline | ||
description: Represents object of Verification Baseline | ||
properties: | ||
baselineResult: | ||
type: double | ||
example: 2.45 | ||
description: describe the baseline metric result | ||
metric: | ||
type: object | ||
$ref: "./oceanCDRolloutBaselineMetric.yaml" | ||
description: describe the baseline metric |
13 changes: 13 additions & 0 deletions
13
api/services/ocean/cd/schemas/oceanCDRolloutBaselineMetric.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
type: object | ||
title: Ocean CD Verification Baseline Metric | ||
description: Represents object of Verification Baseline Metric | ||
properties: | ||
threshold: | ||
type: string | ||
example: "<" | ||
description: represent the baseline threshold | ||
enum: [ "<", "<=", ">", ">=", "=", "range" ] | ||
provider: | ||
description: represent the baseline provider. | ||
type: object | ||
$ref: "./oceanCDRolloutBaselineMetricProvider.yaml" |
13 changes: 13 additions & 0 deletions
13
api/services/ocean/cd/schemas/oceanCDRolloutBaselineMetricProvider.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
type: object | ||
title: Ocean CD Verification Baseline Metric Provider | ||
description: Represents object of Verification Baseline Metric Provider | ||
properties: | ||
prometheus: | ||
type: object | ||
$ref: "../verificationTemplate/oceanCDVerificationTemplateMetricPrometheus.yaml" | ||
newRelic: | ||
type: object | ||
$ref: "../verificationTemplate/oceanCDVerificationTemplateMetricNewRelic.yaml" | ||
datadog: | ||
type: object | ||
$ref: "../verificationTemplate/oceanCDVerificationTemplateMetricDatadog.yaml" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters