RisingWave initially chose the crate prometheusas the client for Prometheus because of its convenience. However, as the system became more complex, the flexibility of crate prometheus brought a lot of burden to the maintenance of metrics.
5770
9171
9756
12653
12882
13080
Besides, prometheus is not actively maintained now.
Now, prometheus has its official rust client crate prometheus-client, which gives less flexibility but makes it easier to maintain. It's time to explore the official crate and replace prometheus with prometheus-client.
RisingWave initially chose the crate
prometheus
as the client for Prometheus because of its convenience. However, as the system became more complex, the flexibility of crateprometheus
brought a lot of burden to the maintenance of metrics.5770
9171
9756
12653
12882
13080
Besides,
prometheus
is not actively maintained now.https://github.com/tikv/rust-prometheus/pull/490
Now, prometheus has its official rust client crate
prometheus-client
, which gives less flexibility but makes it easier to maintain. It's time to explore the official crate and replaceprometheus
withprometheus-client
.