Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Event ¶
type Event interface {
AddContext(key, value string) Event
AddAnnotation(key, value string) Event
SetCorrelationID(id string) Event
WriteToStderr() error
}
TODO export struct instead of interface https://github.com/golang/go/wiki/CodeReviewComments#interfaces
func BeaconSingleInfoCount ¶
Convenience method to beacon a single count-type info event, panics if there is a resulting error
type MetricType ¶
type MetricType int
const ( Count MetricType = iota Timing )
func (MetricType) MarshalJSON ¶
func (m MetricType) MarshalJSON() ([]byte, error)
func (MetricType) String ¶
func (m MetricType) String() string
func (*MetricType) UnmarshalJSON ¶
func (m *MetricType) UnmarshalJSON(b []byte) error
Click to show internal directories.
Click to hide internal directories.