monitor-rules-codegen.xml
1.14 KB
<?xml version="1.0" encoding="UTF-8"?>
<model>
<entity name="monitor-rules" root="true">
<entity-ref name="rule" type="list" names="rules" />
</entity>
<entity name="rule">
<attribute name="id" value-type="String" />
<entity-ref name="metric-item" type="list" names="metric-items" />
<entity-ref name="config" />
</entity>
<entity name="metric-item">
<attribute name="monitorCount" value-type="boolean" />
<attribute name="monitorSum" value-type="boolean" />
<attribute name="monitorAvg" value-type="boolean" />
<attribute name="productText" value-type="String" />
<attribute name="metricItemText" value-type="String" />
</entity>
<entity name="config">
<attribute name="starttime" value-type="String" />
<attribute name="endtime" value-type="String" />
<entity-ref name="condition" />
</entity>
<entity name="condition">
<attribute name="minute" value-type="int" />
<entity-ref name="sub-condition" />
</entity>
<entity name="sub-condition">
<attribute name="type" value-type="String" />
<attribute name="text" value-type="String" />
</entity>
</model>