Memstats in span 7 September 2024 / 1 min readgo, elastic 💻 Tech You can attach custom data to an APM span like those from runtime.MemStats var m runtime.MemStats runtime.ReadMemStats(&m) span.Context.SetLabel("alloc", m.Alloc) It will appear under numeric_labels.