From 4d4e816b6cf856e3d146be72e788199075663b49 Mon Sep 17 00:00:00 2001 From: Dieter Plaetinck Date: Mon, 17 Apr 2017 16:13:02 -0400 Subject: [PATCH] example storage-schemas.conf for grafanaNet route --- examples/storage-schemas.conf | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 examples/storage-schemas.conf diff --git a/examples/storage-schemas.conf b/examples/storage-schemas.conf new file mode 100644 index 00000000..da847bc2 --- /dev/null +++ b/examples/storage-schemas.conf @@ -0,0 +1,28 @@ +# You only need this file if you want to use the grafanaNet route +# (https://github.com/graphite-ng/carbon-relay-ng/blob/master/docs/grafana-net.md) +# In all other cases you can ignore this file. + +# The format is documented at http://graphite.readthedocs.io/en/latest/config-carbon.html#storage-schemas-conf +# However, the relay ONLY needs to know raw resolution. retention settings are applied on the backend. + +# So for example, if you send mystats.* every second, and other metrics every 10seconds, you can define like so: +#[stats] +#pattern = mystats.* +#retentions = 1s:1d,1m:21d,15m:5y +# | | | | | +# ----------------------- IGNORED BY RELAY +#[default] +#pattern = .* +#retentions = 10s:1d +# | +# --------------------- IGNORED BY RELAY + + + + + +# default setting below. +# Make sure you update this file to have the correct rules describing your metrics properly. (in terms of patterns and raw resolutions) +[default] +pattern = .* +retentions = 1s:1d