package
9.0.0-beta1+incompatible
Repository: https://github.com/elastic/apm-server.git
Documentation: pkg.go.dev
# Functions
LoadConfig loads apm-server configuration from apm-server.yml, using command-line flags.
NewBeat creates a new Beat.
NewReloader returns a new Reloader which creates Runners using the provided beat.Info and NewRunnerFunc.
NewRootCommand returns the root command for apm-server.
WithDisableConfigResolution returns a LoadConfigOption that disables resolution of variables.
WithMergeConfig returns a LoadConfigOption that merges the given config.C objects into the raw configuration.
# Variables
ErrAlreadyLocked is returned when a lock on the data path is attempted but unsuccessful because another Beat instance already has the lock on the same data path.
# Structs
Beat provides the runnable and configurable instance of a beat.
BeatParams holds parameters for NewBeat.
No description provided by the author
Reloader responds to libbeat configuration changes by calling the given NewRunnerFunc to create a new Runner, and then stopping any existing one.
RunnerParams holds parameters that will be passed by Reloader to its NewRunnerFunc.
# Interfaces
Runner is an interface returned by NewRunnerFunc.
# Type aliases
LoadConfigOption is an option for controlling LoadConfig behaviour.
NewRunnerFunc is a function type that constructs a new Runner with the given parameters.