Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BatchConfig ¶
type CounterReporterConfig ¶
type CounterReporterConfig struct {
Foo string `yaml:"foo"`
}
type ReporterConfig ¶
type ReporterConfig struct { Name string `yaml:"name"` Type string `yaml:"type"` Counter *CounterReporterConfig `yaml:"counter"` TSDB *TSDBReporterConfig `yaml:"tsdb"` }
type SeriesConfig ¶
type TSDBReporterConfig ¶
type TSDBReporterConfig struct { // Sample is 1 from n samples, will ignore everything if n < 1 Sample int `yaml:"sample"` Database libtsdb.DatabaseConfig `yaml:"database"` }
type TimeConfig ¶
type ValueConfig ¶
type ValueConfig struct { Generator string `yaml:"generator"` Constant *ConstantValueGeneratorConfig `yaml:"constant"` Random *RandomValueGeneratorConfig `yaml:"random"` }
type WorkerConfig ¶
type WorkerConfig struct {
Num int `yaml:"num"`
}
type WorkloadConfig ¶
type WorkloadConfig struct { Name string `yaml:"name"` Batch BatchConfig `yaml:"batch"` Series SeriesConfig `yaml:"series"` Time TimeConfig `yaml:"time"` Value ValueConfig `yaml:"value"` }
type XephonBConfig ¶
type XephonBConfig struct { Limit string `yaml:"limit"` Duration time.Duration `yaml:"duration"` Worker WorkerConfig `yaml:"worker"` Workload string `yaml:"workload"` Workloads []WorkloadConfig `yaml:"workloads"` Database string `yaml:"database"` Databases []libtsdb.DatabaseConfig `yaml:"databases"` Reporter string `yaml:"reporter"` Reporters []ReporterConfig `yaml:"reporters"` }
Click to show internal directories.
Click to hide internal directories.