Documentation ¶
Index ¶
- func NewGraphiteDevops8Hosts(dbConfig bulkQuerygen.DatabaseConfig, ...) bulkQuerygen.QueryGenerator
- func NewGraphiteDevopsGroupBy(dbConfig bulkQuerygen.DatabaseConfig, interval bulkQuerygen.TimeInterval, ...) bulkQuerygen.QueryGenerator
- func NewGraphiteDevopsSingleHost(dbConfig bulkQuerygen.DatabaseConfig, interval bulkQuerygen.TimeInterval, ...) bulkQuerygen.QueryGenerator
- func NewGraphiteDevopsSingleHost12hr(dbConfig bulkQuerygen.DatabaseConfig, ...) bulkQuerygen.QueryGenerator
- type GraphiteCommon
- type GraphiteDevops
- func (d *GraphiteDevops) Dispatch(i int) bulkQuerygen.Query
- func (d *GraphiteDevops) MaxCPUUsage12HoursByMinuteOneHost(q bulkQuerygen.Query)
- func (d *GraphiteDevops) MaxCPUUsageHourByMinuteEightHosts(q bulkQuerygen.Query)
- func (d *GraphiteDevops) MaxCPUUsageHourByMinuteFourHosts(q bulkQuerygen.Query)
- func (d *GraphiteDevops) MaxCPUUsageHourByMinuteOneHost(q bulkQuerygen.Query)
- func (d *GraphiteDevops) MaxCPUUsageHourByMinuteSixteenHosts(q bulkQuerygen.Query)
- func (d *GraphiteDevops) MaxCPUUsageHourByMinuteThirtyTwoHosts(q bulkQuerygen.Query)
- func (d *GraphiteDevops) MaxCPUUsageHourByMinuteTwoHosts(q bulkQuerygen.Query)
- func (d *GraphiteDevops) MeanCPUUsageDayByHourAllHostsGroupbyHost(qi bulkQuerygen.Query)
- type GraphiteDevops8Hosts
- type GraphiteDevopsGroupby
- type GraphiteDevopsSingleHost
- type GraphiteDevopsSingleHost12hr
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewGraphiteDevops8Hosts ¶
func NewGraphiteDevops8Hosts(dbConfig bulkQuerygen.DatabaseConfig, queriesFullRange bulkQuerygen.TimeInterval, queryInterval time.Duration, scaleVar int) bulkQuerygen.QueryGenerator
func NewGraphiteDevopsGroupBy ¶
func NewGraphiteDevopsGroupBy(dbConfig bulkQuerygen.DatabaseConfig, interval bulkQuerygen.TimeInterval, duration time.Duration, scaleVar int) bulkQuerygen.QueryGenerator
func NewGraphiteDevopsSingleHost ¶
func NewGraphiteDevopsSingleHost(dbConfig bulkQuerygen.DatabaseConfig, interval bulkQuerygen.TimeInterval, duration time.Duration, scaleVar int) bulkQuerygen.QueryGenerator
func NewGraphiteDevopsSingleHost12hr ¶
func NewGraphiteDevopsSingleHost12hr(dbConfig bulkQuerygen.DatabaseConfig, queriesFullRange bulkQuerygen.TimeInterval, queryInterval time.Duration, scaleVar int) bulkQuerygen.QueryGenerator
Types ¶
type GraphiteCommon ¶
type GraphiteCommon struct {
bulkQuerygen.CommonParams
}
type GraphiteDevops ¶
type GraphiteDevops struct {
GraphiteCommon
}
GraphiteDevops produces Influx-specific queries for all the devops query types.
func (*GraphiteDevops) Dispatch ¶
func (d *GraphiteDevops) Dispatch(i int) bulkQuerygen.Query
Dispatch fulfills the QueryGenerator interface.
func (*GraphiteDevops) MaxCPUUsage12HoursByMinuteOneHost ¶
func (d *GraphiteDevops) MaxCPUUsage12HoursByMinuteOneHost(q bulkQuerygen.Query)
func (*GraphiteDevops) MaxCPUUsageHourByMinuteEightHosts ¶
func (d *GraphiteDevops) MaxCPUUsageHourByMinuteEightHosts(q bulkQuerygen.Query)
func (*GraphiteDevops) MaxCPUUsageHourByMinuteFourHosts ¶
func (d *GraphiteDevops) MaxCPUUsageHourByMinuteFourHosts(q bulkQuerygen.Query)
func (*GraphiteDevops) MaxCPUUsageHourByMinuteOneHost ¶
func (d *GraphiteDevops) MaxCPUUsageHourByMinuteOneHost(q bulkQuerygen.Query)
func (*GraphiteDevops) MaxCPUUsageHourByMinuteSixteenHosts ¶
func (d *GraphiteDevops) MaxCPUUsageHourByMinuteSixteenHosts(q bulkQuerygen.Query)
func (*GraphiteDevops) MaxCPUUsageHourByMinuteThirtyTwoHosts ¶
func (d *GraphiteDevops) MaxCPUUsageHourByMinuteThirtyTwoHosts(q bulkQuerygen.Query)
func (*GraphiteDevops) MaxCPUUsageHourByMinuteTwoHosts ¶
func (d *GraphiteDevops) MaxCPUUsageHourByMinuteTwoHosts(q bulkQuerygen.Query)
func (*GraphiteDevops) MeanCPUUsageDayByHourAllHostsGroupbyHost ¶
func (d *GraphiteDevops) 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 GraphiteDevops8Hosts ¶
type GraphiteDevops8Hosts struct {
GraphiteDevops
}
GraphiteDevops8Hosts produces Influx-specific queries for the devops groupby case.
func (*GraphiteDevops8Hosts) Dispatch ¶
func (d *GraphiteDevops8Hosts) Dispatch(i int) bulkQuerygen.Query
type GraphiteDevopsGroupby ¶
type GraphiteDevopsGroupby struct {
GraphiteDevops
}
GraphiteDevopsGroupby produces Influx-specific queries for the devops groupby case.
func (*GraphiteDevopsGroupby) Dispatch ¶
func (d *GraphiteDevopsGroupby) Dispatch(i int) bulkQuerygen.Query
type GraphiteDevopsSingleHost ¶
type GraphiteDevopsSingleHost struct {
GraphiteDevops
}
GraphiteDevopsSingleHost produces Influx-specific queries for the devops single-host case.
func (*GraphiteDevopsSingleHost) Dispatch ¶
func (d *GraphiteDevopsSingleHost) Dispatch(i int) bulkQuerygen.Query
type GraphiteDevopsSingleHost12hr ¶
type GraphiteDevopsSingleHost12hr struct {
GraphiteDevops
}
GraphiteDevopsSingleHost12hr produces Influx-specific queries for the devops single-host case over a 12hr period.
func (*GraphiteDevopsSingleHost12hr) Dispatch ¶
func (d *GraphiteDevopsSingleHost12hr) Dispatch(i int) bulkQuerygen.Query