Skip to content

Commit 8fc7dae

Browse files
committed
update doc
1 parent 08bfe10 commit 8fc7dae

File tree

1 file changed

+20
-7
lines changed

1 file changed

+20
-7
lines changed

README.md

Lines changed: 20 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,26 @@ max-metrics-in-find-answer = 0
6868
# You can add user/password (http://user:password@localhost:8123) and any clickhouse options (GET-parameters) to url
6969
# It is recommended to create read-only user
7070
url = "http://localhost:8123"
71+
# Add extra prefix (directory in graphite) for all metrics
72+
extra-prefix = ""
73+
74+
# Default table with points
7175
data-table = "graphite"
76+
data-timeout = "1m0s"
77+
# Rollup rules xml filename. Use `auto` magic word for select rollup rules from ClickHouse
78+
rollup-conf = "/etc/graphite-clickhouse/rollup.xml"
79+
80+
# Table with series list (daily and full)
81+
# https://github.com/lomik/graphite-clickhouse/wiki/IndexTable
82+
index-table = "graphite_index"
83+
# Use daily data from index table. This is useful for installations with big count of short-lived series but can be slower in other cases
84+
index-use-daily = true
85+
index-timeout = "1m"
86+
87+
# `tagged` table from carbon-clickhouse. Required for seriesByTag
88+
tagged-table = ""
89+
90+
# Old index tables. Deprecated
7291
tree-table = "graphite_tree"
7392
# Optional table with daily series list.
7493
# Useful for installations with big count of short-lived series
@@ -78,12 +97,6 @@ date-tree-table = ""
7897
# 2: table with Path, Date, Level, Deleted, Version fields. Table type "series" in the carbon-clickhouse
7998
# 3: same as #2 but with reversed Path. Table type "series-reverse" in the carbon-clickhouse
8099
date-tree-table-version = 0
81-
rollup-conf = "/etc/graphite-clickhouse/rollup.xml"
82-
# `tagged` table from carbon-clickhouse. Required for seriesByTag
83-
tagged-table = ""
84-
# Add extra prefix (directory in graphite) for all metrics
85-
extra-prefix = ""
86-
data-timeout = "1m0s"
87100
tree-timeout = "1m0s"
88101

89102
[carbonlink]
@@ -107,7 +120,7 @@ total-timeout = "500ms"
107120
# table = "table_name"
108121
# # points in table are stored with reverse path
109122
# reverse = false
110-
# # custom rollup.conf for table
123+
# # custom rollup.conf for table. Or magic word `auto`
111124
# rollup-conf = ""
112125
# # from >= now - {max-age}
113126
# max-age = "240h"

0 commit comments

Comments
 (0)