Documentation ¶
Overview ¶
Package service provides a way to interact with os services
Package service provides a way to interact with os services ¶
Package service provides a way to interact with os services ¶
Package service provides a way to interact with os services ¶
Package service provides a way to interact with os services ¶
Package service provides a way to interact with os services ¶
Package service provides a way to interact with os services
Index ¶
- func InstrumentAPMInjector(ctx context.Context, method string) (err error)
- func PromoteAgentExperiment(ctx context.Context) error
- func PromoteInstallerExperiment(ctx context.Context) error
- func RemoveAPMInjector(ctx context.Context) (err error)
- func RemoveAgent(ctx context.Context) error
- func RemoveInstaller(ctx context.Context) error
- func SetupAPMInjector(ctx context.Context) (err error)
- func SetupAgent(ctx context.Context, _ []string) (err error)
- func SetupInstaller(ctx context.Context) (err error)
- func StartAgentExperiment(ctx context.Context) error
- func StartInstallerExperiment(ctx context.Context) error
- func StopAgentExperiment(ctx context.Context) error
- func StopInstallerExperiment(ctx context.Context) error
- func UninstrumentAPMInjector(ctx context.Context, method string) (err error)
- type ApmSocketConfig
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InstrumentAPMInjector ¶
InstrumentAPMInjector instruments the APM injector
func PromoteAgentExperiment ¶
PromoteAgentExperiment promotes the agent experiment
func PromoteInstallerExperiment ¶
PromoteInstallerExperiment promotes the installer experiment
func RemoveAPMInjector ¶
RemoveAPMInjector removes the APM injector
func RemoveAgent ¶
RemoveAgent stops and removes the agent
func RemoveInstaller ¶
RemoveInstaller removes the installer systemd units
func SetupAPMInjector ¶
SetupAPMInjector sets up the injector at bootstrap
func SetupAgent ¶
SetupAgent installs and starts the agent
func SetupInstaller ¶
SetupInstaller installs and starts the installer systemd units
func StartAgentExperiment ¶
StartAgentExperiment starts the agent experiment
func StartInstallerExperiment ¶
StartInstallerExperiment installs the experimental systemd units for the installer
func StopAgentExperiment ¶
StopAgentExperiment stops the agent experiment
func StopInstallerExperiment ¶
StopInstallerExperiment starts the stable systemd units for the installer
Types ¶
type ApmSocketConfig ¶
type ApmSocketConfig struct {
ReceiverSocket string `yaml:"receiver_socket"`
}
ApmSocketConfig is a subset of the agent configuration