Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Logs ¶
Logs is the component which displays information relating to the logs that were collected after completing the benchmarking process.
type Options ¶
type Options struct { Blueprint *value.Blueprint Stats *value.Stats CBMConfig *value.CBMConfig Results value.BenchmarkResults ClusterLogs []string BackupLogs string }
Options encapsulates the options which may be passed into the 'NewReport' function and avoids having ungainly function signatures.
type Overview ¶
type Overview struct { AvgDuration string `json:"avg_duration,omitempty"` AvgADS string `json:"avg_ads,omitempty"` AvgGDS string `json:"avg_gds,omitempty"` AvgTransferRateADS string `json:"avg_transfer_rate_ads,omitempty"` AvgTransferRateGDS string `json:"avg_transfer_rate_gds,omitempty"` }
Overview is the overview component to the report which highlights interesting averages across the benchmark iterations.
func NewOverview ¶
NewOverview creates a new overview component with the provided options.
type Report ¶
type Report struct { Cluster *value.ClusterBlueprint `json:"cluster,omitempty"` BackupClient *value.BackupClientBlueprint `json:"backup_client,omitempty"` CBM *value.CBMConfig `json:"cbbackupmgr,omitempty"` Stats *value.Stats `json:"bucket_stats,omitempty"` Overview *Overview `json:"overview,omitempty"` Rundown Rundown `json:"rundown,omitempty"` Logs *Logs `json:"logs,omitempty"` }
Report is the benchmark report which will be printed to stdout upon completion of the benchmarks.
type Rundown ¶
type Rundown []*rundownResult
Rundown is a component which contains the detailed rundown for each benchmark that was executed.
func NewRundown ¶
NewRundown creates a new 'Rundown' component with the provided options.