Fix node sla metirc unit problem
Fix https://github.com/apache/incubator-skywalking/issues/1923
diff --git a/src/components/Topology/AppTopology.js b/src/components/Topology/AppTopology.js
index 1568f69..78d65c4 100644
--- a/src/components/Topology/AppTopology.js
+++ b/src/components/Topology/AppTopology.js
@@ -104,7 +104,7 @@
const colors = ["#cf1322", "#40a9ff"];
const nodeId = node.id();
const nodeSla = slaValues.find(_ => _.id === nodeId);
- let sla = 100;
+ let sla = 10000;
if (nodeSla) {
sla = nodeSla.value;
}
@@ -119,7 +119,7 @@
ctx.translate(pos.x, pos.y);
- const arcs = pie([100 - sla, sla]);
+ const arcs = pie([10000 - sla, sla]);
arcs.forEach((d, i) => {
ctx.beginPath();