Open acelyc111 opened 6 months ago
Because the servers don't expose prometheus metrics directly now, this commit https://github.com/apache/incubator-pegasus/commit/bcb92f0fd30374d691d1cc5535ca0bf5ae671988 seems useless, and we can remove the prometheus-cpp library directly.
You can do this when you remove perf_counter* related code. @empiredan
Meta server crashed if creating a backup policy with a name
test_1-1
(contains-
character), the assert information is as below:The prometheus-cpp code:
So the metric name should:
__
[a-zA-Z_][a-zA-Z0-9_]*
See https://prometheus.io/docs/concepts/data_model/