SYS.EnsMetrics
Class SYS.EnsMetrics Extends SYS.Metrics
Specialized system metric class for production-enabled systems.
Methods
GetMainMetrics
ClassMethod GetMainMetrics(pID As %String, pCount As %Integer, Output pValues, Output pStatus, Output pMsg, pInterval As %Numeric = 10) As %Status
This method returns the metric values used by the Interoperability System Monitor. 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. pInterval indicates how stale data is allowed to get before a process will attempt to update the Interoperability-specific data.
mactime
ClassMethod mactime(pDateTime As %String = "", pUTC As %Boolean = 0) As %String [ Internal, Private ]
Convert timestamp value to more user-friendly display format