mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-25 00:52:02 +00:00
97f2a2213e
* Move some code outside dbms/src folder * Fix paths
98 lines
3.1 KiB
XML
98 lines
3.1 KiB
XML
<yandex>
|
|
<!-- retention scheme for GraphiteMergeTree engine-->
|
|
<graphite_rollup>
|
|
<path_column_name>metric</path_column_name>
|
|
<time_column_name>timestamp</time_column_name>
|
|
<value_column_name>value</value_column_name>
|
|
<version_column_name>updated</version_column_name>
|
|
<pattern>
|
|
<regexp>\.count$</regexp>
|
|
<function>sum</function>
|
|
</pattern>
|
|
<pattern>
|
|
<regexp>\.max$</regexp>
|
|
<function>max</function>
|
|
</pattern>
|
|
<pattern>
|
|
<regexp>^five_min\.</regexp>
|
|
<retention>
|
|
<age>0</age>
|
|
<precision>300</precision>
|
|
</retention>
|
|
<retention>
|
|
<age>5184000</age>
|
|
<precision>3600</precision>
|
|
</retention>
|
|
<retention>
|
|
<age>31536000</age>
|
|
<precision>14400</precision>
|
|
</retention>
|
|
</pattern>
|
|
<pattern>
|
|
<regexp>^one_min</regexp>
|
|
<function>avg</function>
|
|
<retention>
|
|
<age>0</age>
|
|
<precision>60</precision>
|
|
</retention>
|
|
<retention>
|
|
<age>7776000</age>
|
|
<precision>300</precision>
|
|
</retention>
|
|
<retention>
|
|
<age>31536000</age>
|
|
<precision>600</precision>
|
|
</retention>
|
|
</pattern>
|
|
</graphite_rollup>
|
|
<graphite_rollup_with_default>
|
|
<path_column_name>metric</path_column_name>
|
|
<time_column_name>timestamp</time_column_name>
|
|
<value_column_name>value</value_column_name>
|
|
<version_column_name>updated</version_column_name>
|
|
<pattern>
|
|
<regexp>\.count$</regexp>
|
|
<function>sum</function>
|
|
</pattern>
|
|
<pattern>
|
|
<regexp>\.max$</regexp>
|
|
<function>max</function>
|
|
</pattern>
|
|
<default>
|
|
<function>any</function>
|
|
<retention>
|
|
<age>0</age>
|
|
<precision>60</precision>
|
|
</retention>
|
|
<retention>
|
|
<age>7776000</age>
|
|
<precision>300</precision>
|
|
</retention>
|
|
<retention>
|
|
<age>31536000</age>
|
|
<precision>600</precision>
|
|
</retention>
|
|
</default>
|
|
</graphite_rollup_with_default>
|
|
<graphite_rollup_broken>
|
|
<path_column_name>metric</path_column_name>
|
|
<time_column_name>timestamp</time_column_name>
|
|
<value_column_name>value</value_column_name>
|
|
<version_column_name>updated</version_column_name>
|
|
<default>
|
|
<retention>
|
|
<age>0</age>
|
|
<precision>60</precision>
|
|
</retention>
|
|
<retention>
|
|
<age>7776000</age>
|
|
<precision>300</precision>
|
|
</retention>
|
|
<retention>
|
|
<age>31536000</age>
|
|
<precision>600</precision>
|
|
</retention>
|
|
</default>
|
|
</graphite_rollup_broken>
|
|
</yandex>
|