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 13:39:44 UTC
[skywalking] branch endpoint-rela-metrics created (now d8b9260)
This is an automated email from the ASF dual-hosted git repository.
wusheng pushed a change to branch endpoint-rela-metrics
in repository https://gitbox.apache.org/repos/asf/skywalking.git.
at d8b9260 Add two metrics for endpoint relationship.
This branch includes the following new commits:
new d8b9260 Add two metrics for endpoint relationship.
The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
[skywalking] 01/01: Add two metrics for endpoint relationship.
Posted by wu...@apache.org.
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 <wu...@foxmail.com>
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);