Skip to content

Commit 2af2dcb

Browse files
authored
Multi data table doc
1 parent 106691e commit 2af2dcb

File tree

1 file changed

+28
-1
lines changed

1 file changed

+28
-1
lines changed

README.md

Lines changed: 28 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ Graphite cluster backend with ClickHouse support
77
Gray components are optional or alternative
88

99
## Compatibility
10-
- [x] [graphite-web 1.1.0](https://github.com/graphite-project/graphite-web), seriesByTag not supported
10+
- [x] [graphite-web 1.1.0](https://github.com/graphite-project/graphite-web), tags autocomplete not supported
1111
- [x] [graphite-web 0.9.15](https://github.com/graphite-project/graphite-web/tree/0.9.15)
1212
- [x] [graphite-web 1.0.0](https://github.com/graphite-project/graphite-web)
1313
- [x] [carbonzipper](https://github.com/go-graphite/carbonzipper)
@@ -87,6 +87,33 @@ connect-timeout = "50ms"
8787
query-timeout = "50ms"
8888
total-timeout = "500ms"
8989

90+
# You can define multiple data tables (with points).
91+
# The first table that matches is used.
92+
#
93+
# # Sample, archived table with points older 30d
94+
# [[data-table]]
95+
# table = "graphite_archive"
96+
# min-age = "720h"
97+
#
98+
# # All available options
99+
# [[data-table]]
100+
# # clickhouse table name
101+
# table = "table_name"
102+
# # points in table are stored with reverse path
103+
# reverse = false
104+
# # from >= now - {max-age}
105+
# max-age = "240h"
106+
# # until <= now - {min-age}
107+
# min-age = "240h"
108+
# # until - from <= {max-interval}
109+
# max-interval = "24h"
110+
# # until - from >= {min-interval}
111+
# min-interval = "24h"
112+
# # regexp.Match({target-match-any}, target[0]) || regexp.Match({target-match-any}, target[1]) || ...
113+
# target-match-any = "regexp"
114+
# # regexp.Match({target-match-all}, target[0]) && regexp.Match({target-match-all}, target[1]) && ...
115+
# target-match-all = "regexp"
116+
90117
[[logging]]
91118
logger = ""
92119
file = "/var/log/graphite-clickhouse/graphite-clickhouse.log"

0 commit comments

Comments
 (0)