start

package
v0.0.0-...-463c776 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 19, 2024 License: Apache-2.0 Imports: 54 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MakeCommand

func MakeCommand(defaultLogFile string) *cobra.Command

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 RunDogstatsdFct(cliParams *CLIParams, defaultConfPath string, defaultLogFile string, fct interface{}) error

func StopAgent

func StopAgent(cancel context.CancelFunc, components *DogstatsdComponents)

Types

type CLIParams

type CLIParams struct {
	// contains filtered or unexported fields
}

type DogstatsdComponents

type DogstatsdComponents struct {
	DogstatsdServer dogstatsdServer.Component
	DogstatsdStats  *http.Server
	WorkloadMeta    workloadmeta.Component
}

type Params

type Params struct {
	DefaultLogFile string
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL