Documentation ¶
Index ¶
- func NewOpenTSDBDevops8Hosts(_ bulkQuerygen.DatabaseConfig, queriesFullRange bulkQuerygen.TimeInterval, ...) bulkQuerygen.QueryGenerator
- func NewOpenTSDBDevopsSingleHost(_ bulkQuerygen.DatabaseConfig, queriesFullRange bulkQuerygen.TimeInterval, ...) bulkQuerygen.QueryGenerator
- func NewOpenTSDBDevopsSingleHost12hr(_ bulkQuerygen.DatabaseConfig, queriesFullRange bulkQuerygen.TimeInterval, ...) bulkQuerygen.QueryGenerator
- type OpenTSDBDevops
- func (d *OpenTSDBDevops) Dispatch(i int) bulkQuerygen.Query
- func (d *OpenTSDBDevops) MaxCPUUsage12HoursByMinuteOneHost(q bulkQuerygen.Query)
- func (d *OpenTSDBDevops) MaxCPUUsageHourByMinuteEightHosts(q bulkQuerygen.Query)
- func (d *OpenTSDBDevops) MaxCPUUsageHourByMinuteFourHosts(q bulkQuerygen.Query)
- func (d *OpenTSDBDevops) MaxCPUUsageHourByMinuteOneHost(q bulkQuerygen.Query)
- func (d *OpenTSDBDevops) MaxCPUUsageHourByMinuteSixteenHosts(q bulkQuerygen.Query)
- func (d *OpenTSDBDevops) MaxCPUUsageHourByMinuteThirtyTwoHosts(q bulkQuerygen.Query)
- func (d *OpenTSDBDevops) MaxCPUUsageHourByMinuteTwoHosts(q bulkQuerygen.Query)
- func (d *OpenTSDBDevops) MeanCPUUsageDayByHourAllHostsGroupbyHost(qi bulkQuerygen.Query)
- type OpenTSDBDevops8Hosts
- type OpenTSDBDevopsSingleHost
- type OpenTSDBDevopsSingleHost12hr
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewOpenTSDBDevops8Hosts ¶
func NewOpenTSDBDevops8Hosts(_ bulkQuerygen.DatabaseConfig, queriesFullRange bulkQuerygen.TimeInterval, queryInterval time.Duration, scaleVar int) bulkQuerygen.QueryGenerator
func NewOpenTSDBDevopsSingleHost ¶
func NewOpenTSDBDevopsSingleHost(_ bulkQuerygen.DatabaseConfig, queriesFullRange bulkQuerygen.TimeInterval, queryInterval time.Duration, scaleVar int) bulkQuerygen.QueryGenerator
func NewOpenTSDBDevopsSingleHost12hr ¶
func NewOpenTSDBDevopsSingleHost12hr(_ bulkQuerygen.DatabaseConfig, queriesFullRange bulkQuerygen.TimeInterval, queryInterval time.Duration, scaleVar int) bulkQuerygen.QueryGenerator
Types ¶
type OpenTSDBDevops ¶
type OpenTSDBDevops struct {
bulkQuerygen.CommonParams
}
OpenTSDBDevops produces OpenTSDB-specific queries for all the devops query types.
func (*OpenTSDBDevops) Dispatch ¶
func (d *OpenTSDBDevops) Dispatch(i int) bulkQuerygen.Query
Dispatch fulfills the QueryGenerator interface.
func (*OpenTSDBDevops) MaxCPUUsage12HoursByMinuteOneHost ¶
func (d *OpenTSDBDevops) MaxCPUUsage12HoursByMinuteOneHost(q bulkQuerygen.Query)
func (*OpenTSDBDevops) MaxCPUUsageHourByMinuteEightHosts ¶
func (d *OpenTSDBDevops) MaxCPUUsageHourByMinuteEightHosts(q bulkQuerygen.Query)
func (*OpenTSDBDevops) MaxCPUUsageHourByMinuteFourHosts ¶
func (d *OpenTSDBDevops) MaxCPUUsageHourByMinuteFourHosts(q bulkQuerygen.Query)
func (*OpenTSDBDevops) MaxCPUUsageHourByMinuteOneHost ¶
func (d *OpenTSDBDevops) MaxCPUUsageHourByMinuteOneHost(q bulkQuerygen.Query)
func (*OpenTSDBDevops) MaxCPUUsageHourByMinuteSixteenHosts ¶
func (d *OpenTSDBDevops) MaxCPUUsageHourByMinuteSixteenHosts(q bulkQuerygen.Query)
func (*OpenTSDBDevops) MaxCPUUsageHourByMinuteThirtyTwoHosts ¶
func (d *OpenTSDBDevops) MaxCPUUsageHourByMinuteThirtyTwoHosts(q bulkQuerygen.Query)
func (*OpenTSDBDevops) MaxCPUUsageHourByMinuteTwoHosts ¶
func (d *OpenTSDBDevops) MaxCPUUsageHourByMinuteTwoHosts(q bulkQuerygen.Query)
func (*OpenTSDBDevops) MeanCPUUsageDayByHourAllHostsGroupbyHost ¶
func (d *OpenTSDBDevops) MeanCPUUsageDayByHourAllHostsGroupbyHost(qi bulkQuerygen.Query)
MeanCPUUsageDayByHourAllHosts populates a Query with a query that looks like: SELECT mean(usage_user) from cpu where time >= '$DAY_START' and time < '$DAY_END' group by time(1h),hostname
type OpenTSDBDevops8Hosts ¶
type OpenTSDBDevops8Hosts struct {
OpenTSDBDevops
}
OpenTSDBDevops8Hosts produces OpenTSDB-specific queries for the devops groupby case.
func (*OpenTSDBDevops8Hosts) Dispatch ¶
func (d *OpenTSDBDevops8Hosts) Dispatch(i int) bulkQuerygen.Query
type OpenTSDBDevopsSingleHost ¶
type OpenTSDBDevopsSingleHost struct {
OpenTSDBDevops
}
OpenTSDBDevopsSingleHost produces OpenTSDB-specific queries for the devops single-host case.
func (*OpenTSDBDevopsSingleHost) Dispatch ¶
func (d *OpenTSDBDevopsSingleHost) Dispatch(i int) bulkQuerygen.Query
type OpenTSDBDevopsSingleHost12hr ¶
type OpenTSDBDevopsSingleHost12hr struct {
OpenTSDBDevops
}
OpenTSDBDevopsSingleHost12hr produces OpenTSDB-specific queries for the devops single-host case over a 12hr period.
func (*OpenTSDBDevopsSingleHost12hr) Dispatch ¶
func (d *OpenTSDBDevopsSingleHost12hr) Dispatch(i int) bulkQuerygen.Query
Click to show internal directories.
Click to hide internal directories.