Learning
Documentation
Community
Open Exchange
Global Masters
Home / Class Reference / ENSLIB namespace / %Monitor.System.HistoryPerf
Private  Storage   

%Monitor.System.HistoryPerf


class %Monitor.System.HistoryPerf extends
%Monitor.System.Adaptor

%Monitor class to collect and manage part of the Monitor History Database. This class collects the SYS.History.PerfData samples for the Performance Metrics, as defined in the Performance and WriteDaemon classes, at short intervals (default of 30 seconds).

By default the SYS.History.PerfData collection is kept for 7 days and then purged. The number of days to keep may be modified using SYS.History.PerfData:SetPurge() The Detail samples can be automatically rolled up at the end of each day into Hourly (SYS.History.Hourly) or Daily (SYS.History Daily) summaries, which can be kept for longer periods.

Inventory


Parameters Properties Methods Queries Indices ForeignKeys Triggers
8 2


Summary


Properties
Length Status

Methods
%AddToSaveSet %ClassIsLatestVersion %ClassName %ConstructClone
%DispatchClassMethod %DispatchGetModified %DispatchGetProperty %DispatchMethod
%DispatchSetModified %DispatchSetMultidimProperty %DispatchSetProperty %Extends
%GetParameter %IsA %IsModified %New
%NormalizeObject %ObjectModified %OriginalNamespace %PackageName
%RemoveFromSaveSet %SerializeObject %SetModified %ValidateObject
GetSample Initialize Shutdown Startup


Properties


• property Length as %Monitor.Integer;
Length of last sample
• property Status as %Monitor.String;
Status of last sample

Methods


• method GetSample() as %Status
Get the basic SYS.History.PerfData sample for the Monitor History Database. This method also handles purging and accumulation of the Detail metrics into the long term database (SYS.History.Hourly and SYS.History.Daily).
• method Startup() as %Status
Initialize property values
An error occurred with the web application.

It has been logged to system error log (System Operation>System Logs>Application Error Log).