Documentation ¶
Index ¶
- Constants
- func GetMetricsFilePathsForRun(job string, run int, utils util.JobLogUtils) map[string][]string
- func GetMetricsForRun(job string, run int, utils util.JobLogUtils) map[string][]perftype.PerfData
- func GetMetricsForRuns(job string, runs []int, utils util.JobLogUtils) []map[string][]perftype.PerfData
Constants ¶
const ( APICallLatencyFilePrefix = "artifacts/APIResponsiveness_" PodStartupLatencyFilePrefix = "artifacts/PodStartupLatency_" )
Path prefixes for the metrics files we want to scrape.
Variables ¶
This section is empty.
Functions ¶
func GetMetricsFilePathsForRun ¶
GetMetricsFilePathsForRun for a given run of a job, returns a map of testname ("load", "density", etc) to a list of paths to its latency files (API responsiveness, pod startup) relative to the run's root dir.
func GetMetricsForRun ¶
GetMetricsForRun for a given run of a job, returns a map of testname ("load", "density", etc) to a list of its latency metrics (API responsiveness, pod startup) in perfType.PerfData format.
func GetMetricsForRuns ¶
func GetMetricsForRuns(job string, runs []int, utils util.JobLogUtils) []map[string][]perftype.PerfData
GetMetricsForRuns is a wrapper for calling GetMetricsForRun on multiple runs returning an array of the obtained results. Neglects runs whose metrics could not be fetched. Note: This does best-effort scraping, returning as much as could be scraped, without any error.
Types ¶
This section is empty.