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" // OTelAgent is the OpenTelemetry Collector flavor OTelAgent = "otel_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
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.