Move prometheus endpoint spawner from udp to common crate

This commit is contained in:
Joakim Frostegård 2024-02-03 22:07:56 +01:00
parent 53af594b3d
commit 4ca73630c4
5 changed files with 83 additions and 62 deletions

7
Cargo.lock generated
View file

@ -165,12 +165,16 @@ dependencies = [
"indexmap 2.1.0",
"libc",
"log",
"metrics",
"metrics-exporter-prometheus",
"metrics-util",
"privdrop",
"rand",
"rustls",
"rustls-pemfile",
"serde",
"simple_logger",
"tokio",
"toml 0.5.11",
]
@ -309,8 +313,6 @@ dependencies = [
"libc",
"log",
"metrics",
"metrics-exporter-prometheus",
"metrics-util",
"mimalloc",
"mio",
"num-format",
@ -324,7 +326,6 @@ dependencies = [
"tempfile",
"time",
"tinytemplate",
"tokio",
]
[[package]]