-
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 - Verification Template - Add baseline fields
- Loading branch information
Showing
3 changed files
with
38 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
22 changes: 22 additions & 0 deletions
22
...ices/ocean/cd/schemas/verificationTemplate/oceanCDVerificationTemplateMetricBaseline.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,22 @@ | ||
type: object | ||
required: | ||
- threshold | ||
- provider | ||
title: Ocean CD Verification Metric Baseline | ||
properties: | ||
threshold: | ||
type: string | ||
enum: ["<", ">", "<=", ">=", "=", "range"] | ||
description: A mathematical expression needed for the comparison | ||
example: ">" | ||
minRange: | ||
type: integer | ||
example: 45 | ||
description: Number in percent we allow the new version’s data result to be under baseline data result | ||
maxRange: | ||
type: integer | ||
example: 55 | ||
description: Number in percent we allow the new version’s data result to be under baseline data result | ||
provider: | ||
type: object | ||
$ref: "oceanCDVerificationTemplateMetricBaselineProvider.yaml" |
13 changes: 13 additions & 0 deletions
13
...an/cd/schemas/verificationTemplate/oceanCDVerificationTemplateMetricBaselineProvider.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 Metric Baseline Provider, only one provider type can be defined and it must be equal to the metric provider | ||
description: The name of the monitoring tool chosen for the metric | ||
properties: | ||
prometheus: | ||
type: object | ||
$ref: "oceanCDVerificationTemplateMetricPrometheus.yaml" | ||
newRelic: | ||
type: object | ||
$ref: "oceanCDVerificationTemplateMetricNewRelic.yaml" | ||
datadog: | ||
type: object | ||
$ref: "oceanCDVerificationTemplateMetricDatadog.yaml" |