Learning
Documentation
Community
Open Exchange
Global Masters
Home > Class Reference > %SYS namespace > %Monitor.SampleAgent
Private  Storage   

%Monitor.SampleAgent


Monitor sampling agent creates persistent metrics based on Monitor metadata information

Inventory


Parameters Properties Methods Queries Indices ForeignKeys Triggers
5 4


Summary


Properties
DateTime Itemgroup LastSample Mclass Sclass

Methods
%%OIDGet %AddToSaveSet %BindExport %BuildObjectGraph
%ClassIsLatestVersion %ClassName %Close %ConstructClone
%DispatchClassMethod %DispatchGetModified %DispatchGetProperty %DispatchMethod
%DispatchSetModified %DispatchSetMultidimProperty %DispatchSetProperty %Extends
%GetParameter %IncrementCount %IsA %IsModified
%New %NormalizeObject %ObjectModified %OriginalNamespace
%PackageName %RemoveFromSaveSet %SerializeObject %SetModified
%ValidateObject %XMLGenerate Collect Reset
XMLAfterExport XMLBeforeExport XMLDTD XMLExport
XMLExportInternal XMLExportToStream XMLExportToString XMLGetSchemaImports
XMLImport XMLImportInternal XMLIsObjectEmpty XMLNew
XMLSchema XMLSchemaNamespace XMLSchemaType


Properties


• property DateTime as %String;
Timestamp for sample
• property Itemgroup as %Monitor.ItemGroup;
ItemGroup class
• property LastSample as %ListOfDataTypes;
Last sample
• property Mclass as %Monitor.Adaptor;
Metrics class
• property Sclass as %String(MAXLEN=250);
Sample class

Methods


• private method %OnClose() as %Status
Close up the control classes
• private method %OnNew(mclass As %String) as %Status
Set the Collection properties
• method Collect() as %Status
Collect all metrics
• method Reset() as %Status
Reset the sample class