Documentation ¶
Overview ¶
v1 provides a client to connect with the loggregtor v1 API
Loggregator's v1 client library is better known to the Cloud Foundry community as Dropsonde (github.com/cloudfoundry/dropsonde). The code here wraps that library in the interest of consolidating all client code into a single library which includes both v1 and v2 clients.
Index ¶
- type Client
- func (c *Client) IncrementCounter(name string) error
- func (c *Client) Send() error
- func (c *Client) SendAppErrorLog(appID, message, sourceType, sourceInstance string) error
- func (c *Client) SendAppLog(appID, message, sourceType, sourceInstance string) error
- func (c *Client) SendAppMetrics(m *events.ContainerMetric) error
- func (c *Client) SendBytesPerSecond(name string, value float64) error
- func (c *Client) SendDuration(name string, duration time.Duration) error
- func (c *Client) SendMebiBytes(name string, mebibytes int) error
- func (c *Client) SendMetric(name string, value int) error
- func (c *Client) SendRequestsPerSecond(name string, value float64) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct{}
func (*Client) IncrementCounter ¶
func (*Client) SendAppErrorLog ¶
func (*Client) SendAppLog ¶
func (*Client) SendAppMetrics ¶
func (c *Client) SendAppMetrics(m *events.ContainerMetric) error
func (*Client) SendBytesPerSecond ¶
func (*Client) SendDuration ¶
Click to show internal directories.
Click to hide internal directories.