From 4836883d752c6efccfbe21b7d964dc633c69487d Mon Sep 17 00:00:00 2001 From: peng-yongsheng <8082209@qq.com> Date: Tue, 13 Feb 2018 23:52:00 +0800 Subject: [PATCH] Change the data type of sla and apdex attributes from Float to Int. --- .../resources/ui-graphql/application-layer.graphqls | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/apm-protocol/apm-ui-protocol/src/main/resources/ui-graphql/application-layer.graphqls b/apm-protocol/apm-ui-protocol/src/main/resources/ui-graphql/application-layer.graphqls index 1cf9643f3..e527d6e4e 100644 --- a/apm-protocol/apm-ui-protocol/src/main/resources/ui-graphql/application-layer.graphqls +++ b/apm-protocol/apm-ui-protocol/src/main/resources/ui-graphql/application-layer.graphqls @@ -4,17 +4,17 @@ type ApplicationNode implements Node { name: String! type: String # Success rate of all incoming requests. - # Max value is 100. - # 2 Digits after floating point. - sla: Float! + # Max value is 10000. + # 2 Digits after floating point in UI, need to division by 100. 10000 -> 100.00 + sla: Int! # The number of incoming calls callsPerSec: Long! # Unit: millisecond responseTimePerSec: Long! # ref: http://www.apdex.org/ - # Max value is 1 - # 2 Digits after floating point. - apdex: Float! + # Max value is 100 + # 2 Digits after floating point in UI, need to division by 100. 100 -> 1.00 + apdex: Int! # Whether the application alerts? # Default value is false. isAlarm: Boolean!