apminject

package
v0.71.2 Latest Latest
Warning

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

Go to latest
Published: Oct 15, 2025 License: Apache-2.0 Imports: 25 Imported by: 0

Documentation

Overview

Package apminject implements the apm injector installer

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ApmSocketConfig

type ApmSocketConfig struct {
	ReceiverSocket string `yaml:"receiver_socket"`
}

ApmSocketConfig is a subset of the agent configuration

type InjectorInstaller

type InjectorInstaller struct {
	Env *env.Env
	// contains filtered or unexported fields
}

InjectorInstaller installs the APM injector

func NewInstaller

func NewInstaller() *InjectorInstaller

NewInstaller returns a new APM injector installer

func (*InjectorInstaller) Finish

func (a *InjectorInstaller) Finish(err error)

Finish cleans up the APM injector Runs rollbacks if an error is passed and always runs cleanups

func (*InjectorInstaller) Instrument

func (a *InjectorInstaller) Instrument(ctx context.Context) (retErr error)

Instrument instruments the APM injector

func (*InjectorInstaller) Remove

func (a *InjectorInstaller) Remove(ctx context.Context) (err error)

Remove removes the APM injector

func (*InjectorInstaller) Setup

func (a *InjectorInstaller) Setup(ctx context.Context) error

Setup sets up the APM injector

func (*InjectorInstaller) Uninstrument

func (a *InjectorInstaller) Uninstrument(ctx context.Context) error

Uninstrument uninstruments the APM injector

Jump to

Keyboard shortcuts

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