elasticsearch

package
v0.0.0-...-1fcce7f Latest Latest
Warning

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

Go to latest
Published: Apr 12, 2021 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewElasticSearchDevops

func NewElasticSearchDevops(interval bulkQuerygen.TimeInterval, scaleVar int) bulkQuerygen.QueryGenerator

NewElasticSearchDevops makes an ElasticSearchDevops object ready to generate Queries.

func NewElasticSearchDevops8Hosts

func NewElasticSearchDevops8Hosts(_ bulkQuerygen.DatabaseConfig, queriesFullRange bulkQuerygen.TimeInterval, queryInterval time.Duration, scaleVar int) bulkQuerygen.QueryGenerator

func NewElasticSearchDevopsGroupBy

func NewElasticSearchDevopsGroupBy(_ bulkQuerygen.DatabaseConfig, queriesFullRange bulkQuerygen.TimeInterval, queryInterval time.Duration, scaleVar int) bulkQuerygen.QueryGenerator

func NewElasticSearchDevopsSingleHost

func NewElasticSearchDevopsSingleHost(_ bulkQuerygen.DatabaseConfig, queriesFullRange bulkQuerygen.TimeInterval, queryInterval time.Duration, scaleVar int) bulkQuerygen.QueryGenerator

func NewElasticSearchDevopsSingleHost12hr

func NewElasticSearchDevopsSingleHost12hr(_ bulkQuerygen.DatabaseConfig, queriesFullRange bulkQuerygen.TimeInterval, queryInterval time.Duration, scaleVar int) bulkQuerygen.QueryGenerator

Types

type ElasticSearchDevops

type ElasticSearchDevops struct {
	bulkQuerygen.CommonParams
}

ElasticSearchDevops produces ES-specific queries for the devops use case.

func (*ElasticSearchDevops) Dispatch

func (d *ElasticSearchDevops) Dispatch(i int) bulkQuerygen.Query

Dispatch fulfills the QueryGenerator interface.

func (*ElasticSearchDevops) MaxCPUUsage12HoursByMinuteOneHost

func (d *ElasticSearchDevops) MaxCPUUsage12HoursByMinuteOneHost(q bulkQuerygen.Query)

func (*ElasticSearchDevops) MaxCPUUsageHourByMinuteEightHosts

func (d *ElasticSearchDevops) MaxCPUUsageHourByMinuteEightHosts(q bulkQuerygen.Query)

MaxCPUUsageHourByMinuteEightHosts populates a Query for getting the maximum CPU usage for four hosts over the course of an hour.

func (*ElasticSearchDevops) MaxCPUUsageHourByMinuteFourHosts

func (d *ElasticSearchDevops) MaxCPUUsageHourByMinuteFourHosts(q bulkQuerygen.Query)

MaxCPUUsageHourByMinuteFourHosts populates a Query for getting the maximum CPU usage for four hosts over the course of an hour.

func (*ElasticSearchDevops) MaxCPUUsageHourByMinuteOneHost

func (d *ElasticSearchDevops) MaxCPUUsageHourByMinuteOneHost(q bulkQuerygen.Query)

MaxCPUUsageHourByMinuteOneHost populates a Query for getting the maximum CPU usage for one host over the course of an hour.

func (*ElasticSearchDevops) MaxCPUUsageHourByMinuteSixteenHosts

func (d *ElasticSearchDevops) MaxCPUUsageHourByMinuteSixteenHosts(q bulkQuerygen.Query)

MaxCPUUsageHourByMinuteSixteenHosts populates a Query for getting the maximum CPU usage for four hosts over the course of an hour.

func (*ElasticSearchDevops) MaxCPUUsageHourByMinuteThirtyTwoHosts

func (d *ElasticSearchDevops) MaxCPUUsageHourByMinuteThirtyTwoHosts(q bulkQuerygen.Query)

func (*ElasticSearchDevops) MaxCPUUsageHourByMinuteTwoHosts

func (d *ElasticSearchDevops) MaxCPUUsageHourByMinuteTwoHosts(q bulkQuerygen.Query)

MaxCPUUsageHourByMinuteTwoHosts populates a Query for getting the maximum CPU usage for two hosts over the course of an hour.

func (*ElasticSearchDevops) MeanCPUUsageDayByHourAllHostsGroupbyHost

func (d *ElasticSearchDevops) MeanCPUUsageDayByHourAllHostsGroupbyHost(qi bulkQuerygen.Query)

type ElasticSearchDevops8Hosts

type ElasticSearchDevops8Hosts struct {
	ElasticSearchDevops
}

ElasticSearchDevops8Hosts produces ElasticSearch-specific queries for the devops groupby case.

func (*ElasticSearchDevops8Hosts) Dispatch

type ElasticSearchDevopsGroupBy

type ElasticSearchDevopsGroupBy struct {
	ElasticSearchDevops
}

ElasticSearchDevopsGroupBy produces ES-specific queries for the devops groupby case.

func (*ElasticSearchDevopsGroupBy) Dispatch

type ElasticSearchDevopsSingleHost

type ElasticSearchDevopsSingleHost struct {
	ElasticSearchDevops
}

ElasticSearchDevopsSingleHost produces ES-specific queries for the devops single-host case.

func (*ElasticSearchDevopsSingleHost) Dispatch

type ElasticSearchDevopsSingleHost12hr

type ElasticSearchDevopsSingleHost12hr struct {
	ElasticSearchDevops
}

ElasticSearchDevopsSingleHost12hr produces ES-specific queries for the devops single-host case.

func (*ElasticSearchDevopsSingleHost12hr) Dispatch

type FleetQueryParams

type FleetQueryParams struct {
	Bucket, Start, End, Field string
	HostnameCount             int
}

type HostsQueryParams

type HostsQueryParams struct {
	JSONEncodedHostnames      string
	Bucket, Start, End, Field string
}

Jump to

Keyboard shortcuts

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