cross-report-model.xml
2.24 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
<?xml version="1.0" encoding="UTF-8"?>
<model model-package="com.dianping.cat.consumer.cross.model" enable-merger="true" enable-sax-parser="true"
enable-base-visitor="true" enable-native-parser="true" enable-native-builder="true">
<entity name="cross-report" root="true">
<attribute name="domain" key="true" />
<element name="domain" value-type="String" type="set" names="domain-names" />
<element name="ip" value-type="String" type="set" names="ips" />
<entity-ref name="local" type="map" names="locals" method-find-or-create="true" />
</entity>
<entity name="local">
<attribute name="id" value-type="String" key="true" />
<entity-ref name="remote" type="map" names="remotes" method-find-or-create="true" />
</entity>
<entity name="remote">
<attribute name="id" value-type="String" key="true" />
<attribute name="role" value-type="String" />
<attribute name="app" value-type="String" />
<entity-ref name="type" />
<attribute name="ip" value-type="String" />
</entity>
<entity name="type">
<attribute name="id" value-type="String" />
<attribute name="totalCount" value-type="long" primitive="true" method-inc="true" />
<attribute name="failCount" value-type="int" primitive="true" method-inc="true" />
<attribute name="failPercent" value-type="double" primitive="true" format="0.00" />
<attribute name="avg" value-type="double" primitive="true" format="0.00" />
<attribute name="sum" value-type="double" primitive="true" format="0.00" />
<attribute name="tps" value-type="double" primitive="true" format="0.00" />
<entity-ref name="name" type="map" names="names" method-find-or-create="true" />
</entity>
<entity name="name">
<attribute name="id" value-type="String" key="true" />
<attribute name="totalCount" value-type="long" primitive="true" method-inc="true" />
<attribute name="failCount" value-type="int" primitive="true" method-inc="true" />
<attribute name="failPercent" value-type="double" primitive="true" format="0.00" />
<attribute name="avg" value-type="double" primitive="true" format="0.00" />
<attribute name="sum" value-type="double" primitive="true" format="0.00" />
<attribute name="tps" value-type="double" primitive="true" format="0.00" />
</entity>
</model>