Regenerate sample config. Fixes #1
This commit is contained in:
parent
ead52e807e
commit
f75e2d44ce
30
tivan.toml
30
tivan.toml
|
@ -1,26 +1,39 @@
|
||||||
# Tivan configuration
|
# Tivan configuration
|
||||||
|
|
||||||
|
# If this file is missing an [agent] section, you must first generate a
|
||||||
|
# valid config with 'tivan -sample-config > tivan.toml'
|
||||||
|
|
||||||
# Tivan is entirely plugin driven. All metrics are gathered from the
|
# Tivan is entirely plugin driven. All metrics are gathered from the
|
||||||
# declared plugins.
|
# declared plugins.
|
||||||
|
|
||||||
# Even if a plugin has no configuration, it must be declared in here
|
# Even if a plugin has no configuration, it must be declared in here
|
||||||
# to be active. Declaring a plugin means just specifying the name
|
# to be active. Declaring a plugin means just specifying the name
|
||||||
# as a section with no variables.
|
# as a section with no variables. To deactivate a plugin, comment
|
||||||
|
# out the name and any variables.
|
||||||
|
|
||||||
# Use 'tivan -config tivan.toml -test' to see what metrics a config
|
# Use 'tivan -config tivan.toml -test' to see what metrics a config
|
||||||
# file would generate.
|
# file would generate.
|
||||||
|
|
||||||
# One rule that plugins conform is wherever a connection string
|
# One rule that plugins conform to is wherever a connection string
|
||||||
# can be passed, the values '' and 'localhost' are treated specially.
|
# can be passed, the values '' and 'localhost' are treated specially.
|
||||||
# They indicate to the plugin to use their own builtin configuration to
|
# They indicate to the plugin to use their own builtin configuration to
|
||||||
# connect to the local system.
|
# connect to the local system.
|
||||||
|
|
||||||
|
# NOTE: The configuration has a few required parameters. They are marked
|
||||||
|
# with 'required'. Be sure to edit those to make this configuration work.
|
||||||
|
|
||||||
# Configuration for influxdb server to send metrics to
|
# Configuration for influxdb server to send metrics to
|
||||||
# [influxdb]
|
[influxdb]
|
||||||
# url = "http://10.20.2.4"
|
# The full HTTP endpoint URL for your InfluxDB instance
|
||||||
|
url = "http://10.20.2.4:8086" # required.
|
||||||
|
|
||||||
|
# The target database for metrics. This database must already exist
|
||||||
|
database = "tivan" # required.
|
||||||
|
|
||||||
# username = "tivan"
|
# username = "tivan"
|
||||||
# password = "metricsmetricsmetricsmetrics"
|
# password = "metricsmetricsmetricsmetrics"
|
||||||
# database = "tivan"
|
|
||||||
|
# Set the user agent for the POSTs (can be useful for log differentiation)
|
||||||
# user_agent = "tivan"
|
# user_agent = "tivan"
|
||||||
# tags = { "dc": "us-east-1" }
|
# tags = { "dc": "us-east-1" }
|
||||||
|
|
||||||
|
@ -29,6 +42,12 @@
|
||||||
# [influxdb.tags]
|
# [influxdb.tags]
|
||||||
# dc = "us-east-1"
|
# dc = "us-east-1"
|
||||||
|
|
||||||
|
# Configuration for tivan itself
|
||||||
|
# [agent]
|
||||||
|
# interval = "10s"
|
||||||
|
# debug = false
|
||||||
|
# hostname = "prod3241"
|
||||||
|
|
||||||
# PLUGINS
|
# PLUGINS
|
||||||
|
|
||||||
# Read metrics about cpu usage
|
# Read metrics about cpu usage
|
||||||
|
@ -56,6 +75,7 @@
|
||||||
|
|
||||||
# specify servers via a url matching:
|
# specify servers via a url matching:
|
||||||
# [username[:password]@][protocol[(address)]]/[?tls=[true|false|skip-verify]]
|
# [username[:password]@][protocol[(address)]]/[?tls=[true|false|skip-verify]]
|
||||||
|
# e.g. root:root@http://10.0.0.18/?tls=false
|
||||||
#
|
#
|
||||||
# If no servers are specified, then localhost is used as the host.
|
# If no servers are specified, then localhost is used as the host.
|
||||||
servers = ["localhost"]
|
servers = ["localhost"]
|
||||||
|
|
Loading…
Reference in New Issue