You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
By using the comparison library from go-commons we could provide kube-burner the capacity of comparing some of the collected metrics with previously indexed data in order to detect regressions automatically.
Describe the solution you'd like
One of the strategies to address this functionality can be to create an additional configuration file holding a comparison criteria, that can be broken down in a list of queries and tolerancies.
Given that the benchmarks launched from the OCP wrapper add some interesting metadata to all the indexed documents we can perform those comparisons against a subset of benchmarks rather than a single UUID.
Something like the below can be an initial approach.
- query: metadata.ocpMajorVersion.keyword: 4.14 AND metadata.platform.keyword: AWS AND metadata.sdnType.keyword: OVNKubernetes AND metadata.totalNodes: 125 AND metricName.keyword: podLatencyQuantilesMeasurement AND quantileName.keyword: Readyfield: P99tolerancy: -25# This means that the comparison will support up to 25% of latency increasestat: Avg # By default will be Avg, but we support more, listed at https://github.com/cloud-bulldozer/go-commons/blob/main/comparison/types.go#L20-L25metric:
metricName: podLatencyQuantilesMeasurementquantileName: Ready# Next one uses 99thEtcdDiskWalFsync, which is a metric from metrics-report profile
- query: metadata.ocpMajorVersion.keyword: 4.14 AND metadata.platform.keyword: AWS AND metadata.sdnType.keyword: OVNKubernetes AND metadata.totalNodes: 125 AND metricName.keyword: 99thEtcdDiskWalFsyncfield: valuetolerancy: -25# This means that the comparison will support up to 25% of latency increasemetric:
metricName: 99thEtcdDiskWalFsync
metric: this is the criteria kube-burner will use to figure out which of the collected metrics will be compared. Is a dictionary of fields, setting only metricName should be enough normally
This is a preliminary idea, as usual I'm open to others thoughts & feedback.
Is your feature request related to a problem? Please describe.
By using the comparison library from go-commons we could provide kube-burner the capacity of comparing some of the collected metrics with previously indexed data in order to detect regressions automatically.
Describe the solution you'd like
One of the strategies to address this functionality can be to create an additional configuration file holding a comparison criteria, that can be broken down in a list of queries and tolerancies.
Given that the benchmarks launched from the OCP wrapper add some interesting metadata to all the indexed documents we can perform those comparisons against a subset of benchmarks rather than a single UUID.
Something like the below can be an initial approach.
Where:
value
Avg
, more supported at https://github.com/cloud-bulldozer/go-commons/blob/main/comparison/elastic.go#L47This is a preliminary idea, as usual I'm open to others thoughts & feedback.
cc: @jtaleric @dry923 @vishnuchalla @smalleni @afcollins
The text was updated successfully, but these errors were encountered: