You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@skywalking.apache.org by "kezhenxu94 (via GitHub)" <gi...@apache.org> on 2023/02/22 01:24:19 UTC

[GitHub] [skywalking-booster-ui] kezhenxu94 commented on a diff in pull request #239: feat: add a calculation for `cpm5d`

kezhenxu94 commented on code in PR #239:
URL: https://github.com/apache/skywalking-booster-ui/pull/239#discussion_r1113730974


##########
src/views/dashboard/data.ts:
##########
@@ -309,7 +309,7 @@ export const CalculationOpts = [
     value: "convertMilliseconds",
   },
   { label: "Seconds to YYYY-MM-DD HH:mm:ss", value: "convertSeconds" },
-  { label: "Precision is 2", value: "precision" },
+  { label: "CPM5D", value: "cpm5d" },

Review Comment:
   Hardcoding this label to CPM5D looks unreasonable to me. This calculation type can be selected even if the chart is not `cpm`, for example in the demo video you can select `CPM5D` for the apdex charts. So I'm curious why not use the previous label like `Precision is 5 digits` or so?



-- 
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.

To unsubscribe, e-mail: notifications-unsubscribe@skywalking.apache.org

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