|
1 |
| -Installation guide |
| 1 | +Installation Guide |
2 | 2 | ==================
|
3 | 3 |
|
4 | 4 | ClickHouse
|
@@ -159,29 +159,29 @@ CREATE TABLE graphite.metrics ( date Date DEFAULT toDate(0), name String, leve
|
159 | 159 | CREATE TABLE graphite.data ( metric String, value Float64, timestamp UInt32, date Date, updated UInt32) ENGINE = GraphiteMergeTree(date, (metric, timestamp), 8192, 'graphite_rollup');
|
160 | 160 | ```
|
161 | 161 |
|
162 |
| -**Notice**: If you don't want ClickHouse to rollup data, you can use ReplacingMergeTree instead of GraphiteMergeTree. |
| 162 | +**Notice**: If you don't want ClickHouse to roll up data, you can use ReplacingMergeTree instead of GraphiteMergeTree. |
163 | 163 | ```sql
|
164 | 164 | CREATE TABLE graphite.data ( metric String, value Float64, timestamp UInt32, date Date, updated UInt32) ENGINE = ReplacingMergeTree(date, (metric, timestamp), 8192, updated)
|
165 | 165 | ```
|
166 |
| -But you still need to describe the rules for the rotation, so that Graphouse knows its metrics retention. |
| 166 | +Though it's better to describe the rotation rules, so that Graphouse knows its metrics retention. |
167 | 167 |
|
168 | 168 |
|
169 | 169 | Graphouse
|
170 | 170 | ---------
|
171 | 171 | - Add ClickHouse debian repo. [See doc.](https://clickhouse.yandex/reference_en.html#Installing)
|
172 | 172 | - [Install JDK8.](https://tecadmin.net/install-oracle-java-8-ubuntu-via-ppa/)
|
173 | 173 | - Install Graphouse `sudo agt-get install graphouse`
|
174 |
| -- Set `graphouse.clickhouse.retention-config` property in graphouse config /etc/graphouse/graphouse.properties. You can skip this step, then [default config](../src/main/java/ru/yandex/market/graphouse/retention/DefaultRetentionProvider.java#L29) will be used |
175 |
| -- Start graphouse `sudo /etc/init.d/graphouse start` |
| 174 | +- Set `graphouse.clickhouse.retention-config` property in Graphouse config `/etc/graphouse/graphouse.properties`. You can skip this step. If so, [default config](../src/main/java/ru/yandex/market/graphouse/retention/DefaultRetentionProvider.java#L29) will be used |
| 175 | +- Start Graphouse `sudo /etc/init.d/graphouse start` |
176 | 176 |
|
177 |
| -If you have any problems check graphouse log dir for details `/var/log/graphouse`. |
| 177 | +If you have any problems check Graphouse log dir for details `/var/log/graphouse/`. |
178 | 178 | See [Configuration](config.md) for more details.
|
179 | 179 |
|
180 | 180 |
|
181 | 181 | Graphite-web
|
182 | 182 | ------------
|
183 | 183 | - Install [graphite-web](http://graphite.readthedocs.io/en/latest/), if you don't have it already. You don't need carbon or whisper, Graphouse and ClickHouse completely replace them.
|
184 |
| -- Add graphouse plugin `/opt/graphouse/bin/graphouse.py` to your graphite webapp root dir. |
| 184 | +- Add Graphouse plugin `/opt/graphouse/bin/graphouse.py` to your Graphite webapp root dir. |
185 | 185 | For example, if you dir is `/opt/graphite/webapp/graphite/` use command below
|
186 | 186 | ```bash
|
187 | 187 | sudo ln -fs /opt/graphouse/bin/graphouse.py /opt/graphite/webapp/graphite/graphouse.py
|
|
0 commit comments