defaults

package
v1.1.2 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	// APIURL for circonus.
	APIURL = "https://api.circonus.com/v2/"

	// APIApp defines the api app name associated with the api token key.
	APIApp = release.NAME

	// Debug is false by default.
	Debug = false

	// AppStatPort for accessing runtime metrics (expvar).
	AppStatPort = "33284"

	// LogLevel set to info by default.
	LogLevel = "info"

	// LogPretty colored/formatted output to stderr.
	LogPretty = false

	// DestinationType where metrics should be sent (agent|check|log|statsd).
	DestinationType = "log"

	// AgentPort for circonus-agent.
	AgentPort = "2609"

	// AgentInterval to submit metrics.
	AgentInterval = "60s"

	// StatsdPort for circonus-agent.
	StatsdPort = "8125"

	// StatsdPrefix to prepend to every metric.
	StatsdPrefix = "host."
)

Variables

View Source
var (
	// BasePath is the "base" directory
	//
	// expected installation structure:
	// base            (e.g. /opt/circonus/logwatch)
	//   /etc          (e.g. /opt/circonus/logwatch/etc)
	//   /etc/log.d    (e.g. /opt/circonus/logwatch/etc/log.d)
	//   /sbin         (e.g. /opt/circonus/logwatch/sbin)
	BasePath = ""

	// EtcPath returns the default etc directory within base directory.
	EtcPath = "" // (e.g. /opt/circonus/logwatch/etc)

	// LogConfPath returns the default directory for log configurations within base directory.
	LogConfPath = "" // (e.g. /opt/circonus/logwatch/etc/log.d)

	// Target used when destination type is "check".
	Target = ""
)

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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