Documentation ¶
Index ¶
- func NewBenchmark(promSpecificConfig *SpecificConfig, dataSourceConfig *source.DataSourceConfig) (targets.Benchmark, error)
- func NewTarget() targets.ImplementedTarget
- type Batch
- type BatchFactory
- type Benchmark
- func (pm *Benchmark) GetBatchFactory() targets.BatchFactory
- func (pm *Benchmark) GetDBCreator() targets.DBCreator
- func (pm *Benchmark) GetDataSource() targets.DataSource
- func (pm *Benchmark) GetPointIndexer(maxPartitions uint) targets.PointIndexer
- func (pm *Benchmark) GetProcessor() targets.Processor
- type Client
- type FileDataSource
- type Iterator
- type Processor
- type Serializer
- type SpecificConfig
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewBenchmark ¶
func NewBenchmark(promSpecificConfig *SpecificConfig, dataSourceConfig *source.DataSourceConfig) (targets.Benchmark, error)
func NewTarget ¶
func NewTarget() targets.ImplementedTarget
Types ¶
type Batch ¶
type Batch struct {
// contains filtered or unexported fields
}
Batch implements targets.Batch interface
func (*Batch) Append ¶
func (pb *Batch) Append(item data.LoadedPoint)
type BatchFactory ¶
type BatchFactory struct {
// contains filtered or unexported fields
}
PrometheusBatchFactory implements Factory interface
func (*BatchFactory) New ¶
func (pbf *BatchFactory) New() targets.Batch
type Benchmark ¶
type Benchmark struct {
// contains filtered or unexported fields
}
Benchmark implements targets.Benchmark interface
func (*Benchmark) GetBatchFactory ¶
func (pm *Benchmark) GetBatchFactory() targets.BatchFactory
func (*Benchmark) GetDBCreator ¶
func (*Benchmark) GetDataSource ¶
func (pm *Benchmark) GetDataSource() targets.DataSource
func (*Benchmark) GetPointIndexer ¶
func (pm *Benchmark) GetPointIndexer(maxPartitions uint) targets.PointIndexer
func (*Benchmark) GetProcessor ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client is a wrapper around http.Client Client sends data to Prometheus adapter
type FileDataSource ¶
type FileDataSource struct {
// contains filtered or unexported fields
}
FileDataSource implements the source.DataSource interface
func (*FileDataSource) Headers ¶
func (pd *FileDataSource) Headers() *common.GeneratedDataHeaders
func (*FileDataSource) NextItem ¶
func (pd *FileDataSource) NextItem() data.LoadedPoint
type Iterator ¶
type Iterator struct {
// contains filtered or unexported fields
}
Iterator iterates over binary data and enables lazy access over protobuf messages
func NewPrometheusIterator ¶
NewPrometheusIterator creates iterator and reads version information from underlying reader
type Processor ¶
type Processor struct {
// contains filtered or unexported fields
}
PrometheusProcessor implements load.Processor interface
type Serializer ¶
type Serializer struct {
// contains filtered or unexported fields
}
type SpecificConfig ¶
Click to show internal directories.
Click to hide internal directories.