Documentation ¶
Index ¶
- Constants
- Variables
- type Config
- type Influx
- func (flux *Influx) CPUCurrent() (float64, error)
- func (flux *Influx) CPUFactor() float64
- func (flux *Influx) CPUHistory(from, to time.Time, step time.Duration) (vector.Vec, error)
- func (flux *Influx) MemoryCurrent() (float64, error)
- func (flux *Influx) MemoryFactor() float64
- func (flux *Influx) MemoryHistory(from, to time.Time, step time.Duration) (vector.Vec, error)
- func (flux *Influx) Query(cmd string, args ...interface{}) ([]influx.Result, error)
- func (flux *Influx) SelectFrom(from string, columns ...string) influx.Query
- func (flux *Influx) SelectFromWithLimit(from string, limit uint, columns ...string) influx.Query
- type Precision
- type SeriesConfig
Constants ¶
View Source
const (
CPU_COEFF = 1e12
)
View Source
const (
MEM_COEFF = 1e12
)
Variables ¶
Functions ¶
This section is empty.
Types ¶
type Influx ¶
func (*Influx) CPUCurrent ¶
func (*Influx) CPUHistory ¶
func (*Influx) MemoryCurrent ¶
func (*Influx) MemoryFactor ¶
func (*Influx) MemoryHistory ¶
func (*Influx) SelectFrom ¶
type SeriesConfig ¶
func DefaultSeries ¶
func DefaultSeries() SeriesConfig
func MergeSeriesConfigs ¶
func MergeSeriesConfigs(configs []SeriesConfig) SeriesConfig
func (SeriesConfig) Merge ¶
func (config SeriesConfig) Merge(another SeriesConfig) SeriesConfig
Click to show internal directories.
Click to hide internal directories.