Documentation ¶
Index ¶
- func MakeCommand(defaultLogFile string) *cobra.Command
- func RunDogstatsd(_ context.Context, cliParams *CLIParams, config config.Component, ...) (err error)
- func RunDogstatsdFct(cliParams *CLIParams, defaultConfPath string, defaultLogFile string, ...) error
- func StopAgent(cancel context.CancelFunc, components *DogstatsdComponents)
- type CLIParams
- type DogstatsdComponents
- type Params
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MakeCommand ¶
MakeCommand returns the start subcommand for the 'dogstatsd' command.
func RunDogstatsd ¶
func RunDogstatsd(_ context.Context, cliParams *CLIParams, config config.Component, log log.Component, params *Params, components *DogstatsdComponents, demultiplexer demultiplexer.Component) (err error)
RunDogstatsd starts the dogstatsd server
func RunDogstatsdFct ¶
func StopAgent ¶
func StopAgent(cancel context.CancelFunc, components *DogstatsdComponents)
Types ¶
type DogstatsdComponents ¶
type DogstatsdComponents struct { DogstatsdServer dogstatsdServer.Component DogstatsdStats *http.Server WorkloadMeta workloadmeta.Component }
Click to show internal directories.
Click to hide internal directories.