Skip to content

Commit 1802600

Browse files
SandeepD2697mowies
andauthored
feat: adding Elastic as a metrics provider (#3890)
Signed-off-by: SandeepD2697 <[email protected]> Signed-off-by: Moritz Wiesinger <[email protected]> Co-authored-by: Moritz Wiesinger <[email protected]>
1 parent 7eb3337 commit 1802600

File tree

31 files changed

+542
-33
lines changed

31 files changed

+542
-33
lines changed

.github/actions/spelling/expect.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -157,6 +157,8 @@ dupl
157157
dynamicinformer
158158
dynatrace
159159
ecr
160+
elastic
161+
elasticsearch
160162
elif
161163
ENABLEGITINFO
162164
endblock
@@ -392,6 +394,7 @@ loadtests
392394
LOCALBIN
393395
logf
394396
logr
397+
lte
395398
makefiles
396399
markdownfiles
397400
markdownlint

.github/scripts/.helm-tests/Openshift/result.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13907,8 +13907,8 @@ spec:
1390713907
type: string
1390813908
type:
1390913909
description: Type represents the provider type. This can be one of
13910-
cortex, datadog, dql, dynatrace, prometheus or thanos.
13911-
pattern: cortex|datadog|dql|dynatrace|prometheus|thanos
13910+
cortex, datadog, dql, dynatrace, prometheus, elastic or thanos.
13911+
pattern: cortex|datadog|dql|dynatrace|prometheus|elastic|thanos
1391213912
type: string
1391313913
required:
1391413914
- targetServer

.github/scripts/.helm-tests/default/result.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13907,8 +13907,8 @@ spec:
1390713907
type: string
1390813908
type:
1390913909
description: Type represents the provider type. This can be one of
13910-
cortex, datadog, dql, dynatrace, prometheus or thanos.
13911-
pattern: cortex|datadog|dql|dynatrace|prometheus|thanos
13910+
cortex, datadog, dql, dynatrace, prometheus, elastic or thanos.
13911+
pattern: cortex|datadog|dql|dynatrace|prometheus|elastic|thanos
1391213912
type: string
1391313913
required:
1391413914
- targetServer

.github/scripts/.helm-tests/local-global-precedence/result.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14031,8 +14031,8 @@ spec:
1403114031
type: string
1403214032
type:
1403314033
description: Type represents the provider type. This can be one of
14034-
cortex, datadog, dql, dynatrace, prometheus or thanos.
14035-
pattern: cortex|datadog|dql|dynatrace|prometheus|thanos
14034+
cortex, datadog, dql, dynatrace, prometheus, elastic or thanos.
14035+
pattern: cortex|datadog|dql|dynatrace|prometheus|elastic|thanos
1403614036
type: string
1403714037
required:
1403814038
- targetServer

.github/scripts/.helm-tests/metrics-only-with-apiservice-disabled/result.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2593,8 +2593,8 @@ spec:
25932593
type: string
25942594
type:
25952595
description: Type represents the provider type. This can be one of
2596-
cortex, datadog, dql, dynatrace, prometheus or thanos.
2597-
pattern: cortex|datadog|dql|dynatrace|prometheus|thanos
2596+
cortex, datadog, dql, dynatrace, prometheus, elastic or thanos.
2597+
pattern: cortex|datadog|dql|dynatrace|prometheus|elastic|thanos
25982598
type: string
25992599
required:
26002600
- targetServer

.github/scripts/.helm-tests/metrics-only/result.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2593,8 +2593,8 @@ spec:
25932593
type: string
25942594
type:
25952595
description: Type represents the provider type. This can be one of
2596-
cortex, datadog, dql, dynatrace, prometheus or thanos.
2597-
pattern: cortex|datadog|dql|dynatrace|prometheus|thanos
2596+
cortex, datadog, dql, dynatrace, prometheus, elastic or thanos.
2597+
pattern: cortex|datadog|dql|dynatrace|prometheus|elastic|thanos
25982598
type: string
25992599
required:
26002600
- targetServer

.github/scripts/.helm-tests/metrics-with-certs/result.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2608,8 +2608,8 @@ spec:
26082608
type: string
26092609
type:
26102610
description: Type represents the provider type. This can be one of
2611-
cortex, datadog, dql, dynatrace, prometheus or thanos.
2612-
pattern: cortex|datadog|dql|dynatrace|prometheus|thanos
2611+
cortex, datadog, dql, dynatrace, prometheus, elastic or thanos.
2612+
pattern: cortex|datadog|dql|dynatrace|prometheus|elastic|thanos
26132613
type: string
26142614
required:
26152615
- targetServer

docs/docs/assets/crd/examples/yaml-synopsis.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ metadata:
44
name: <data-source-instance-name>
55
namespace: <namespace>
66
spec:
7-
type: cortex | datadog | dql | dynatrace | prometheus | thanos
7+
type: cortex | datadog | dql | dynatrace | prometheus | elastic | thanos
88
targetServer: "<data-source-url>"
99
secretKeyRef:
1010
name: <secret-name>

docs/docs/components/metrics-operator.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ of the application and infrastructure.
1313

1414
While Kubernetes has ways to extend its metrics APIs, there are limitations,
1515
especially that they allow you to use only a single observability platform
16-
such as Prometheus, Thanos, Cortex, Dynatrace or Datadog.
16+
such as Prometheus, Thanos, Cortex, Dynatrace, Elastic or Datadog.
1717
The Keptn Metrics Operator solves this problem
1818
by providing a single entry point for
1919
all your metrics data, regardless of its source.

docs/docs/contribute/software/add-new-metric-provider.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ The steps to create your own metrics provider are:
9595
[line](https://github.com/keptn/lifecycle-toolkit/blob/main/metrics-operator/api/v1/keptnmetricsprovider_types.go#L29)
9696
to look like this
9797

98-
`// +kubebuilder:validation:Pattern:=cortex|datadog|dql|dynatrace|prometheus|thanos|placeholder`.
98+
`// +kubebuilder:validation:Pattern:=cortex|datadog|dql|dynatrace|prometheus|elastic|thanos|placeholder`.
9999

100100
In the metric-operator directory run `make generate manifests` to update the metrics-operator crd config
101101
Then modify the helm chart and the helm chart crd validation to match the update in the metrics-operator crd config

0 commit comments

Comments
 (0)