defaults

package
v0.3.10 Latest Latest
Warning

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

Go to latest
Published: Dec 5, 2023 License: BSD-3-Clause Imports: 4 Imported by: 0

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.

Jump to

Keyboard shortcuts

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