Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type App ¶
type App struct { Name string SpyName string SampleRate uint32 Units metadata.Units AggregationType metadata.AggregationType // contains filtered or unexported fields }
func (*App) MergedTree ¶ added in v0.28.0
type AppConfig ¶
type AppConfig struct { SpyName string `yaml:"spyName"` SampleRate uint32 `yaml:"sampleRate"` Units metadata.Units `yaml:"units"` AggregationType metadata.AggregationType `yaml:"aggregationType"` Tags []Tag `yaml:"tags"` Trees int `yaml:"trees"` TreeConfig `yaml:"treeConfig"` }
type StorageWriteSuite ¶
type StorageWriteSuite struct {
// contains filtered or unexported fields
}
func NewStorageWriteSuite ¶
func NewStorageWriteSuite(c StorageWriteSuiteConfig) *StorageWriteSuite
func (*StorageWriteSuite) AddApp ¶
func (s *StorageWriteSuite) AddApp(app *App) *StorageWriteSuite
func (*StorageWriteSuite) AddAppWithConfig ¶ added in v0.28.0
func (s *StorageWriteSuite) AddAppWithConfig(name string, c AppConfig) *StorageWriteSuite
func (*StorageWriteSuite) Start ¶
func (s *StorageWriteSuite) Start()
func (*StorageWriteSuite) Stats ¶
func (s *StorageWriteSuite) Stats() Stats
type StorageWriteSuiteConfig ¶
type TagsGenerator ¶
type TagsGenerator struct {
// contains filtered or unexported fields
}
func NewTagGenerator ¶
func NewTagGenerator(seed int, appName string) *TagsGenerator
func (*TagsGenerator) Add ¶
func (g *TagsGenerator) Add(name string, card, min, max int) *TagsGenerator
func (*TagsGenerator) Next ¶
func (g *TagsGenerator) Next() map[string]string
type TreeConfig ¶
type TreeGenerator ¶
type TreeGenerator struct { TreeConfig // contains filtered or unexported fields }
func NewTreeGenerator ¶
func NewTreeGenerator(seed, trees int, c TreeConfig) *TreeGenerator
func (*TreeGenerator) Next ¶
func (g *TreeGenerator) Next() *tree.Tree
Click to show internal directories.
Click to hide internal directories.