Наброски инфраструктуры

This commit is contained in:
2026-02-04 22:47:19 +03:00
parent df50e507e5
commit 06ffb0cf16
4 changed files with 136 additions and 0 deletions
+7
View File
@@ -0,0 +1,7 @@
<clickhouse>
<users>
<default>
<password>123456</password>
</default>
</users>
</clickhouse>
+11
View File
@@ -0,0 +1,11 @@
global:
scrape_interval: 15s
scrape_configs:
- job_name: "clickhouse"
metrics_path: "/metrics"
static_configs:
- targets: ["clickhouse:9126"]
labels:
instance: Clickhouse-1
honor_labels: true
+10
View File
@@ -0,0 +1,10 @@
<clickhouse>
<prometheus>
<endpoint>/metrics</endpoint>
<port>9126</port>
<metrics>true</metrics>
<events>true</events>
<asynchronous_metrics>true</asynchronous_metrics>
</prometheus>
</clickhouse>