mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-21 15:12:02 +00:00
Add graphite config to tests.
This commit is contained in:
parent
fee4717762
commit
f5339e7c5e
@ -70,6 +70,7 @@ CMD dpkg -i package_folder/clickhouse-common-static_*.deb; \
|
|||||||
ln -s /usr/share/clickhouse-test/config/disks.xml /etc/clickhouse-server/config.d/; \
|
ln -s /usr/share/clickhouse-test/config/disks.xml /etc/clickhouse-server/config.d/; \
|
||||||
ln -s /usr/share/clickhouse-test/config/secure_ports.xml /etc/clickhouse-server/config.d/; \
|
ln -s /usr/share/clickhouse-test/config/secure_ports.xml /etc/clickhouse-server/config.d/; \
|
||||||
ln -s /usr/share/clickhouse-test/config/clusters.xml /etc/clickhouse-server/config.d/; \
|
ln -s /usr/share/clickhouse-test/config/clusters.xml /etc/clickhouse-server/config.d/; \
|
||||||
|
ln -s /usr/share/clickhouse-test/config/graphite.xml /etc/clickhouse-server/config.d/; \
|
||||||
ln -s /usr/share/clickhouse-test/config/server.key /etc/clickhouse-server/; \
|
ln -s /usr/share/clickhouse-test/config/server.key /etc/clickhouse-server/; \
|
||||||
ln -s /usr/share/clickhouse-test/config/server.crt /etc/clickhouse-server/; \
|
ln -s /usr/share/clickhouse-test/config/server.crt /etc/clickhouse-server/; \
|
||||||
ln -s /usr/share/clickhouse-test/config/dhparam.pem /etc/clickhouse-server/; \
|
ln -s /usr/share/clickhouse-test/config/dhparam.pem /etc/clickhouse-server/; \
|
||||||
|
28
tests/config/graphite.xml
Normal file
28
tests/config/graphite.xml
Normal file
@ -0,0 +1,28 @@
|
|||||||
|
<yandex>
|
||||||
|
<graphite_rollup>
|
||||||
|
<version_column_name>Version</version_column_name>
|
||||||
|
<pattern>
|
||||||
|
<regexp>sum</regexp>
|
||||||
|
<function>sum</function>
|
||||||
|
<retention>
|
||||||
|
<age>0</age>
|
||||||
|
<precision>600</precision>
|
||||||
|
</retention>
|
||||||
|
<retention>
|
||||||
|
<age>172800</age> <!-- 2 days -->
|
||||||
|
<precision>6000</precision>
|
||||||
|
</retention>
|
||||||
|
</pattern>
|
||||||
|
<default>
|
||||||
|
<function>max</function>
|
||||||
|
<retention>
|
||||||
|
<age>0</age>
|
||||||
|
<precision>600</precision>
|
||||||
|
</retention>
|
||||||
|
<retention>
|
||||||
|
<age>172800</age>
|
||||||
|
<precision>6000</precision>
|
||||||
|
</retention>
|
||||||
|
</default>
|
||||||
|
</graphite_rollup>
|
||||||
|
</yandex>
|
Loading…
Reference in New Issue
Block a user