Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Load ¶
type Load interface {
Load() (*config.AgentConfig, error)
}
Load abstracts the file configuration loading
type LoadConfig ¶
type LoadConfig struct {
Path string
}
LoadConfig is implementing Load to retrieve the config
func (*LoadConfig) Load ¶
func (l *LoadConfig) Load() (*config.AgentConfig, error)
Load loads the config from a file path
type ServerlessTraceAgent ¶
type ServerlessTraceAgent struct {
// contains filtered or unexported fields
}
ServerlessTraceAgent represents a trace agent in a serverless context
func (*ServerlessTraceAgent) Get ¶
func (s *ServerlessTraceAgent) Get() *agent.Agent
Get returns the trace agent instance
func (*ServerlessTraceAgent) Start ¶
func (s *ServerlessTraceAgent) Start(enabled bool, loadConfig Load)
Start starts the agent
func (*ServerlessTraceAgent) Stop ¶
func (s *ServerlessTraceAgent) Stop()
Stop stops the trace agent
Click to show internal directories.
Click to hide internal directories.