You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm working on a project that already uses foundations and exposes a telemetry server running in a background tokio task, with memory profiling enabled. I have a use case where I'd like to query my current memory usage from within this process to make some runtime determinations. I'm able to do this by importing tikv_jemalloc_ctl directly and using its API, but it feels in-scope for foundations to expose this without needing to reach for the lower-level library.
Would it be possible to pass-through tikv_jemalloc_ctl::stats in some way, to query the actual stats available there from within the process using foundations?