topology-graph-config-model.xml
2.22 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
<?xml version="1.0" encoding="UTF-8"?>
<model model-package="com.dianping.cat.home.dependency.config" enable-merger="true" enable-sax-parser="true"
enable-base-visitor="true" >
<entity name="topology-graph-config" root="true">
<entity-ref name="node-config" type="map" names="node-configs" method-find-or-create="true" />
<entity-ref name="edge-config" type="map" names="edge-configs" method-find-or-create="true" />
</entity>
<entity name="node-config">
<attribute name="type" value-type="String" key="true"/>
<attribute name="default-min-count-threshold" value-type="int" primitive="true" default-value="100"/>
<attribute name="default-warning-threshold" value-type="int" />
<attribute name="default-error-threshold" value-type="int" />
<attribute name="default-warning-response-time" value-type="double" />
<attribute name="default-error-response-time" value-type="double" />
<entity-ref name="domain-config" type="map" names="domainConfigs" method-find-or-create="true" />
</entity>
<entity name="domain-config">
<attribute name="id" value-type="String" key="true"/>
<attribute name="min-count-threshold" value-type="int" primitive="true" default-value="100"/>
<attribute name="warning-threshold" value-type="int" primitive="true" />
<attribute name="error-threshold" value-type="int" primitive="true" />
<attribute name="warning-response-time" value-type="double" primitive="true" />
<attribute name="error-response-time" value-type="double" primitive="true" />
</entity>
<entity name="edge-config">
<attribute name="key" value-type="String" key="true"/>
<attribute name="type" value-type="String" />
<attribute name="from" value-type="String" />
<attribute name="to" value-type="String" />
<attribute name="min-count-threshold" value-type="int" primitive="true" default-value="100"/>
<attribute name="warning-threshold" value-type="int" primitive="true" />
<attribute name="error-threshold" value-type="int" primitive="true" />
<attribute name="warning-response-time" value-type="double" primitive="true" />
<attribute name="error-response-time" value-type="double" primitive="true" />
</entity>
</model>