wu-sheng commented on code in PR #11966: URL: https://github.com/apache/skywalking/pull/11966#discussion_r1509964707
########## docs/en/setup/backend/backend-clickhouse-monitoring.md: ########## @@ -0,0 +1,134 @@ +# ClickHouse monitoring + +## ClickHouse server performance from built-in metrics data + +SkyWalking leverages ClickHouse built-in metrics data since v20.1.2.4. It leverages OpenTelemetry Collector to transfer +the metrics to +[OpenTelemetry receiver](opentelemetry-receiver.md) and into the [Meter System](./../../concepts-and-designs/meter.md). + +### Data flow + +1. Configure ClickHouse to expose metrics for Prometheus Receiver. +2. OpenTelemetry Collector fetches metrics from Prometheus Receiver and pushes metrics to SkyWalking OAP Server via + OpenTelemetry gRPC exporter. +3. The SkyWalking OAP Server parses the expression with [MAL](../../concepts-and-designs/mal.md) to + filter/calculate/aggregate and store the results. + +### Set up + +1. Set + up [built-in prometheus endpoint](https://clickhouse.com/docs/en/operations/server-configuration-parameters/settings#server_configuration_parameters-prometheus) Review Comment: ```suggestion 1. Set up [built-in prometheus endpoint](https://clickhouse.com/docs/en/operations/server-configuration-parameters/settings#prometheus) ``` I can't find your `#erver_configuration_parameters-prometheus`, but only `#prometheus`, please recheck. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
