Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type DatadogStatsClient ¶
type DatadogStatsClient struct {
// contains filtered or unexported fields
}
DatadogStatsClient is an implementation of StatsClient that sends stats to the Datadog API directly.
func NewDatadogStatsClient ¶
func NewDatadogStatsClient( prefix string, baseTags []string, datadogHost string, apiKey string, ) *DatadogStatsClient
NewDatadogStatsClient creates a new DatadogStatsClient instance.
type FakeStatsClient ¶
FakeStatsClient is a fake implementation of StatsClient for testing purposes.
func NewFakeStatsClient ¶
func NewFakeStatsClient() *FakeStatsClient
NewFakeStatsClient returns a new FakeStatsClient instance.
type NullStatsClient ¶
type NullStatsClient struct { }
NullStatsClient is a StatsClient implementation that does not export stats.
type SegmentStatsClient ¶
type SegmentStatsClient struct {
// contains filtered or unexported fields
}
SegmentStatsClient is an implementation of StatsClient that wraps a Segment stats.Engine.
func NewSegmentStatsClient ¶
func NewSegmentStatsClient(engine *stats.Engine) *SegmentStatsClient
NewSegmentStatsClient returns a new SegmentStatsClient instance.
Click to show internal directories.
Click to hide internal directories.