Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Entry ¶ added in v2.4.10
type Entry struct { Key string Value interface{} }
Entry is a key/value association used when reporting
type Reporter ¶ added in v2.4.10
type Reporter struct {
// contains filtered or unexported fields
}
Reporter is a Metriton reported
func NewReporter ¶ added in v2.4.10
NewReporter creates a new initialized Reporter instance that can be used to send telepresence reports to Metriton
func (*Reporter) Report ¶ added in v2.4.10
Report constructs and buffers a report on the send queue. It includes the fixed (growing) set of metadata in the Reporter structure and the entries 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 (*Reporter) Run ¶ added in v2.4.10
Run ensures that all reports on the send queue are sent to the endpoint
func (*Reporter) SetMetadatum ¶ added in v2.4.10
SetMetadatum associates the given key with the given value in the metadata of this instance.