From 76208fc4945fd60f94814300d149793319998d50 Mon Sep 17 00:00:00 2001 From: Frank Denis Date: Fri, 24 Jun 2022 11:41:35 +0200 Subject: [PATCH] Bring back the process feature of prometheus This is extremely useful, in particular to watch the number of file descriptors used by the application. Unfortunately, the prometheus crate is currently broken on 32-bit platforms. For that reason, Until https://github.com/tikv/rust-prometheus/pull/446 is merged, we have to use a fork on that crate. --- Cargo.toml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Cargo.toml b/Cargo.toml index dfc0b7a..4ac25ca 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -62,8 +62,10 @@ privdrop = "0.5.2" [dependencies.prometheus] optional = true +package = "prometheus-32bitfix" version = "0.13.1" default_features = false +features = ["process"] [features] default = ["metrics"]