Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Scout ¶
Scout is a Metriton reported
func NewScout ¶
NewScout creates a new initialized Scout instance that can be used to send telepresence reports to Metriton
func (*Scout) Report ¶
Report constructs and sends a report. It includes the fixed (growing) set of metadata in the Scout structure and the pairs passed as arguments to this call. It also includes and increments the index, which can be used to determine the correct order of reported events for this installation attempt (correlated by the trace_id set at the start).
func (*Scout) SetMetadatum ¶
SetMetadatum associates the given key with the given value in the metadata of this instance. It's an error if the key already exists.
type ScoutMeta ¶
type ScoutMeta struct { Key string Value interface{} }
ScoutMeta is a key/value association used when reporting