agentinfo

package
v1.3000030.2 Latest Latest
Warning

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

Go to latest
Published: Nov 2, 2023 License: MIT Imports: 25 Imported by: 0

Documentation

Index

Constants

View Source
const (

	// region types
	AgentConfigJson = "ACJ"
	CredsMap        = "CM"
	EC2Metadata     = "EC2M"
	ECSMetadata     = "ECSM"
	RegionNotFound  = "RNF"
	ModeEC2         = "EC2"
	ModeOnPrem      = "OP"
	ModeWithIRSA    = "WI"
)

Variables

This section is empty.

Functions

func FullVersion

func FullVersion() string

func RecordSharedConfigFallback added in v1.300028.0

func RecordSharedConfigFallback()

func SetComponents

func SetComponents(otelcfg *otelcol.Config, telegrafcfg *config.Config)

func SetImdsFallbackSucceed added in v1.300028.0

func SetImdsFallbackSucceed()

func Version

func Version() string

Types

type AgentInfo

type AgentInfo interface {
	RecordOpData(time.Duration, int, error)
	StatsHeader() string
	UserAgent() string
}

func New

func New(groupName string, regionType string, mode string) AgentInfo

Jump to

Keyboard shortcuts

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