Documentation ¶
Index ¶
- type Client
- func (a *Client) Close()
- func (a *Client) Event(category, action string, dims ...*dimensions.Values)
- func (a *Client) EventWithLabel(category, action, label string, dims ...*dimensions.Values)
- func (a *Client) EventWithSource(category, action, source string, dims ...*dimensions.Values)
- func (a *Client) Wait()
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
}
Client is the default analytics dispatcher, forwarding analytics events to the state-svc service
func (*Client) Event ¶
func (a *Client) Event(category, action string, dims ...*dimensions.Values)
Event logs an event to google analytics
func (*Client) EventWithLabel ¶
func (a *Client) EventWithLabel(category, action, label string, dims ...*dimensions.Values)
EventWithLabel logs an event with a label to google analytics
func (*Client) EventWithSource ¶
func (a *Client) EventWithSource(category, action, source string, dims ...*dimensions.Values)
EventWithSource logs an event with another source to google analytics. For example, log runtime events triggered by executors as coming from an executor instead of from State Tool.
Click to show internal directories.
Click to hide internal directories.