v1alpha1
Reference information for metrics.keptn.sh/v1alpha1
Packages
metrics.keptn.sh/v1alpha1
Package v1alpha1 contains API Schema definitions for the metrics v1alpha1 API group
Resource Types
KeptnMetric
KeptnMetric is the Schema for the keptnmetrics API
Appears in: - KeptnMetricList
Field | Description | Default | Optional | Validation |
---|---|---|---|---|
apiVersion string |
metrics.keptn.sh/v1alpha1 |
|||
kind string |
KeptnMetric |
|||
metadata ObjectMeta |
Refer to Kubernetes API documentation about metadata . |
✓ | ||
spec KeptnMetricSpec |
✓ | |||
status KeptnMetricStatus |
✓ |
KeptnMetricList
KeptnMetricList contains a list of KeptnMetric
Field | Description | Default | Optional | Validation |
---|---|---|---|---|
apiVersion string |
metrics.keptn.sh/v1alpha1 |
|||
kind string |
KeptnMetricList |
|||
metadata ListMeta |
✓ | |||
items KeptnMetric array |
x |
KeptnMetricSpec
KeptnMetricSpec defines the desired state of KeptnMetric
Appears in: - KeptnMetric
Field | Description | Default | Optional | Validation |
---|---|---|---|---|
provider ProviderRef |
Provider represents the provider object | x | ||
query string |
Query represents the query to be run | x | ||
fetchIntervalSeconds integer |
FetchIntervalSeconds represents the update frequency in seconds that is used to update the metric | x |
KeptnMetricStatus
KeptnMetricStatus defines the observed state of KeptnMetric
Appears in: - KeptnMetric
Field | Description | Default | Optional | Validation |
---|---|---|---|---|
value string |
Value represents the resulting value | x | ||
rawValue integer array |
RawValue represents the resulting value in raw format | x | ||
lastUpdated Time |
LastUpdated represents the time when the status data was last updated | x |
ProviderRef
ProviderRef represents the provider object
Appears in: - KeptnMetricSpec
Field | Description | Default | Optional | Validation |
---|---|---|---|---|
name string |
Name of the provider | x |