Documentation ¶
Index ¶
- type Client
- func (c *Client) AddCounter(name string, value float64, labels ...string)
- func (c *Client) AddHandler(path string, handler http.HandlerFunc)
- func (c *Client) DecrementGauge(name string, labels ...string)
- func (c *Client) IncrementCounter(name string, labels ...string)
- func (c *Client) IncrementGauge(name string, labels ...string)
- func (c *Client) NewCounter(namespace, name, env, help string, labels ...string) error
- func (c *Client) NewGauge(namespace, name, env, help string, labels ...string) error
- func (c *Client) NewHistogram(namespace, name, env, help string, labels ...string) error
- func (c *Client) NewSummary(namespace, name, env, help string, labels ...string) error
- func (c *Client) ObserveHistogram(name string, value float64, labels ...string)
- func (c *Client) ObserveSummary(name string, value float64, labels ...string)
- func (c *Client) Server() *http.Server
- func (c *Client) SetGauge(name string, value float64, labels ...string)
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 InitClient ¶
func (*Client) AddCounter ¶
func (*Client) AddHandler ¶
func (c *Client) AddHandler(path string, handler http.HandlerFunc)
func (*Client) DecrementGauge ¶
func (*Client) IncrementCounter ¶
func (*Client) IncrementGauge ¶
func (*Client) NewCounter ¶
func (*Client) NewHistogram ¶
func (*Client) NewSummary ¶
func (*Client) ObserveHistogram ¶
func (*Client) ObserveSummary ¶
Click to show internal directories.
Click to hide internal directories.