Skip to content

Commit d2cbb82

Browse files
authored
Update install.md
1 parent 0bce67e commit d2cbb82

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

doc/install.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Installation guide
1+
Installation Guide
22
==================
33

44
ClickHouse
@@ -159,29 +159,29 @@ CREATE TABLE graphite.metrics ( date Date DEFAULT toDate(0), name String, leve
159159
CREATE TABLE graphite.data ( metric String, value Float64, timestamp UInt32, date Date, updated UInt32) ENGINE = GraphiteMergeTree(date, (metric, timestamp), 8192, 'graphite_rollup');
160160
```
161161

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.
163163
```sql
164164
CREATE TABLE graphite.data ( metric String, value Float64, timestamp UInt32, date Date, updated UInt32) ENGINE = ReplacingMergeTree(date, (metric, timestamp), 8192, updated)
165165
```
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.
167167

168168

169169
Graphouse
170170
---------
171171
- Add ClickHouse debian repo. [See doc.](https://clickhouse.yandex/reference_en.html#Installing)
172172
- [Install JDK8.](https://tecadmin.net/install-oracle-java-8-ubuntu-via-ppa/)
173173
- 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`
176176

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/`.
178178
See [Configuration](config.md) for more details.
179179

180180

181181
Graphite-web
182182
------------
183183
- 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.
185185
For example, if you dir is `/opt/graphite/webapp/graphite/` use command below
186186
```bash
187187
sudo ln -fs /opt/graphouse/bin/graphouse.py /opt/graphite/webapp/graphite/graphouse.py

0 commit comments

Comments
 (0)