You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@skywalking.apache.org by GitBox <gi...@apache.org> on 2021/01/06 12:20:38 UTC

[GitHub] [skywalking-rocketbot-ui] wu-sheng commented on a change in pull request #409: fix: update dashboard wrong instance and add a legend for topology

wu-sheng commented on a change in pull request #409:
URL: https://github.com/apache/skywalking-rocketbot-ui/pull/409#discussion_r552552733



##########
File path: src/views/components/topology/chart/utils/nodeElement.js
##########
@@ -49,7 +49,7 @@ export default (d3, graph, tool, funcs, tip) => {
     .attr('x', 2)
     .attr('y', 10)
     .attr('style', 'cursor: move;')
-    .attr('xlink:href', (d) => ((d.sla < 98 && d.isReal) ? icons.CUBEERROR : icons.CUBE));
+    .attr('xlink:href', (d) => (d.sla < 98 && d.isReal && d.cpm > 1 ? icons.CUBEERROR : icons.CUBE));

Review comment:
       Let's reduce the expectation of sla to 95. And we need to describe this clearly on the UI.
   - Healthy
   - Unhealthy(Successful Rate < 95% and Traffic > 1 call/min)




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org