Documentation ¶
Index ¶
- func NewSplunkDevops8Hosts(dbConfig bulkQuerygen.DatabaseConfig, ...) bulkQuerygen.QueryGenerator
- func NewSplunkDevopsGroupBy(dbConfig bulkQuerygen.DatabaseConfig, interval bulkQuerygen.TimeInterval, ...) bulkQuerygen.QueryGenerator
- func NewSplunkDevopsSingleHost(dbConfig bulkQuerygen.DatabaseConfig, interval bulkQuerygen.TimeInterval, ...) bulkQuerygen.QueryGenerator
- func NewSplunkDevopsSingleHost12hr(dbConfig bulkQuerygen.DatabaseConfig, ...) bulkQuerygen.QueryGenerator
- type SplunkCommon
- type SplunkDevops
- func (d *SplunkDevops) Dispatch(i int) bulkQuerygen.Query
- func (d *SplunkDevops) MaxCPUUsage12HoursByMinuteOneHost(q bulkQuerygen.Query)
- func (d *SplunkDevops) MaxCPUUsageHourByMinuteEightHosts(q bulkQuerygen.Query)
- func (d *SplunkDevops) MaxCPUUsageHourByMinuteFourHosts(q bulkQuerygen.Query)
- func (d *SplunkDevops) MaxCPUUsageHourByMinuteOneHost(q bulkQuerygen.Query)
- func (d *SplunkDevops) MaxCPUUsageHourByMinuteSixteenHosts(q bulkQuerygen.Query)
- func (d *SplunkDevops) MaxCPUUsageHourByMinuteThirtyTwoHosts(q bulkQuerygen.Query)
- func (d *SplunkDevops) MaxCPUUsageHourByMinuteTwoHosts(q bulkQuerygen.Query)
- func (d *SplunkDevops) MeanCPUUsageDayByHourAllHostsGroupbyHost(qi bulkQuerygen.Query)
- type SplunkDevops8Hosts
- type SplunkDevopsGroupby
- type SplunkDevopsSingleHost
- type SplunkDevopsSingleHost12hr
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewSplunkDevops8Hosts ¶
func NewSplunkDevops8Hosts(dbConfig bulkQuerygen.DatabaseConfig, queriesFullRange bulkQuerygen.TimeInterval, queryInterval time.Duration, scaleVar int) bulkQuerygen.QueryGenerator
func NewSplunkDevopsGroupBy ¶
func NewSplunkDevopsGroupBy(dbConfig bulkQuerygen.DatabaseConfig, interval bulkQuerygen.TimeInterval, duration time.Duration, scaleVar int) bulkQuerygen.QueryGenerator
func NewSplunkDevopsSingleHost ¶
func NewSplunkDevopsSingleHost(dbConfig bulkQuerygen.DatabaseConfig, interval bulkQuerygen.TimeInterval, duration time.Duration, scaleVar int) bulkQuerygen.QueryGenerator
func NewSplunkDevopsSingleHost12hr ¶
func NewSplunkDevopsSingleHost12hr(dbConfig bulkQuerygen.DatabaseConfig, queriesFullRange bulkQuerygen.TimeInterval, queryInterval time.Duration, scaleVar int) bulkQuerygen.QueryGenerator
Types ¶
type SplunkCommon ¶
type SplunkCommon struct {
bulkQuerygen.CommonParams
}
type SplunkDevops ¶
type SplunkDevops struct { SplunkCommon DatabaseName string }
SplunkDevops produces Influx-specific queries for all the devops query types.
func (*SplunkDevops) Dispatch ¶
func (d *SplunkDevops) Dispatch(i int) bulkQuerygen.Query
Dispatch fulfills the QueryGenerator interface.
func (*SplunkDevops) MaxCPUUsage12HoursByMinuteOneHost ¶
func (d *SplunkDevops) MaxCPUUsage12HoursByMinuteOneHost(q bulkQuerygen.Query)
func (*SplunkDevops) MaxCPUUsageHourByMinuteEightHosts ¶
func (d *SplunkDevops) MaxCPUUsageHourByMinuteEightHosts(q bulkQuerygen.Query)
func (*SplunkDevops) MaxCPUUsageHourByMinuteFourHosts ¶
func (d *SplunkDevops) MaxCPUUsageHourByMinuteFourHosts(q bulkQuerygen.Query)
func (*SplunkDevops) MaxCPUUsageHourByMinuteOneHost ¶
func (d *SplunkDevops) MaxCPUUsageHourByMinuteOneHost(q bulkQuerygen.Query)
func (*SplunkDevops) MaxCPUUsageHourByMinuteSixteenHosts ¶
func (d *SplunkDevops) MaxCPUUsageHourByMinuteSixteenHosts(q bulkQuerygen.Query)
func (*SplunkDevops) MaxCPUUsageHourByMinuteThirtyTwoHosts ¶
func (d *SplunkDevops) MaxCPUUsageHourByMinuteThirtyTwoHosts(q bulkQuerygen.Query)
func (*SplunkDevops) MaxCPUUsageHourByMinuteTwoHosts ¶
func (d *SplunkDevops) MaxCPUUsageHourByMinuteTwoHosts(q bulkQuerygen.Query)
func (*SplunkDevops) MeanCPUUsageDayByHourAllHostsGroupbyHost ¶
func (d *SplunkDevops) 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 SplunkDevops8Hosts ¶
type SplunkDevops8Hosts struct {
SplunkDevops
}
SplunkDevops8Hosts produces Influx-specific queries for the devops groupby case.
func (*SplunkDevops8Hosts) Dispatch ¶
func (d *SplunkDevops8Hosts) Dispatch(i int) bulkQuerygen.Query
type SplunkDevopsGroupby ¶
type SplunkDevopsGroupby struct {
SplunkDevops
}
SplunkDevopsGroupby produces Influx-specific queries for the devops groupby case.
func (*SplunkDevopsGroupby) Dispatch ¶
func (d *SplunkDevopsGroupby) Dispatch(i int) bulkQuerygen.Query
type SplunkDevopsSingleHost ¶
type SplunkDevopsSingleHost struct {
SplunkDevops
}
SplunkDevopsSingleHost produces Influx-specific queries for the devops single-host case.
func (*SplunkDevopsSingleHost) Dispatch ¶
func (d *SplunkDevopsSingleHost) Dispatch(i int) bulkQuerygen.Query
type SplunkDevopsSingleHost12hr ¶
type SplunkDevopsSingleHost12hr struct {
SplunkDevops
}
SplunkDevopsSingleHost12hr produces Influx-specific queries for the devops single-host case over a 12hr period.
func (*SplunkDevopsSingleHost12hr) Dispatch ¶
func (d *SplunkDevopsSingleHost12hr) Dispatch(i int) bulkQuerygen.Query