I'd like to expose things like pooled instance counts to embedders; looking for feedback on API and implementation approach: https://github.com/bytecodealliance/wasmtime/issues/11449
Seems reasonable to me!
Seems reasonable to me as well; one of the main changes on our internal fork of wasmtime right now is changes we have to get metrics out of wasmtime in a few more places. Having a few things like this that we could poll using external APIs would be nice for reducing the patches we need to maintain (and potentially useful for other consumers).
Some of the ones we have a transient and probably not generally useful, but I'll add it to my backlog to audit and potentially propose any additional metrics (especially things that map to gauges or counters) that may be generally useful. Some of the stuff we have are quantiles for specific syscalls and such (e.g. madvise/mmap/etc.) that probably don't have a place in upstream and which we could probably tackle at another layer to drop the patches (e.g. ebpf black magic to capture specific syscall metrics).
Starting with just some basic allocation counts: https://github.com/bytecodealliance/wasmtime/pull/11490
Last updated: Dec 06 2025 at 06:05 UTC