mirror of
https://github.com/neondatabase/neon.git
synced 2026-05-18 13:40:37 +00:00
proxy: add measured-tokio
This commit is contained in:
@@ -268,6 +268,10 @@ async fn main() -> anyhow::Result<()> {
|
||||
build_tag: BUILD_TAG,
|
||||
});
|
||||
|
||||
// add the current runtime to the collector
|
||||
#[cfg(tokio_unstable)]
|
||||
neon_metrics.tokio.add_current("proxy");
|
||||
|
||||
let jemalloc = match proxy::jemalloc::MetricRecorder::new() {
|
||||
Ok(t) => Some(t),
|
||||
Err(e) => {
|
||||
|
||||
Reference in New Issue
Block a user