You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@skywalking.apache.org by wu...@apache.org on 2020/06/30 14:51:51 UTC

[skywalking] branch master updated: Add two metrics for endpoint relationship. (#4997)

This is an automated email from the ASF dual-hosted git repository.

wusheng pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/skywalking.git


The following commit(s) were added to refs/heads/master by this push:
     new 709acb0  Add two metrics for endpoint relationship. (#4997)
709acb0 is described below

commit 709acb0c48159f270fcf87d32fa4f0224b2d6751
Author: 吴晟 Wu Sheng <wu...@foxmail.com>
AuthorDate: Tue Jun 30 22:51:37 2020 +0800

    Add two metrics for endpoint relationship. (#4997)
---
 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);