feat: implement a Keptn metrics provider

Add a Keptn metrics provider for two resources:
* KeptnMetric: Verify the value of a single metric.
* Analysis (via AnalysisDefinition): Run a Keptn analysis over an
  interval validating SLOs.

Signed-off-by: Florian Bacher <florian.bacher@dynatrace.com>
This commit is contained in:
Florian Bacher
2024-06-11 19:23:03 +05:30
committed by Sanskar Jaiswal
parent adc60596f5
commit ce976e28f0
13 changed files with 742 additions and 9 deletions
+1
View File
@@ -1298,6 +1298,7 @@ spec:
- newrelic
- graphite
- dynatrace
- keptn
address:
description: API address of this provider
type: string
+13
View File
@@ -241,6 +241,19 @@ rules:
- update
- patch
- delete
- apiGroups:
- metrics.keptn.sh
resources:
- keptnmetrics
- analyses
verbs:
- get
- list
- watch
- create
- update
- patch
- delete
- nonResourceURLs:
- /version
verbs: