Previous Topic: Add the <ComponentList> SectionNext Topic: Synchronization with CA Performance Center


Add the <ComponentDefinitionList> Section

The <ComponentDefinitionList> section defines details about your components. The details include definitions of more attributes to store in the database for a component, and information about synchronization of components and their attributes with CA Performance Center.

This section is needed only when the following conditions are met:

Include the following tags in this section of your custom metric family:

<Name>
<Description>
<CertificationType>—This tag is always set to CUSTOM.
AttributeList

(Optional) Defines the list of attributes to calculate and store in the database for the component. Use component attributes to make more information of a component (such as arguments of a process component) available in CA Performance Center by synchronizing these attributes with CA Performance Center. This section includes the following tags for each attribute:

Name

Specifies a unique internal name in QName format.

Type

Specifies the data type of this attribute.

IsList

Indicates whether this attribute is scalar or table based. Typically this value equals the value of the corresponding attribute that is collected for the metric family.

Description

Specifies the description for this attribute that is visible in the user interface.

The following illustration provides an example of using AttributeList:

A list of the elements for AttributeList for a metric family

ItemSyncDefinition

Provides the necessary details for synchronizing the component with CA Performance Center. ItemSyncDefinition also lists the additional attributes to send to CA Performance Center as component properties during the synchronization so that they are visible in the CA Performance Center user interface. Only the items with subtypes are synchronized, so the <ItemSyncDefinition> must define a base item type and subtypes. The base item type can be used to create a logical group and provide the default information and synchronization behavior available for all subtypes. In some use cases, a new base item type can improve performance. For most use cases, it is the “component” item type. The subtype items can provide more properties, specific to those subtypes, that must be synchronized. For example, the metric family can define a process arguments property for the process subtype. This section includes the following tags:

ItemTypeName

Defines the name of the item base type to use in CA Performance Center.

ItemSubTypeName

Defines the name of the item subtype to use in CA Performance Center.

ItemTypeLabel

Specifies the user interface label to use when displaying a single component of this type.

ItemTypeLabelPlural

Specifies the user interface label to use when displaying multiple components of this type.

IsDeviceComponent

Specifies whether this item is a component of a device (typically set to True). When set to True, this tag indicates that this component is listed in the 'Device Components' view.

GroupBy

Defines whether to group components of this type in CA Performance Center. WHen set to True, a new menu entry below the 'Inventory' menu lets you list these components in their own group view.

Context

Specifies whether to create a context type in CA Performance Center automatically for components of this type (typically set to False).

Categorize

Specifies whether to create a dynamic group in CA Performance Center for components of this type (typically set to False).

Mapped

Identifies the Data Aggregator instance to which the component belongs when multiple Data Aggregator instances are synchronized with CA Performance Center.

Note: This element is set to False because it is not currently supported.

ItemPropertyList

Lists all the attributes that are synchronized to CA Performance Center as a property of an item type. This section includes the following tags for each attribute:

Name

Defines the internal name for this property in CA Performance Center.

Note: The Name tag has a maximum length of 32 characters. Do not exceed this limit.

Label

Specifies the label to display for this property in the CA Performance Center user interface.

AttributeName

References the component attribute populating this property during CA Performance Center synchronization.

Justification

Specifies the text justification in the CA Performance Center user interface when displaying this property.

Default: Left

DisplayWidth

Defines the width of the column (in millimeters) to use in the CA Performance Center user interface when displaying this property.

OrderBySQL

Identifies the Data Aggregator instance to which the component belongs when multiple Data Aggregator instances are synchronized with CA Performance Center.

Note: This element is set to False because it is not currently supported.

DatabaseType/MaxLength

Specifies an override of the default maximum length of the inferred database type to use for this property.

Note: For more information about each XML tag, see the inline documentation provided in the MetricFamily.xsd and Component.xsd files. For code examples, see the ProcessInfoMFWithComponent.xml file. This example file defines a metric family for gathering process metrics.

More information:

Create a Custom Metric Family XML File

ComponentDefinitionList

If your custom metric family introduces a new component, such as Process as shown in the following illustration, you define it in this section. ComponentDefinition specifies all properties for the creation of components for a metric family. The properties include definitions of more attributes to store in the database for a component, and information about synchronization of components and their attributes with CA Performance Center.

A list of the elements for ComponentDefinitionList for a metric family