Documentation ¶
Index ¶
- Variables
- type Client
- func (c *Client) FetchData(name string, from, until time.Time) (*carbonzipperpb3.FetchResponse, error)
- func (c *Client) FindMetrics(pattern string) (*carbonzipperpb3.GlobResponse, error)
- func (c *Client) FindMetricsRecursive(name string, findMetricFn FindMetricFunc) error
- func (c *Client) GetMetricInfo(name string) (*carbonzipperpb3.InfoResponse, error)
- type FindMetricFunc
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrNotFound = errors.New("not found")
View Source
var SkipDir = errors.New("skip this directory")
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func (*Client) FetchData ¶
func (c *Client) FetchData(name string, from, until time.Time) (*carbonzipperpb3.FetchResponse, error)
func (*Client) FindMetrics ¶
func (c *Client) FindMetrics(pattern string) (*carbonzipperpb3.GlobResponse, error)
func (*Client) FindMetricsRecursive ¶
func (c *Client) FindMetricsRecursive(name string, findMetricFn FindMetricFunc) error
func (*Client) GetMetricInfo ¶
func (c *Client) GetMetricInfo(name string) (*carbonzipperpb3.InfoResponse, error)
Directories ¶
Path | Synopsis |
---|---|
Package carbonpb is a generated protocol buffer package.
|
Package carbonpb is a generated protocol buffer package. |
Package carbonzipperpb3 is a generated protocol buffer package.
|
Package carbonzipperpb3 is a generated protocol buffer package. |
Click to show internal directories.
Click to hide internal directories.