- Documentation Overview
- Getting started with DoubleCloud
- Overview
- Get started
- All integrations
- Transfer data from Amazon S3 to your Managed ClickHouse® cluster and vice versa
- Connect Prometheus
- Send data from Apache Kafka® to Managed ClickHouse® clusters in DoubleCloud
- Transform your data with dbt in a Managed ClickHouse® cluster
- Named collections
- Replicate data from MongoDB to ClickHouse®
- Replicate data from Supabase to ClickHouse®
- Replicate and visualize data from Yandex Metrica
- WebSQL
- DBMS settings reference
- Quotas and Limits
- Glossary
- Resolve issues with ClickHouse
- Questions and answers
- Glossary
Connect Prometheus to your Managed ClickHouse® cluster
DoubleCloud Managed Service for ClickHouse® allows you to seamlessly integrate Prometheus 9363
port of your cluster
and specify the /metrics
endpoint in your Prometheus configuration file.
This feature is enabled for all Managed ClickHouse® clusters by default.
This scenario illustrates how to scrape several metrics with a local Prometheus instance.
Endpoint format
The metrics
endpoint is accessible as follows:
https://<your_clickhouse_host>:9363/metrics
Export your ClickHouse® metrics
-
Go to the Clusters
-
Select the cluster from which you want to export metrics.
-
Open the Monitoring tab.
-
In the upper-right corner, click
-
Follow the instructions in the dialog window:
-
Get a list of hosts using the DoubleCloud API’s
ClusterService
ListHosts method. -
Use the
ClusterService
Get method with thesensitive:true
flag to get the required credentials. You’ll see them undermetrics_exporter_connection_info
. -
Use the metrics management solution to visualize the exported metrics. For example, you may use curl
curl -u exporter:<password> <clickhouse_host_address>:9363/metrics