Documentation ¶
Index ¶
Constants ¶
View Source
const ( RUN_IN_CONTAINER = envconfig.RunInContainer RUN_IN_CONTAINER_TRUE = envconfig.TrueValue RUN_IN_AWS = envconfig.RunInAWS RUN_IN_AWS_TRUE = envconfig.TrueValue RUN_WITH_IRSA = envconfig.RunWithIRSA RUN_WITH_IRSA_TRUE = envconfig.TrueValue USE_DEFAULT_CONFIG = envconfig.UseDefaultConfig USE_DEFAULT_CONFIG_TRUE = envconfig.TrueValue HOST_NAME = envconfig.HostName POD_NAME = envconfig.PodName HOST_IP = envconfig.HostIP CWConfigContent = envconfig.CWConfigContent )
View Source
const ( ModeEC2 = "ec2" ModeOnPrem = "onPrem" ModeOnPremise = "onPremise" ModeWithIRSA = "withIRSA" )
View Source
const ( OS_TYPE_LINUX = "linux" OS_TYPE_WINDOWS = "windows" OS_TYPE_DARWIN = "darwin" )
View Source
const (
ERR_CODE_NOJSONFILE = 99
)
Variables ¶
This section is empty.
Functions ¶
func DefaultECSJsonConfig ¶
func DefaultECSJsonConfig() string
func DefaultJsonConfig ¶
func GetFormattedPath ¶
Translate Sample: (root).agent.metrics_collection_interval -> /agent/metrics_collection_interval (root).metrics.metrics_collected.cpu.resources.1 -> /metrics/metrics_collected/cpu/resources/1
func GetJsonSchema ¶
func GetJsonSchema() string
func OverwriteSchema ¶ added in v1.247347.5
func OverwriteSchema(newSchema string)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.