Owl.Metrics.GetServiceMetrics(name: string): ServiceMetrics | nil

Server Only

Retrieves specific execution timings, memory overhead and remote count telemetry for a target server service.

Parameters

name*
string
Identifier name of the service to query.

Returns

ServiceMetrics | nilTelemetry object containing init/start timings, memory usage in KB and remote counts or nil if not found.

Related Types

local dataMetrics = Owl.Metrics.GetServiceMetrics("DataService")
if dataMetrics then
    print("Init duration:", dataMetrics.Init, "s")
    print("Signals declared:", dataMetrics.Signals)
end