bcetsdb

package
v0.0.0-...-730c616 Latest Latest
Warning

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

Go to latest
Published: Nov 12, 2021 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var KairosDbQueryPool sync.Pool = sync.Pool{
	New: func() interface{} {
		return &KairosDbQuery{
			"",
		}
	},
}

Functions

func NewBceTSDBDevops8Hosts

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

func NewBceTSDBDevopsSingleHost

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

func NewBceTSDBDevopsSingleHost12hr

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

func NewBceTSDBVehicle

func NewBceTSDBVehicle(interval bulkQuerygen.TimeInterval, scaleVar int, duration time.Duration) bulkQuerygen.QueryGenerator

func NewBceTSDBVehicleRealTime

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

Types

type BceTSDBDevops

type BceTSDBDevops struct {
	// FieldVar string
	// AllInterval bulkQuerygen.TimeInterval
	bulkQuerygen.CommonParams
}

func (*BceTSDBDevops) Dispatch

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

Dispatch fulfills the QueryGenerator interface.

func (*BceTSDBDevops) MaxCPUUsage12HoursByMinuteOneHost

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

func (*BceTSDBDevops) MaxCPUUsageHourByMinute1000Hosts

func (d *BceTSDBDevops) MaxCPUUsageHourByMinute1000Hosts(q bulkQuerygen.Query)

func (*BceTSDBDevops) MaxCPUUsageHourByMinuteEightHosts

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

func (*BceTSDBDevops) MaxCPUUsageHourByMinuteFourHosts

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

func (*BceTSDBDevops) MaxCPUUsageHourByMinuteOneHost

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

func (*BceTSDBDevops) MaxCPUUsageHourByMinuteSixteenHosts

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

func (*BceTSDBDevops) MaxCPUUsageHourByMinuteThirtyTwoHosts

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

func (*BceTSDBDevops) MaxCPUUsageHourByMinuteTwoHosts

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

func (*BceTSDBDevops) MeanCPUUsageDayByHourAllHostsGroupbyHost

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

type BceTSDBDevops8Hosts

type BceTSDBDevops8Hosts struct {
	BceTSDBDevops
}

func (*BceTSDBDevops8Hosts) Dispatch

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

type BceTSDBDevopsSingleHost

type BceTSDBDevopsSingleHost struct {
	BceTSDBDevops
}

func (*BceTSDBDevopsSingleHost) Dispatch

type BceTSDBDevopsSingleHost12hr

type BceTSDBDevopsSingleHost12hr struct {
	BceTSDBDevops
}

func (*BceTSDBDevopsSingleHost12hr) Dispatch

type BceTSDBVehicle

type BceTSDBVehicle struct {
	bulkQuerygen.CommonParams
	bulkQuerygen.TimeWindow
}

func (*BceTSDBVehicle) Dispatch

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

Dispatch fulfills the QueryGenerator interface.

func (*BceTSDBVehicle) RealTimeQueries

func (d *BceTSDBVehicle) RealTimeQueries(q bulkQuerygen.Query)

type BceTSDBVehicleRealTime

type BceTSDBVehicleRealTime struct {
	BceTSDBVehicle
}

func (*BceTSDBVehicleRealTime) Dispatch

type KairosDbQuery

type KairosDbQuery struct {
	Body string
}

func NewKairosDbQuery

func NewKairosDbQuery() *KairosDbQuery

func (*KairosDbQuery) HumanDescriptionName

func (q *KairosDbQuery) HumanDescriptionName() []byte

func (*KairosDbQuery) HumanLabelName

func (q *KairosDbQuery) HumanLabelName() []byte

func (*KairosDbQuery) Release

func (q *KairosDbQuery) Release()

func (*KairosDbQuery) String

func (q *KairosDbQuery) String() string

type VehicleRealTimeParams

type VehicleRealTimeParams struct {
	//Vin        string
	Start, End int64
	Size       int
}

Jump to

Keyboard shortcuts

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