Make pageserver_ prefix for common metric names configurable (#681)

This commit is contained in:
Egor Suvorov
2021-10-05 19:06:44 +03:00
committed by GitHub
parent 9c936034b6
commit 7e190d72a5
6 changed files with 29 additions and 4 deletions

View File

@@ -240,6 +240,7 @@ impl CfgFileParams {
}
fn main() -> Result<()> {
zenith_metrics::set_common_metrics_prefix("pageserver");
let arg_matches = App::new("Zenith page server")
.about("Materializes WAL stream to pages and serves them to the postgres")
.arg(