summaryrefslogtreecommitdiffstats
path: root/src/streaming/stream.conf
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/streaming/stream.conf73
1 files changed, 37 insertions, 36 deletions
diff --git a/src/streaming/stream.conf b/src/streaming/stream.conf
index 475d5eac..659bd830 100644
--- a/src/streaming/stream.conf
+++ b/src/streaming/stream.conf
@@ -62,32 +62,33 @@
#enable compression = yes
# The timeout to connect and send metrics
- timeout seconds = 60
+ #timeout = 1m
# If the destination line above does not specify a port, use this
- default port = 19999
+ #default port = 19999
- # filter the charts to be streamed
+ # filter the charts and contexts to be streamed
# netdata SIMPLE PATTERN:
# - space separated list of patterns (use \ to include spaces in patterns)
# - use * as wildcard, any number of times within each pattern
# - prefix a pattern with ! for a negative match (ie not stream the charts it matches)
# - the order of patterns is important (left to right)
# To send all except a few, use: !this !that * (ie append a wildcard pattern)
- send charts matching = *
+ # The pattern is matched against the context, the chart name and the chart id.
+ #send charts matching = *
# The buffer to use for sending metrics.
# 10MB is good for 60 seconds of data, so increase this if you expect latencies.
# The buffer is flushed on reconnects (this will not prevent gaps at the charts).
- buffer size bytes = 10485760
+ #buffer size bytes = 10485760
# If the connection fails, or it disconnects,
# retry after that many seconds.
- reconnect delay seconds = 5
+ #reconnect delay = 5s
# Sync the clock of the charts for that many iterations, when starting.
# It is ignored when replication is enabled
- initial clock resync iterations = 60
+ #initial clock resync iterations = 60
# -----------------------------------------------------------------------------
# 2. ON PARENT NETDATA - THE ONE THAT WILL BE RECEIVING METRICS
@@ -124,21 +125,21 @@
# will be pushing metrics using this API key.
# The metrics are received via the API port, so the same IPs
# should also be matched at netdata.conf [web].allow connections from
- allow from = *
+ #allow from = *
- # The default history in entries, for all hosts using this API key.
+ # The history in entries (for db alloc or ram), for all hosts using this API key.
# You can also set it per host below.
- # For the default db mode (dbengine), this is ignored.
- #default history = 3600
+ # For the default db (dbengine), this is ignored.
+ #retention = 3600
- # The default memory mode to be used for all hosts using this API key.
+ # The database to be used for all hosts using this API key.
# You can also set it per host below.
# If you don't set it here, the memory mode of netdata.conf will be used.
# Valid modes:
# ram keep it in RAM, don't touch the disk
# none no database at all (use this on headless proxies)
- # dbengine like a traditional database
- #default memory mode = dbengine
+ # dbengine Netdata's high performance database
+ #db = dbengine
# Shall we enable health monitoring for the hosts using this API key?
# 3 possible values:
@@ -150,18 +151,18 @@
# The default is taken from [health].enabled of netdata.conf
#health enabled by default = auto
- # postpone alarms for a short period after the sender is connected
- default postpone alarms on connect seconds = 60
+ # postpone alerts for a short period after the sender is connected
+ #postpone alerts on connect = 1m
- # seconds of health log events to keep
- #default health log history = 432000
+ # the duration to maintain health log events
+ #health log retention = 5d
# need to route metrics differently? set these.
# the defaults are the ones at the [stream] section (above)
- #default proxy enabled = yes | no
- #default proxy destination = IP:PORT IP:PORT ...
- #default proxy api key = API_KEY
- #default proxy send charts matching = *
+ #proxy enabled = yes | no
+ #proxy destination = IP:PORT IP:PORT ...
+ #proxy api key = API_KEY
+ #proxy send charts matching = *
# Stream Compression
# By default it is enabled.
@@ -176,13 +177,13 @@
#enable replication = yes
# How many seconds to replicate from each child. Default: a day
- #seconds to replicate = 86400
+ #replication period = 1d
# The duration we want to replicate per each step.
- #seconds per replication step = 600
+ #replication step = 10m
# Indicate whether this child is an ephemeral node. An ephemeral node will become unavailable
- # after the specified duration of "cleanup ephemeral hosts after secs" (as defined in the db section of netdata.conf)
+ # after the specified duration of "cleanup ephemeral hosts after" (as defined in the db section of netdata.conf)
# from the time of the node's last connection.
#is ephemeral node = no
@@ -217,23 +218,23 @@
# The metrics are received via the API port, so the same IPs
# should also be matched at netdata.conf [web].allow connections from
# and at stream.conf [API_KEY].allow from
- allow from = *
+ #allow from = *
# The number of entries in the database.
- # This is ignored for db mode dbengine.
- #history = 3600
+ # This is ignored for db dbengine.
+ #retention = 3600
# The memory mode of the database: ram | none | dbengine
- #memory mode = dbengine
+ #db = dbengine
# Health / alarms control: yes | no | auto
#health enabled = auto
- # postpone alarms when the sender connects
- postpone alarms on connect seconds = 60
+ # postpone alerts when the sender connects
+ #postpone alerts on connect = 1m
- # seconds of health log events to keep
- #health log history = 432000
+ # the duration to maintain health log events
+ #health log retention = 5d
# need to route metrics differently?
# the defaults are the ones at the [API KEY] section
@@ -252,12 +253,12 @@
#enable replication = yes
# How many seconds to replicate from each child.
- #seconds to replicate = 86400
+ #replication period = 1d
# The duration we want to replicate per each step.
- #seconds per replication step = 600
+ #replication step = 10m
# Indicate whether this child is an ephemeral node. An ephemeral node will become unavailable
- # after the specified duration of "cleanup ephemeral hosts after secs" (as defined in the db section of netdata.conf)
+ # after the specified duration of "cleanup ephemeral hosts after" (as defined in the db section of netdata.conf)
# from the time of the node's last connection.
#is ephemeral node = no