updated clickhouse state
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Paul 2024-09-25 22:05:25 +02:00
parent 5b15a39c59
commit 5939213a7f
2 changed files with 19 additions and 0 deletions

View File

@ -49,3 +49,12 @@ clickhouse-config-file-tls:
- group: clickhouse
- mode: 600
- template: jinja
clickhouse-config-file-prometheus:
file.managed:
- name: /etc/clickhouse-server/config.d/prometheus.xml
- source: salt://clickhouse/templates/prometheus.xml.j2
- user: clickhouse
- group: clickhouse
- mode: 600
- template: jinja

View File

@ -0,0 +1,10 @@
{%- from "clickhouse/map.jinja" import clickhouse with context %}
<clickhouse>
<prometheus>
<endpoint>/metrics</endpoint>
<port>7555</port>
<metrics>true</metrics>
<events>true</events>
<asynchronous_metrics>true</asynchronous_metrics>
</prometheus>
</clickhouse>