InterSystems IRIS Data Platform 2020.4 > Class Reference > %SYS namespace > SYS.Metrics

SYS.Metrics

This class contains the methods used to calculate system metrics displayed by the System Dashboard. For internal use only.

Method Inventory (Including Private)

Parameters

parameter DOMAIN = %Utility;
Default Localization Domain

Methods (Including Private)

classmethod GetDatabaseMetrics(pID As %String, pCount As %Integer, Output pValues, Output pStatus, Output pMsg) as %Status [ Language = objectscript ]
Return metrics for database specified by pID
classmethod GetECPStatistics(pID As %String, pCount As %Integer, Output pValues, Output pStatus, Output pMsg) as %Status [ Language = objectscript ]
Return metrics for ECP statistics
classmethod GetGlobalStatistics(pID As %String, pCount As %Integer, Output pValues, Output pStatus, Output pMsg) as %Status [ Language = objectscript ]
Return metrics for system Global and Resource statistics
classmethod GetMainMetrics(pID As %String, pCount As %Integer, Output pValues, Output pStatus, Output pMsg) as %Status [ Language = objectscript ]
This method returns the metric values used by the main system dashboard. pID is an optional identifier; this is used for dashboards that may provide values for different items.
pCount indicates how many times the corresponding Dashboard last called this method. On the initial call, this value is 0. This is useful for cases where you do not want to recalculate value each time.
classmethod GetProcessMetrics(pID As %String, pCount As %Integer, Output pValues, Output pStatus, Output pMsg) as %Status [ Language = objectscript ]
Return metrics for process specified by pID. The pID must be in decimal form.
classmethod GetSeparator() as %String [ Language = objectscript ]
classmethod GetShadowMetrics(pID As %String, pCount As %Integer, Output pValues, Output pStatus, Output pMsg) as %Status [ Language = objectscript ]
Return metrics for shadow server specified by pID
classmethod GetStatistics(pID As %String, pCount As %Integer, Output pValues, Output pStatus, Output pMsg) as %Status [ Language = objectscript ]
Return metrics for system statistics
classmethod GetTaskMetrics(pID As %String, pCount As %Integer, Output pValues, Output pStatus, Output pMsg) as %Status [ Language = objectscript ]
Return metrics for task schedule specified by pID

Subclasses

Feedback