Documentation ¶
Index ¶
Constants ¶
View Source
const ( RUN_IN_CONTAINER = "RUN_IN_CONTAINER" RUN_IN_CONTAINER_TRUE = "True" RUN_IN_AWS = "RUN_IN_AWS" RUN_IN_AWS_TRUE = "True" RUN_WITH_IRSA = "RUN_WITH_IRSA" RUN_WITH_IRSA_TRUE = "True" USE_DEFAULT_CONFIG = "USE_DEFAULT_CONFIG" USE_DEFAULT_CONFIG_TRUE = "True" HOST_NAME = "HOST_NAME" POD_NAME = "POD_NAME" HOST_IP = "HOST_IP" CWConfigContent = "CW_CONFIG_CONTENT" )
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.