graphite

package
v0.0.0-...-5c0df8b Latest Latest
Warning

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

Go to latest
Published: Apr 1, 2022 License: MIT Imports: 6 Imported by: 0

Documentation

Index

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

type GraphiteDevopsSingleHost

type GraphiteDevopsSingleHost struct {
	GraphiteDevops
}

GraphiteDevopsSingleHost produces Influx-specific queries for the devops single-host case.

func (*GraphiteDevopsSingleHost) Dispatch

type GraphiteDevopsSingleHost12hr

type GraphiteDevopsSingleHost12hr struct {
	GraphiteDevops
}

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

func (*GraphiteDevopsSingleHost12hr) Dispatch

Jump to

Keyboard shortcuts

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