flavor

package module
v0.52.1 Latest Latest
Warning

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

Go to latest
Published: Apr 3, 2024 License: Apache-2.0 Imports: 1 Imported by: 1

Documentation

Overview

Package flavor defines the various flavors of the agent

Index

Constants

View Source
const (
	// DefaultAgent is the default Agent flavor
	DefaultAgent = "agent"
	// IotAgent is the IoT Agent flavor
	IotAgent = "iot_agent"
	// ClusterAgent is the Cluster Agent flavor
	ClusterAgent = "cluster_agent"
	// Dogstatsd is the DogStatsD flavor
	Dogstatsd = "dogstatsd"
	// SecurityAgent is the Security Agent flavor
	SecurityAgent = "security_agent"
	// ServerlessAgent is an Agent running in a serverless environment
	ServerlessAgent = "serverless_agent"
	// HerokuAgent is the Heroku Agent flavor
	HerokuAgent = "heroku_agent"
	// ProcessAgent is the Process Agent flavor
	ProcessAgent = "process_agent"
	// TraceAgent is the Trace Agent flavor
	TraceAgent = "trace_agent"
)

Variables

This section is empty.

Functions

func GetFlavor

func GetFlavor() string

GetFlavor gets the running Agent flavor it MUST NOT be called before the main package is initialized; e.g. in init functions or to initialize package constants or variables.

func GetHumanReadableFlavor

func GetHumanReadableFlavor() string

GetHumanReadableFlavor gets the running Agent flavor in a human readable form

func SetFlavor

func SetFlavor(flavor string)

SetFlavor sets the Agent flavor

Types

This section is empty.

Jump to

Keyboard shortcuts

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