usage

package
v0.0.0-...-1596b7a Latest Latest
Warning

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

Go to latest
Published: Jun 26, 2022 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Result

type Result struct {
	Count    int
	Interval string
	Host     string
	Min      float64
	Max      float64
}

func QueryMinMaxUsagePerMinuteInRange

func QueryMinMaxUsagePerMinuteInRange(db *sql.DB, host string, startTimestamp string, endTimestamp string) ([]Result, error)

QueryMinMaxUsagePerMinuteInRange returns the max cpu usage and min cpu usage of the given hostname for every minute in the time range specified by the start time and end time.

Jump to

Keyboard shortcuts

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