IBM BPM, V8.0.1, All platforms > Authoring services in Integration Designer > Developing monitor models > What are monitor models? > Monitor XML schema definition (monitor.xsd) > XML schema (monitor.xsd) description

Visual model elements

The visual model definition in the monitor model can optionally associate a diagram representation with each monitoring context and KPI context. This diagram is displayed in the dashboards in the Diagram portlet. You can use the visual model to attach a Scalable Vector Graphics (SVG) diagram to the context and specify how the diagram is annotated based on the values of key performance indicators (KPIs) and metrics at run time.

Diagrams can be customized in the following ways:

Each type of customization can be conditionally applied based on the values of metrics, counters, or stopwatches in the context with which the visualization is associated. KPI values can also be referenced in these conditions. For visual model action conditions and the textValue expressions for SetTextType, use an XML Path Language (XPath) 2.0 expression as specified in Expression support.

In the expressions, references can be made to metrics, counters, and stopwatches in monitoring contexts, and to KPI values in KPI contexts.

The following expression returns the sum of two numeric metrics with a counter:

MyFirstMetric + MySecondMetric + MyCounter

The sections that follow describe each element in the visual model portion of the monitor model XML schema.

XML schema (monitor.xsd) description