Documentation ¶
Index ¶
Constants ¶
View Source
const ( APIURL = "https://agents-api.circonus.app/configurations/v1" ActionPollingInterval = "60s" TrackerPollingInterval = "15m" StatusPollingInterval = "5m" Debug = false LogLevel = "info" LogPretty = false UseMachineID = true ForceRegister = false ServerAddress = ":43285" ServerReadTimeout = "60s" ServerWriteTimeout = "60s" ServerIdleTimeout = "30s" ServerReadHeaderTimeout = "5s" ServerHandlerTimeout = "30s" ServerUseTLS = false ServerCertFile = "" ServerKeyFile = "" )
Variables ¶
View Source
var ( // BasePath is the "base" directory // // expected installation structure: // base (e.g. /opt/circonus/cma) // /etc (e.g. /opt/circonus/cma/etc) // /.id (e.g. /opt/circonus/cma/etc/.id) // /sbin (e.g. /opt/circonus/cma/sbin) BasePath = "" // EtcPath returns the default etc directory within base directory. EtcPath = "" // ConfigFile defines the default configuration file name. ConfigFile = "" // Collector inventory file. InventoryFile = "" // IDPath is where ID credentials are stored. IDPath = "" JwtTokenFile = "" ManagerIDFile = "" RefreshTokenFile = "" MachineIDFile = "" AWSEC2Tags = []string{} Tags = []string{} Agents = []string{} )
Functions ¶
func SetEtcPaths ¶ added in v0.2.7
func SetEtcPaths(etcPath string)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.