-
Notifications
You must be signed in to change notification settings - Fork 151
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
example storage-schemas.conf for grafanaNet route
- Loading branch information
Showing
1 changed file
with
28 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |