opentsdb

package
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 2, 2020 License: MIT Imports: 8 Imported by: 0

Documentation

Index

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

type OpenTSDBDevopsSingleHost12hr

type OpenTSDBDevopsSingleHost12hr struct {
	OpenTSDBDevops
}

OpenTSDBDevopsSingleHost12hr produces OpenTSDB-specific queries for the devops single-host case over a 12hr period.

func (*OpenTSDBDevopsSingleHost12hr) Dispatch

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL