ElementsData & charts
AddRuntimeMonitor
Adds an automatically refreshing set of runtime metrics.
AddRuntimeMonitor
What it does
Adds an automatically refreshing set of runtime metrics.
When to use it
Use it for FPS, ping, memory, task status, or custom diagnostics sampled on an interval.
ElementFunction:AddRuntimeMonitor(MonitorConfig)
local RuntimeMonitor = RightGroup:AddRuntimeMonitor({
Name = "Live Runtime",
Interval = 1,
Metrics = {"FPS", "Ping", "Memory", "Players"}
})Behavior and return value
Call this method on the compatible section, tab, panel, or element container shown by the signature. Store the returned value when you need to update, read, or destroy the element later.
Fields marked optional may be omitted. XLQP then uses the method’s built-in default or leaves that feature disabled.