-
Notifications
You must be signed in to change notification settings - Fork 126
New issue
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
Show multiple metric values in KeptnMetric
#1883
Comments
Also, should we have a slice or an array for results? |
Hey @rakshitgondwal, is this still not done yet, I will work on it. |
Hey @prakrit55, the first part of this issue has been completed, and I am working on the second part right now. |
It looked similar to an issue, so I approached. Thanks for the response. |
This issue has been automatically marked as stale because it has not had recent activity. It will be |
Have a PR under review that will close this issue. |
Closing as both the tasks have been completed. |
Introduce a new
range.storedResults
field in theKeptnMetric
struct. This field would be defined as the total number of results we want to store in the Status of the KeptnMetric.The metrics-controller would query the SLI provider in an interval of
fetchIntervalSeconds
and keep the lastspec.range.storedResults
amount of results. It basically acts as an LRU with a capacity ofspec.range.storedResults
.The maximum amount should be tested and found as part of this ticket - a good value could be 255.
Later, we can modify the status field to have a
status.results
field that would contain a slice/array of aResult
struct.The Result struct can have the value, rawValue, lastUpdated fields for a particular metric.
This whole thing might look somewhat like this:
Tasks
The text was updated successfully, but these errors were encountered: