Skip to content

Commit

Permalink
example storage-schemas.conf for grafanaNet route
Browse files Browse the repository at this point in the history
  • Loading branch information
Dieterbe committed Apr 17, 2017
1 parent ac51cdb commit 4d4e816
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions examples/storage-schemas.conf
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 4d4e816

Please sign in to comment.