We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
In order to have multiple metric values, we need to update our metrics API/ KeptnMetric as follows:
apiVersion: metrics.keptn.sh/v1alpha3 kind: KeptnMetric metadata: name: podtato-head spec: provider: name: "my-provider" query: "sum(kube_pod_container_resource_limits{resource='cpu'})" fetchIntervalSeconds: 5 range: interval: "5m" step: "1m" aggregation: "p90" storedResults: 5 status: value: "1.0" rawValue: "{}" lastUpdated: .... errMsg: nil intervalResults: - value: 1 range: from: "" to: "" aggregation: max lastUpdated: ... errMsg: nil - value: 1 range: from: "" to: "" aggregation: max
spec.range.storedResult
status
IntervalResult
The text was updated successfully, but these errors were encountered:
KeptnMetric
rakshitgondwal
Successfully merging a pull request may close this issue.
Description
In order to have multiple metric values, we need to update our metrics API/ KeptnMetric as follows:
DoD:
spec.range.storedResult
field.status
, to have a slice ofIntervalResult
type structs.The text was updated successfully, but these errors were encountered: