This is an automated email from the ASF dual-hosted git repository. wusheng pushed a commit to branch endpoint-rela-metrics in repository https://gitbox.apache.org/repos/asf/skywalking.git
commit d8b9260434a507d6b6e17b55adf8e2ea0d5d4418 Author: Wu Sheng <[email protected]> AuthorDate: Tue Jun 30 21:39:21 2020 +0800 Add two metrics for endpoint relationship. --- oap-server/server-bootstrap/src/main/resources/oal/core.oal | 2 ++ 1 file changed, 2 insertions(+) diff --git a/oap-server/server-bootstrap/src/main/resources/oal/core.oal b/oap-server/server-bootstrap/src/main/resources/oal/core.oal index 127747f..48af721 100755 --- a/oap-server/server-bootstrap/src/main/resources/oal/core.oal +++ b/oap-server/server-bootstrap/src/main/resources/oal/core.oal @@ -61,6 +61,8 @@ endpoint_percentile = from(Endpoint.latency).percentile(10); // Multiple values // Endpoint relation scope metrics endpoint_relation_cpm = from(EndpointRelation.*).filter(detectPoint == DetectPoint.SERVER).cpm(); endpoint_relation_resp_time = from(EndpointRelation.rpcLatency).filter(detectPoint == DetectPoint.SERVER).longAvg(); +endpoint_relation_sla = from(EndpointRelation.*).filter(detectPoint == DetectPoint.SERVER).percent(status == true); +endpoint_relation_percentile = from(EndpointRelation.rpcLatency).filter(detectPoint == DetectPoint.SERVER).percentile(10); // Multiple values including p50, p75, p90, p95, p99 database_access_resp_time = from(DatabaseAccess.latency).longAvg(); database_access_sla = from(DatabaseAccess.*).percent(status == true);
