Documentation ¶
Index ¶
- func NewElasticSearchDevops(interval bulkQuerygen.TimeInterval, scaleVar int) bulkQuerygen.QueryGenerator
- func NewElasticSearchDevops8Hosts(_ bulkQuerygen.DatabaseConfig, queriesFullRange bulkQuerygen.TimeInterval, ...) bulkQuerygen.QueryGenerator
- func NewElasticSearchDevopsGroupBy(_ bulkQuerygen.DatabaseConfig, queriesFullRange bulkQuerygen.TimeInterval, ...) bulkQuerygen.QueryGenerator
- func NewElasticSearchDevopsSingleHost(_ bulkQuerygen.DatabaseConfig, queriesFullRange bulkQuerygen.TimeInterval, ...) bulkQuerygen.QueryGenerator
- func NewElasticSearchDevopsSingleHost12hr(_ bulkQuerygen.DatabaseConfig, queriesFullRange bulkQuerygen.TimeInterval, ...) bulkQuerygen.QueryGenerator
- type ElasticSearchDevops
- func (d *ElasticSearchDevops) Dispatch(i int) bulkQuerygen.Query
- func (d *ElasticSearchDevops) MaxCPUUsage12HoursByMinuteOneHost(q bulkQuerygen.Query)
- func (d *ElasticSearchDevops) MaxCPUUsageHourByMinuteEightHosts(q bulkQuerygen.Query)
- func (d *ElasticSearchDevops) MaxCPUUsageHourByMinuteFourHosts(q bulkQuerygen.Query)
- func (d *ElasticSearchDevops) MaxCPUUsageHourByMinuteOneHost(q bulkQuerygen.Query)
- func (d *ElasticSearchDevops) MaxCPUUsageHourByMinuteSixteenHosts(q bulkQuerygen.Query)
- func (d *ElasticSearchDevops) MaxCPUUsageHourByMinuteThirtyTwoHosts(q bulkQuerygen.Query)
- func (d *ElasticSearchDevops) MaxCPUUsageHourByMinuteTwoHosts(q bulkQuerygen.Query)
- func (d *ElasticSearchDevops) MeanCPUUsageDayByHourAllHostsGroupbyHost(qi bulkQuerygen.Query)
- type ElasticSearchDevops8Hosts
- type ElasticSearchDevopsGroupBy
- type ElasticSearchDevopsSingleHost
- type ElasticSearchDevopsSingleHost12hr
- type FleetQueryParams
- type HostsQueryParams
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewElasticSearchDevops ¶
func NewElasticSearchDevops(interval bulkQuerygen.TimeInterval, scaleVar int) bulkQuerygen.QueryGenerator
NewElasticSearchDevops makes an ElasticSearchDevops object ready to generate Queries.
func NewElasticSearchDevops8Hosts ¶
func NewElasticSearchDevops8Hosts(_ bulkQuerygen.DatabaseConfig, queriesFullRange bulkQuerygen.TimeInterval, queryInterval time.Duration, scaleVar int) bulkQuerygen.QueryGenerator
func NewElasticSearchDevopsGroupBy ¶
func NewElasticSearchDevopsGroupBy(_ bulkQuerygen.DatabaseConfig, queriesFullRange bulkQuerygen.TimeInterval, queryInterval time.Duration, scaleVar int) bulkQuerygen.QueryGenerator
func NewElasticSearchDevopsSingleHost ¶
func NewElasticSearchDevopsSingleHost(_ bulkQuerygen.DatabaseConfig, queriesFullRange bulkQuerygen.TimeInterval, queryInterval time.Duration, scaleVar int) bulkQuerygen.QueryGenerator
func NewElasticSearchDevopsSingleHost12hr ¶
func NewElasticSearchDevopsSingleHost12hr(_ bulkQuerygen.DatabaseConfig, queriesFullRange bulkQuerygen.TimeInterval, queryInterval time.Duration, scaleVar int) bulkQuerygen.QueryGenerator
Types ¶
type ElasticSearchDevops ¶
type ElasticSearchDevops struct {
bulkQuerygen.CommonParams
}
ElasticSearchDevops produces ES-specific queries for the devops use case.
func (*ElasticSearchDevops) Dispatch ¶
func (d *ElasticSearchDevops) Dispatch(i int) bulkQuerygen.Query
Dispatch fulfills the QueryGenerator interface.
func (*ElasticSearchDevops) MaxCPUUsage12HoursByMinuteOneHost ¶
func (d *ElasticSearchDevops) MaxCPUUsage12HoursByMinuteOneHost(q bulkQuerygen.Query)
func (*ElasticSearchDevops) MaxCPUUsageHourByMinuteEightHosts ¶
func (d *ElasticSearchDevops) MaxCPUUsageHourByMinuteEightHosts(q bulkQuerygen.Query)
MaxCPUUsageHourByMinuteEightHosts populates a Query for getting the maximum CPU usage for four hosts over the course of an hour.
func (*ElasticSearchDevops) MaxCPUUsageHourByMinuteFourHosts ¶
func (d *ElasticSearchDevops) MaxCPUUsageHourByMinuteFourHosts(q bulkQuerygen.Query)
MaxCPUUsageHourByMinuteFourHosts populates a Query for getting the maximum CPU usage for four hosts over the course of an hour.
func (*ElasticSearchDevops) MaxCPUUsageHourByMinuteOneHost ¶
func (d *ElasticSearchDevops) MaxCPUUsageHourByMinuteOneHost(q bulkQuerygen.Query)
MaxCPUUsageHourByMinuteOneHost populates a Query for getting the maximum CPU usage for one host over the course of an hour.
func (*ElasticSearchDevops) MaxCPUUsageHourByMinuteSixteenHosts ¶
func (d *ElasticSearchDevops) MaxCPUUsageHourByMinuteSixteenHosts(q bulkQuerygen.Query)
MaxCPUUsageHourByMinuteSixteenHosts populates a Query for getting the maximum CPU usage for four hosts over the course of an hour.
func (*ElasticSearchDevops) MaxCPUUsageHourByMinuteThirtyTwoHosts ¶
func (d *ElasticSearchDevops) MaxCPUUsageHourByMinuteThirtyTwoHosts(q bulkQuerygen.Query)
func (*ElasticSearchDevops) MaxCPUUsageHourByMinuteTwoHosts ¶
func (d *ElasticSearchDevops) MaxCPUUsageHourByMinuteTwoHosts(q bulkQuerygen.Query)
MaxCPUUsageHourByMinuteTwoHosts populates a Query for getting the maximum CPU usage for two hosts over the course of an hour.
func (*ElasticSearchDevops) MeanCPUUsageDayByHourAllHostsGroupbyHost ¶
func (d *ElasticSearchDevops) MeanCPUUsageDayByHourAllHostsGroupbyHost(qi bulkQuerygen.Query)
type ElasticSearchDevops8Hosts ¶
type ElasticSearchDevops8Hosts struct {
ElasticSearchDevops
}
ElasticSearchDevops8Hosts produces ElasticSearch-specific queries for the devops groupby case.
func (*ElasticSearchDevops8Hosts) Dispatch ¶
func (d *ElasticSearchDevops8Hosts) Dispatch(i int) bulkQuerygen.Query
type ElasticSearchDevopsGroupBy ¶
type ElasticSearchDevopsGroupBy struct {
ElasticSearchDevops
}
ElasticSearchDevopsGroupBy produces ES-specific queries for the devops groupby case.
func (*ElasticSearchDevopsGroupBy) Dispatch ¶
func (d *ElasticSearchDevopsGroupBy) Dispatch(i int) bulkQuerygen.Query
type ElasticSearchDevopsSingleHost ¶
type ElasticSearchDevopsSingleHost struct {
ElasticSearchDevops
}
ElasticSearchDevopsSingleHost produces ES-specific queries for the devops single-host case.
func (*ElasticSearchDevopsSingleHost) Dispatch ¶
func (d *ElasticSearchDevopsSingleHost) Dispatch(i int) bulkQuerygen.Query
type ElasticSearchDevopsSingleHost12hr ¶
type ElasticSearchDevopsSingleHost12hr struct {
ElasticSearchDevops
}
ElasticSearchDevopsSingleHost12hr produces ES-specific queries for the devops single-host case.
func (*ElasticSearchDevopsSingleHost12hr) Dispatch ¶
func (d *ElasticSearchDevopsSingleHost12hr) Dispatch(i int) bulkQuerygen.Query