Documentation
¶
Index ¶
Constants ¶
View Source
const TsdbBenchIngestConfig = "TSDB_BENCH_INGEST_CONFIG"
Variables ¶
This section is empty.
Functions ¶
func MakeNamesRange ¶
func MakeRandomFloat64 ¶
func MakeRandomFloat64() float64
Types ¶
type BenchmarkIngestConfig ¶
type BenchmarkIngestConfig struct {
Verbose bool `json:"Verbose,omitempty" yaml:"Verbose"`
StartTimeOffset string `json:"StartTimeOffset,omitempty" yaml:"StartTimeOffset"`
SampleStepSize int `json:"SampleStepSize,omitempty" yaml:"SampleStepSize"`
NamesCount int `json:"NamesCount,omitempty" yaml:"NamesCount"`
NamesDiversity int `json:"NamesDiversity,omitempty" yaml:"NamesDiversity"`
LabelsCount int `json:"LabelsCount,omitempty" yaml:"LabelsCount"`
LabelsDiversity int `json:"LabelsDiversity,omitempty" yaml:"LabelsDiversity"`
LabelValuesCount int `json:"LabelValuesCount,omitempty" yaml:"LabelValuesCount"`
LabelsValueDiversity int `json:"LabelsValueDiversity,omitempty" yaml:"LabelsValueDiversity"`
FlushFrequency int `json:"FlushFrequency,omitempty" yaml:"FlushFrequency"`
AppendOneByOne bool `json:"AppendOneByOne,omitempty" yaml:"AppendOneByOne"`
}
func LoadBenchmarkIngestConfigs ¶
func LoadBenchmarkIngestConfigs() (*BenchmarkIngestConfig, *config.V3ioConfig, error)
Click to show internal directories.
Click to hide internal directories.