Documentation ¶
Overview ¶
Package circonus contains the output plugin used to output metric data to the Circonus platform.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Circonus ¶
type Circonus struct { // for backwards compatibility, allow old config options to work // circonus config should be in [agent.circonus] going forward Broker string `toml:"broker"` // optional: broker ID - numeric portion of _cid from broker api object (default is selected: enterprise or public httptrap broker) APIURL string `toml:"api_url"` // optional: api url (default: https://api.circonus.com/v2) APIToken string `toml:"api_token"` // api token (REQUIRED) APIApp string `toml:"api_app"` // optional: api app (default: circonus-unified-agent) APITLSCA string `toml:"api_tls_ca"` // optional: api ca cert file CacheConfigs bool `toml:"cache_configs"` // optional: cache check bundle configurations - efficient for large number of inputs CacheDir string `toml:"cache_dir"` // optional: where to cache the check bundle configurations - must be read/write for user running cua DebugAPI bool `toml:"debug_api"` // optional: debug circonus api calls TraceMetrics string `toml:"trace_metrics"` // optional: output json sent to broker (path to write files to or `-` for logger) DebugChecks map[string]string `toml:"debug_checks"` // optional: use when instructed by circonus support CheckSearchTags []string `toml:"check_search_tags"` // optional: set of tags to use when searching for checks (default: service:circonus-unified-agentd) // // normal options, for output plugin // PoolSize int `toml:"pool_size"` // size of the processor pool for a given output instance - default 2 SubOutput bool `toml:"sub_output"` // a dedicated, special purpose, output, don't send internal cua version, etc. DebugMetrics bool `toml:"debug_metrics"` // output the metrics as they are being parsed, use to verify proper parsing/tags/etc. OneCheck bool `toml:"one_check"` CheckNamePrefix string `toml:"check_name_prefix"` Log cua.Logger sync.RWMutex // contains filtered or unexported fields }
Circonus values are used to output data to the Circonus platform.
func (*Circonus) Description ¶
Description returns a description of the Circonus plugin configuration.
func (*Circonus) SampleConfig ¶
SampleConfig returns the sample Circonus plugin configuration.
Click to show internal directories.
Click to hide internal directories.