motivation: allow middleware libraries better control of metric object lifecycle to reduce potential memory footprint when using metrics libraries that use some kind of registry or cache (eg polling backends) changes: * Introduce metric.destroy() to enable lifecycle management * Add destroy functions to example impl in readme |
||
|---|---|---|
| .. | ||
| MetricsTests | ||
| LinuxMain.swift | ||