state-report-model.xml
3.8 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
<?xml version="1.0" encoding="UTF-8"?>
<model model-package="com.dianping.cat.consumer.state.model" enable-merger="true" enable-sax-parser="true"
enable-base-visitor="true" enable-native-parser="true" enable-native-builder="true">
<entity name="state-report" root="true">
<attribute name="domain" value-type="String" key="true" />
<attribute name="startTime" value-type="Date" format="yyyy-MM-dd HH:mm:ss" />
<attribute name="endTime" value-type="Date" format="yyyy-MM-dd HH:mm:ss" />
<entity-ref name="machine" type="map" names="machines" method-find-or-create="true" />
</entity>
<entity name="machine">
<attribute name="total" value-type="long" primitive="true" />
<attribute name="totalLoss" value-type="long" primitive="true" />
<attribute name="ip" value-type="String" key="true" />
<attribute name="maxTps" value-type="double" primitive="true" format="0.0" />
<attribute name="avgTps" value-type="double" primitive="true" format="0.0" />
<attribute name="blockTotal" value-type="long" primitive="true" />
<attribute name="blockLoss" value-type="long" primitive="true" />
<attribute name="blockTime" value-type="long" primitive="true" />
<attribute name="pigeonTimeError" value-type="long" primitive="true" />
<attribute name="networkTimeError" value-type="long" primitive="true" />
<attribute name="dump" value-type="long" primitive="true" />
<attribute name="dumpLoss" value-type="long" primitive="true" />
<attribute name="size" value-type="double" primitive="true" format="0.0" />
<attribute name="delaySum" value-type="double" primitive="true" format="0.0" />
<attribute name="delayAvg" value-type="double" primitive="true" format="0.0" />
<attribute name="delayCount" value-type="int" primitive="true" />
<entity-ref name="processDomain" type="map" names="processDomains" method-find-or-create="true" />
<entity-ref name="message" type="map" names="messages" method-find-or-create="true" />
</entity>
<entity name="processDomain">
<attribute name="name" value-type="String" key="true" />
<attribute name="total" value-type="long" primitive="true"/>
<attribute name="totalLoss" value-type="long" primitive="true"/>
<attribute name="size" value-type="double" primitive="true" format="0.0"/>
<attribute name="avg" value-type="double" primitive="true" format="0.0"/>
<element name="ip" value-type="String" type="set" names="ips" />
<entity-ref name="detail" type="map" names="details" method-find-or-create="true" />
</entity>
<entity name="detail">
<attribute name="id" value-type="long" key="true" />
<attribute name="total" value-type="long" primitive="true" />
<attribute name="size" value-type="double" primitive="true" format="0.0" />
<attribute name="totalLoss" value-type="long" primitive="true" />
</entity>
<entity name="message">
<attribute name="id" value-type="long" key="true"/>
<attribute name="time" value-type="Date" format="yyyy-MM-dd HH:mm:ss" />
<attribute name="total" value-type="long" primitive="true" />
<attribute name="size" value-type="double" primitive="true" format="0.0" />
<attribute name="totalLoss" value-type="long" primitive="true" />
<attribute name="pigeonTimeError" value-type="long" primitive="true" />
<attribute name="networkTimeError" value-type="long" primitive="true" />
<attribute name="blockTotal" value-type="long" primitive="true" />
<attribute name="blockLoss" value-type="long" primitive="true" />
<attribute name="blockTime" value-type="long" primitive="true" />
<attribute name="dump" value-type="long" primitive="true" />
<attribute name="dumpLoss" value-type="long" primitive="true" />
<attribute name="delaySum" value-type="double" primitive="true" format="0.0" />
<attribute name="delayCount" value-type="int" primitive="true" />
</entity>
</model>