Documentation ¶
Overview ¶
Package dogstatsd implements DogStatsD.
Package server implements a component to run the dogstatsd server ¶
Package server implements a component to run the dogstatsd server
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( //nolint:revive // TODO(AML) Fix revive linter CardinalityTagPrefix = constants.CardinalityTagPrefix )
Functions ¶
func MockModule ¶
MockModule defines the fx options for the mock component.
Types ¶
type Component ¶
type Component interface { // IsRunning returns true if the server is running IsRunning() bool // UdsListenerRunning returns true if the uds listener is running UdsListenerRunning() bool // ServerlessFlush flushes all the data to the aggregator to them send it to the Datadog intake. ServerlessFlush(time.Duration) // SetExtraTags sets extra tags. All metrics sent to the DogstatsD will be tagged with them. SetExtraTags(tags []string) // UDPLocalAddr returns the local address of the UDP statsd listener, if enabled. UDPLocalAddr() string }
Component is the component type.
type MockProvides ¶
type MockProvides struct { fx.Out Comp Component Endpoint api.AgentEndpointProvider }
MockProvides is the mock component output
type ServerlessDogstatsd ¶
type ServerlessDogstatsd interface { Component Stop() }
ServerlessDogstatsd is the interface for the serverless dogstatsd server.
func NewServerlessServer ¶
func NewServerlessServer(demux aggregator.Demultiplexer) (ServerlessDogstatsd, error)
Click to show internal directories.
Click to hide internal directories.