Skip to main content

%Monitor.ItemGroup

SQL Table Name: %Monitor.ItemGroup

Monitor Class definition

Property Inventory

Method Inventory

Properties

property Activated as %Boolean [ InitialExpression = 0 ];
Flag indicating if this item is activated for sampling
Property methods: ActivatedDisplayToLogical(), ActivatedGet(), ActivatedGetStored(), ActivatedIsValid(), ActivatedLogicalToDisplay(), ActivatedLogicalToXSD(), ActivatedNormalize(), ActivatedSet(), ActivatedXSDToLogical()
relationship Application as %Monitor.Application [ Required , Inverse = ItemGroup , Cardinality = parent ];
The application definition for this group
Property methods: ApplicationGet(), ApplicationGetObject(), ApplicationGetObjectId(), ApplicationGetStored(), ApplicationGetSwizzled(), ApplicationIsValid(), ApplicationNewObject(), ApplicationOnDelete(), ApplicationRClose(), ApplicationRExec(), ApplicationRFetch(), ApplicationRelate(), ApplicationSQLCompute(), ApplicationSet(), ApplicationSetObject(), ApplicationSetObjectId(), ApplicationUnRelate(), ApplicationUnSwizzle()
property ApplicationName as %String (TRUNCATE = 1) [ Required ];
Name of application for this table
Property methods: ApplicationNameDisplayToLogical(), ApplicationNameGet(), ApplicationNameGetStored(), ApplicationNameIsValid(), ApplicationNameLogicalToDisplay(), ApplicationNameLogicalToOdbc(), ApplicationNameNormalize(), ApplicationNameSet()
property Description as %String (MAXLEN = 132, TRUNCATE = 1);
User specified description of this table
Property methods: DescriptionDisplayToLogical(), DescriptionGet(), DescriptionGetStored(), DescriptionIsValid(), DescriptionLogicalToDisplay(), DescriptionLogicalToOdbc(), DescriptionNormalize(), DescriptionSet()
property GroupName as %String (TRUNCATE = 1) [ Required ];
Name of this table
Property methods: GroupNameDisplayToLogical(), GroupNameGet(), GroupNameGetStored(), GroupNameIsValid(), GroupNameLogicalToDisplay(), GroupNameLogicalToOdbc(), GroupNameNormalize(), GroupNameSet()
property Index as %String (MAXLEN = 132, TRUNCATE = 1);
Comma separated list of index fields for this table
Property methods: IndexDisplayToLogical(), IndexGet(), IndexGetStored(), IndexIsValid(), IndexLogicalToDisplay(), IndexLogicalToOdbc(), IndexNormalize(), IndexSet()
relationship Items as array of %Monitor.Item [ InitialExpression = $listbuild("%Monitor.Item","ItemGroup",+$this,"children",1,1) , Transient , Inverse = ItemGroup , Cardinality = children ];
Columns for this table
Property methods: ItemsGet(), ItemsGetObject(), ItemsGetObjectId(), ItemsGetSwizzled(), ItemsIsEmpty(), ItemsIsValid(), ItemsNewObject(), ItemsRClose(), ItemsRExec(), ItemsRFetch(), ItemsRelate(), ItemsSQLCompute(), ItemsSet(), ItemsUnRelate()
property KeepHistory as %Boolean [ InitialExpression = 0 ];
Flag indicating if this item maintains a history
Property methods: KeepHistoryDisplayToLogical(), KeepHistoryGet(), KeepHistoryGetStored(), KeepHistoryIsValid(), KeepHistoryLogicalToDisplay(), KeepHistoryLogicalToXSD(), KeepHistoryNormalize(), KeepHistorySet(), KeepHistoryXSDToLogical()
property MetricsClassName as %String (MAXLEN = 250, TRUNCATE = 1) [ Required ];
classname for the metrics class
Property methods: MetricsClassNameDisplayToLogical(), MetricsClassNameGet(), MetricsClassNameGetStored(), MetricsClassNameIsValid(), MetricsClassNameLogicalToDisplay(), MetricsClassNameLogicalToOdbc(), MetricsClassNameNormalize(), MetricsClassNameSet()
property Namespace as %String (MAXLEN = 256);
Namespace in which the cache class definition resides
Property methods: NamespaceDisplayToLogical(), NamespaceGet(), NamespaceGetStored(), NamespaceIsValid(), NamespaceLogicalToDisplay(), NamespaceLogicalToOdbc(), NamespaceNormalize(), NamespaceSet()
property SampInterval as %Integer [ InitialExpression = 0 ];
Sample interval for the sample class
Property methods: SampIntervalDisplayToLogical(), SampIntervalGet(), SampIntervalGetStored(), SampIntervalIsValid(), SampIntervalLogicalToDisplay(), SampIntervalNormalize(), SampIntervalSet(), SampIntervalXSDToLogical()
property SampleClassName as %String (MAXLEN = 250) [ Required ];
classname for the sample class
Property methods: SampleClassNameDisplayToLogical(), SampleClassNameGet(), SampleClassNameGetStored(), SampleClassNameIsValid(), SampleClassNameLogicalToDisplay(), SampleClassNameLogicalToOdbc(), SampleClassNameNormalize(), SampleClassNameSet()

Methods

classmethod MetricsClassItemGroup(mclass As %String, ByRef id As %String) as %Status
Returns %ID for the ItemGroup for a Metrics Class

Queries

query ActiveItemGroups()
SQL Query:
SELECT %ID FROM ItemGroup WHERE (Activated = 1)
Get the names of active itemgroups
query ApplicationItemGroups(app As %String)
SQL Query:
SELECT %ID, GroupName FROM ItemGroup WHERE (Application->Name = :app)
Get itemgroups for an application
query Classes()
SQL Query:
SELECT MetricsClassName,Activated,SampInterval FROM ItemGroup
Get the class names of all the itemgroups
query Groups()
SQL Query:
SELECT GroupName FROM ItemGroup
Get the group names of all the itemgroups
query ItemGroups()
SQL Query:
SELECT %ID FROM ItemGroup
Get all itemgroups in the system

Indexes

index (IDKEY on MetricsClassName) [IdKey, PrimaryKey, Type = key, Unique];
Index methods: IDKEYCheck(), IDKEYDelete(), IDKEYExists(), IDKEYOpen(), IDKEYSQLCheckUnique(), IDKEYSQLExists(), IDKEYSQLFindPKeyByConstraint(), IDKEYSQLFindRowIDByConstraint()

Inherited Members

Inherited Methods

Storage

Storage Model: Storage (%Monitor.ItemGroup)

^Monitor.ItemGroupD(ID)
=
%%CLASSNAME
Description
GroupName
Activated
ClassName
Index
Namespace
ApplicationName
ControlClassName
SampleClassName
MetricsClassName
History
KeepHistory
Interval
SampInterval
FeedbackOpens in a new tab