Skip to content

Commit

Permalink
add required labels to keptn metric
Browse files Browse the repository at this point in the history
Signed-off-by: Moritz Wiesinger <[email protected]>
  • Loading branch information
mowies committed Oct 31, 2023
1 parent 4e4d98f commit 5ffe824
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions docs/content/en/docs/yaml-crd-ref/metric.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,9 @@ spec:
## Fields
* **apiVersion** (required) -- API version being used.
* **apiVersion** -- API version being used.
* **kind** (required) -- Resource type.
* **kind** -- Resource type.
Must be set to `KeptnMetric`.

* **metadata**
Expand All @@ -51,7 +51,7 @@ spec:
* **namespace** -- Namespace of the application using this metric.

* **spec**
* **provider.name** --
* **provider.name** (required) --
Name of this instance of the data source
from which the metric is collected.
This value must match the value of the `metadata.name` field
Expand All @@ -64,9 +64,9 @@ spec:
as the name of the Prometheus server that monitors the dev deployment
and `prod-prometheus` as the name of the Prometheus server
that monitors the production deployment.
* **query** -- String in the provider-specific query language,
* **query** (required) -- String in the provider-specific query language,
used to obtain a metric.
* **fetchIntervalSeconds** -- Number of seconds between updates of the metric.
* **fetchIntervalSeconds** (required) -- Number of seconds between updates of the metric.
* **range**
* **interval** -- Timeframe for which the metric would be queried.
Defaults to 5m.
Expand Down

0 comments on commit 5ffe824

Please sign in to comment.