summaryrefslogtreecommitdiffstats
path: root/streaming/stream.conf
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--streaming/stream.conf (renamed from conf.d/stream.conf)32
1 files changed, 22 insertions, 10 deletions
diff --git a/conf.d/stream.conf b/streaming/stream.conf
index d0c9a8b18..493eba37c 100644
--- a/conf.d/stream.conf
+++ b/streaming/stream.conf
@@ -39,17 +39,25 @@
# If the destination line above does not specify a port, use this
default port = 19999
+ # filter the charts 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 buffer to use for sending metrics.
- # 1MB is good for 10-20 seconds of data, so increase this
- # if you expect latencies.
+ # 1MB is good for 10-20 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 = 1048576
# If the connection fails, or it disconnects,
# retry after that many seconds.
reconnect delay seconds = 5
- # Attempt to sync the clock the of the master with the clock of the
- # slave for that many iterations, when starting.
+ # Sync the clock of the charts for that many iterations, when starting.
initial clock resync iterations = 60
@@ -62,8 +70,9 @@
# netdata searches for options in this order:
#
# a) master netdata settings (netdata.conf)
-# b) [API_KEY] section (below, settings for the API key)
-# c) [MACHINE_GUID] section (below, settings for each machine)
+# b) [stream] section (above)
+# c) [API_KEY] section (below, settings for the API key)
+# d) [MACHINE_GUID] section (below, settings for each machine)
#
# You can combine the above (the more specific setting will be used).
@@ -95,7 +104,7 @@
# If you don't set it here, the memory mode of netdata.conf will be used.
# Valid modes:
# save save on exit, load on start
- # map like swap (continuously syncing to disks)
+ # map like swap (continuously syncing to disks - you need SSD)
# ram keep it in RAM, don't touch the disk
# none no database at all (use this on headless proxies)
default memory mode = ram
@@ -106,7 +115,7 @@
# no do not enable alarms
# auto enable alarms, only when the sending netdata is connected
# You can also set it per host, below.
- # The default is the same as to netdata.conf
+ # 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
@@ -120,15 +129,16 @@
multiple connections = allow
# need to route metrics differently? set these.
- # the defaults are the ones at the [stream] section
+ # 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 = *
# -----------------------------------------------------------------------------
# 3. PER SENDING HOST SETTINGS, ON MASTER NETDATA
-# THIS IS OPTIONAL - YOU DON'T NEED IT
+# THIS IS OPTIONAL - YOU DON'T HAVE TO CONFIGURE IT
# This section exists to give you finer control of the master settings for each
# slave host, when the same API key is used by many netdata slaves / proxies.
@@ -174,6 +184,8 @@
multiple connections = allow
# need to route metrics differently?
+ # the defaults are the ones at the [API KEY] section
#proxy enabled = yes | no
#proxy destination = IP:PORT IP:PORT ...
#proxy api key = API_KEY
+ #proxy send charts matching = *