Documentation ¶
Index ¶
- Variables
- func StartCollector(ctx context.Context, config config.Config, traceCache collector.TraceCache, ...) (collector.Collector, error)
- type Runner
- func (s *Runner) Run(ctx context.Context, cfg config.Config, flags agentConfig.Flags) error
- func (s *Runner) RunDashboardStrategy(ctx context.Context, cfg agentConfig.Config, uiEndpoint string, ...) error
- func (s *Runner) RunDesktopStrategy(ctx context.Context, cfg agentConfig.Config, uiEndpoint string) error
- func (s *Runner) RunVerboseStrategy(ctx context.Context, cfg agentConfig.Config) error
- func (s *Runner) StartAgent(ctx context.Context, endpoint, agentApiKey, uiEndpoint string) error
- type Session
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrOtlpServerStart = errors.New("OTLP server start error")
Functions ¶
Types ¶
type Runner ¶
type Runner struct {
// contains filtered or unexported fields
}
func NewRunner ¶
func NewRunner(configurator config.Configurator, resources *resourcemanager.Registry, ui ui.ConsoleUI) *Runner
func (*Runner) RunDashboardStrategy ¶ added in v0.15.6
func (*Runner) RunDesktopStrategy ¶ added in v0.14.8
func (*Runner) RunVerboseStrategy ¶ added in v0.14.8
type Session ¶
type Session struct { Token string // contains filtered or unexported fields }
func StartSession ¶
func StartSession(ctx context.Context, cfg config.Config, observer event.Observer, logger *zap.Logger) (*Session, error)
Start the agent session with given configuration
func (*Session) WaitUntilDisconnected ¶
func (s *Session) WaitUntilDisconnected()
Click to show internal directories.
Click to hide internal directories.