Documentation ¶
Index ¶
- type API
- func (api *API) CPUCurrent() (float64, error)
- func (api *API) CPUHistory(from, to time.Time, step time.Duration) (dataframe.Dataframe, error)
- func (api *API) CPUNodesHistory(from, to time.Time, step time.Duration) (map[string]dataframe.Dataframe, error)
- func (api *API) MemoryCurrent() (float64, error)
- func (api *API) MemoryHistory(from, to time.Time, step time.Duration) (dataframe.Dataframe, error)
- func (api *API) MemoryNodesHistory(from, to time.Time, step time.Duration) (map[string]dataframe.Dataframe, error)
- func (api *API) Query(query string, args ...interface{}) (model.Value, error)
- func (api *API) QueryRange(r metrics.Range, query string, args ...interface{}) (model.Value, error)
- func (api *API) StorageCurrent() (float64, error)
- type Config
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type API ¶
type API struct { prometheusAPI_v1.API // contains filtered or unexported fields }
func (*API) CPUCurrent ¶
func (*API) CPUHistory ¶
func (*API) CPUNodesHistory ¶
func (*API) MemoryCurrent ¶
func (*API) MemoryHistory ¶
func (*API) MemoryNodesHistory ¶
func (*API) QueryRange ¶
func (*API) StorageCurrent ¶
Click to show internal directories.
Click to hide internal directories.