agent

package
v0.0.0-...-3d9a706 Latest Latest
Warning

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

Go to latest
Published: Apr 28, 2024 License: Apache-2.0 Imports: 40 Imported by: 0

Documentation

Overview

Package agent defines the tracer agent.

Index

Constants

This section is empty.

Variables

View Source
var ErrAgentDisabled = errors.New(messageAgentDisabled)

ErrAgentDisabled indicates that the trace-agent wasn't enabled through environment variable or config.

Functions

func Module

func Module() fxutil.Module

Module defines the fx options for the agent component.

Types

type Component

type Component interface{}

Component is the agent component type.

type Params

type Params struct {
	// PIDFilePath contains the value of the --pidfile flag.
	PIDFilePath string
	// CPUProfile contains the value for the --cpu-profile flag.
	CPUProfile string
	// MemProfile contains the value for the --mem-profile flag.
	MemProfile string
}

Params replicates the run.Params needed by the tracer agent. This is required to avoid cyclic dependencies.

Jump to

Keyboard shortcuts

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