monitoring

package
v0.0.0-...-3d28120 Latest Latest
Warning

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

Go to latest
Published: Mar 3, 2022 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	// contains filtered or unexported fields
}

func New

func New(token, org, bucket string) *Client

func (*Client) GetPodMemory

func (c *Client) GetPodMemory(podName, time string) (*api.QueryTableResult, error)

func (*Client) GetPodMemorySlope

func (c *Client) GetPodMemorySlope(podName, time, slopeWindow string) (float64, error)

func (*Client) Query

func (c *Client) Query(query string) (*api.QueryTableResult, error)

Jump to

Keyboard shortcuts

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