Closed madhur-df closed 3 weeks ago
Most of the metrics shall be the same, labels will difference a bit
no hostname
label and different namespace
label based on your prometheus scraping config
You could install both the methods and try to compare curl http://clickhouse-operator-metrics.kube-system:8888/metrics
and curl chi-{chi-name}-{cluster-name}-0-0.your-namespace:9363/metrics
The guide here: https://kb.altinity.com/altinity-kb-setup-and-maintenance/altinity-kb-monitoring suggests many ways of exposing metrics.
The first one is enabling the embedded exporter at port 9363 i.e.
which can be done via the following:
The second one is using
clickhouse-operator-metrics
service present in thekube-system
namespace, which has metrics at two ports -- 8888 for clickhouse-metrics and 9999 for operator-metrics.I wanted to ask if metrics at 9363 exposed via the first method is same as metrics at 8888 exposed via the service.
Please let me know what is the difference...