Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Config ¶
type Config struct { Label string // Label to be used when querying Prometheus. GraphQueries []GraphQuery }
Config contains information needed to generate reports.
type Generator ¶
type Generator struct {
// contains filtered or unexported fields
}
Generator is used to generate load test reports.
type GraphQuery ¶
type GraphQuery struct { Name string // A friendly name for the query. Query string // The actual Prometheus query to be executed. }
GraphQuery contains the query to be executed against a Prometheus instance to gather data for reports.
type Report ¶
type Report struct { Label string // A friendly name of the report. AvgStoreTimes map[model.LabelValue]model.SampleValue P99StoreTimes map[model.LabelValue]model.SampleValue AvgAPITimes map[model.LabelValue]model.SampleValue P99APITimes map[model.LabelValue]model.SampleValue Graphs []graph }
Report contains the entire report data comprising of several metrics that are needed to compare load test runs.
Click to show internal directories.
Click to hide internal directories.