Documentation ¶
Index ¶
- Variables
- func NewTimescaleDevops8Hosts1Hr(dbConfig bulkQuerygen.DatabaseConfig, ...) bulkQuerygen.QueryGenerator
- func NewTimescaleDevopsGroupby(dbConfig bulkQuerygen.DatabaseConfig, ...) bulkQuerygen.QueryGenerator
- func NewTimescaleDevopsSingleHost(dbConfig bulkQuerygen.DatabaseConfig, ...) bulkQuerygen.QueryGenerator
- func NewTimescaleDevopsSingleHost12hr(dbConfig bulkQuerygen.DatabaseConfig, ...) bulkQuerygen.QueryGenerator
- func NewTimescaleIotCommon(dbConfig bulkQuerygen.DatabaseConfig, interval bulkQuerygen.TimeInterval, ...) bulkQuerygen.QueryGenerator
- func NewTimescaleIotSingleHost(dbConfig bulkQuerygen.DatabaseConfig, ...) bulkQuerygen.QueryGenerator
- type SQLQuery
- type TimescaleDevops
- func (d *TimescaleDevops) Dispatch(i int) bulkQuerygen.Query
- func (d *TimescaleDevops) MaxCPUUsage12HoursByMinuteOneHost(q bulkQuerygen.Query)
- func (d *TimescaleDevops) MaxCPUUsageHourByMinuteEightHosts(q bulkQuerygen.Query)
- func (d *TimescaleDevops) MaxCPUUsageHourByMinuteFourHosts(q bulkQuerygen.Query)
- func (d *TimescaleDevops) MaxCPUUsageHourByMinuteOneHost(q bulkQuerygen.Query)
- func (d *TimescaleDevops) MaxCPUUsageHourByMinuteSixteenHosts(q bulkQuerygen.Query)
- func (d *TimescaleDevops) MaxCPUUsageHourByMinuteThirtyTwoHosts(q bulkQuerygen.Query)
- func (d *TimescaleDevops) MaxCPUUsageHourByMinuteTwoHosts(q bulkQuerygen.Query)
- func (d *TimescaleDevops) MeanCPUUsageDayByHourAllHostsGroupbyHost(qi bulkQuerygen.Query)
- type TimescaleDevops8Hosts1Hr
- type TimescaleDevopsGroupby
- type TimescaleDevopsSingleHost
- type TimescaleDevopsSingleHost12hr
- type TimescaleIot
- type TimescaleIotSingleHost
Constants ¶
This section is empty.
Variables ¶
Functions ¶
func NewTimescaleDevops8Hosts1Hr ¶
func NewTimescaleDevops8Hosts1Hr(dbConfig bulkQuerygen.DatabaseConfig, queriesFullRange bulkQuerygen.TimeInterval, queryInterval time.Duration, scaleVar int) bulkQuerygen.QueryGenerator
func NewTimescaleDevopsGroupby ¶
func NewTimescaleDevopsGroupby(dbConfig bulkQuerygen.DatabaseConfig, queriesFullRange bulkQuerygen.TimeInterval, queryInterval time.Duration, scaleVar int) bulkQuerygen.QueryGenerator
func NewTimescaleDevopsSingleHost ¶
func NewTimescaleDevopsSingleHost(dbConfig bulkQuerygen.DatabaseConfig, queriesFullRange bulkQuerygen.TimeInterval, queryInterval time.Duration, scaleVar int) bulkQuerygen.QueryGenerator
func NewTimescaleDevopsSingleHost12hr ¶
func NewTimescaleDevopsSingleHost12hr(dbConfig bulkQuerygen.DatabaseConfig, queriesFullRange bulkQuerygen.TimeInterval, queryInterval time.Duration, scaleVar int) bulkQuerygen.QueryGenerator
func NewTimescaleIotCommon ¶
func NewTimescaleIotCommon(dbConfig bulkQuerygen.DatabaseConfig, interval bulkQuerygen.TimeInterval, duration time.Duration, scaleVar int) bulkQuerygen.QueryGenerator
NewTimescaleDevops makes an TimescaleDevops object ready to generate Queries.
func NewTimescaleIotSingleHost ¶
func NewTimescaleIotSingleHost(dbConfig bulkQuerygen.DatabaseConfig, queriesFullRange bulkQuerygen.TimeInterval, queryInterval time.Duration, scaleVar int) bulkQuerygen.QueryGenerator
Types ¶
type SQLQuery ¶
SQLQuery encodes an full constructed SQL query. This will typically by serialized for use by the query_benchmarker program.
func NewSQLQuery ¶
func NewSQLQuery() *SQLQuery
func (*SQLQuery) HumanDescriptionName ¶
func (*SQLQuery) HumanLabelName ¶
type TimescaleDevops ¶
type TimescaleDevops struct { bulkQuerygen.CommonParams DatabaseName string }
TimescaleDevops produces Timescale-specific queries for all the devops query types.
func (*TimescaleDevops) Dispatch ¶
func (d *TimescaleDevops) Dispatch(i int) bulkQuerygen.Query
Dispatch fulfills the QueryGenerator interface.
func (*TimescaleDevops) MaxCPUUsage12HoursByMinuteOneHost ¶
func (d *TimescaleDevops) MaxCPUUsage12HoursByMinuteOneHost(q bulkQuerygen.Query)
func (*TimescaleDevops) MaxCPUUsageHourByMinuteEightHosts ¶
func (d *TimescaleDevops) MaxCPUUsageHourByMinuteEightHosts(q bulkQuerygen.Query)
func (*TimescaleDevops) MaxCPUUsageHourByMinuteFourHosts ¶
func (d *TimescaleDevops) MaxCPUUsageHourByMinuteFourHosts(q bulkQuerygen.Query)
func (*TimescaleDevops) MaxCPUUsageHourByMinuteOneHost ¶
func (d *TimescaleDevops) MaxCPUUsageHourByMinuteOneHost(q bulkQuerygen.Query)
func (*TimescaleDevops) MaxCPUUsageHourByMinuteSixteenHosts ¶
func (d *TimescaleDevops) MaxCPUUsageHourByMinuteSixteenHosts(q bulkQuerygen.Query)
func (*TimescaleDevops) MaxCPUUsageHourByMinuteThirtyTwoHosts ¶
func (d *TimescaleDevops) MaxCPUUsageHourByMinuteThirtyTwoHosts(q bulkQuerygen.Query)
func (*TimescaleDevops) MaxCPUUsageHourByMinuteTwoHosts ¶
func (d *TimescaleDevops) MaxCPUUsageHourByMinuteTwoHosts(q bulkQuerygen.Query)
func (*TimescaleDevops) MeanCPUUsageDayByHourAllHostsGroupbyHost ¶
func (d *TimescaleDevops) 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 TimescaleDevops8Hosts1Hr ¶
type TimescaleDevops8Hosts1Hr struct {
TimescaleDevops
}
TimescaleDevops8Hosts1Hr produces Timescale-specific queries for the devops single-host case.
func (*TimescaleDevops8Hosts1Hr) Dispatch ¶
func (d *TimescaleDevops8Hosts1Hr) Dispatch(i int) bulkQuerygen.Query
type TimescaleDevopsGroupby ¶
type TimescaleDevopsGroupby struct {
TimescaleDevops
}
TimescaleDevopsGroupby produces Timescale-specific queries for the devops groupby case.
func (*TimescaleDevopsGroupby) Dispatch ¶
func (d *TimescaleDevopsGroupby) Dispatch(i int) bulkQuerygen.Query
type TimescaleDevopsSingleHost ¶
type TimescaleDevopsSingleHost struct {
TimescaleDevops
}
TimescaleDevopsSingleHost produces Timescale-specific queries for the devops single-host case.
func (*TimescaleDevopsSingleHost) Dispatch ¶
func (d *TimescaleDevopsSingleHost) Dispatch(i int) bulkQuerygen.Query
type TimescaleDevopsSingleHost12hr ¶
type TimescaleDevopsSingleHost12hr struct {
TimescaleDevops
}
TimescaleDevopsSingleHost12hr produces Timescale-specific queries for the devops single-host case.
func (*TimescaleDevopsSingleHost12hr) Dispatch ¶
func (d *TimescaleDevopsSingleHost12hr) Dispatch(i int) bulkQuerygen.Query
type TimescaleIot ¶
type TimescaleIot struct { bulkQuerygen.CommonParams DatabaseName string }
TimescaleDevops produces Timescale-specific queries for all the devops query types.
func (*TimescaleIot) AverageTemperatureDayByHourOneHome ¶
func (d *TimescaleIot) AverageTemperatureDayByHourOneHome(q bulkQuerygen.Query)
func (*TimescaleIot) Dispatch ¶
func (d *TimescaleIot) Dispatch(i int) bulkQuerygen.Query
Dispatch fulfills the QueryGenerator interface.
type TimescaleIotSingleHost ¶
type TimescaleIotSingleHost struct {
TimescaleIot
}
TimescaleIotSingleHost produces Timescale-specific queries for the devops single-host case.
func (*TimescaleIotSingleHost) Dispatch ¶
func (d *TimescaleIotSingleHost) Dispatch(i int) bulkQuerygen.Query