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 2021/06/10 08:36:43 UTC

[skywalking] branch website-docs/8.5.0 updated: Fix doc bug (#7093) (#7103)

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

wusheng pushed a commit to branch website-docs/8.5.0
in repository https://gitbox.apache.org/repos/asf/skywalking.git


The following commit(s) were added to refs/heads/website-docs/8.5.0 by this push:
     new 5ed08b9  Fix doc bug (#7093) (#7103)
5ed08b9 is described below

commit 5ed08b9eef94a921619798633485884d7d86ab56
Author: xdRight <34...@users.noreply.github.com>
AuthorDate: Thu Jun 10 16:36:29 2021 +0800

    Fix doc bug (#7093) (#7103)
---
 docs/en/concepts-and-designs/oal.md | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/docs/en/concepts-and-designs/oal.md b/docs/en/concepts-and-designs/oal.md
index 533c79b..5e580fb 100644
--- a/docs/en/concepts-and-designs/oal.md
+++ b/docs/en/concepts-and-designs/oal.md
@@ -58,8 +58,8 @@ In this case, all input represents requests of each endpoint, and the condition
 In this case, all input represents requests of each browser app traffic, the `numerator` condition is `trafficCategory == BrowserAppTrafficCategory.FIRST_ERROR` and `denominator` condition is `trafficCategory == BrowserAppTrafficCategory.NORMAL`.
 Parameter (1) is the `numerator` condition.
 Parameter (2) is the `denominator` condition.
-- `sum`. The sum of calls per scope entity.
-> service_calls_sum = from(Service.*).sum();
+- `count`. The sum of calls per scope entity.
+> service_calls_sum = from(Service.*).count();
 
 In this case, the number of calls of each service. 
 
@@ -121,13 +121,13 @@ endpoint_percentile = from(Endpoint.latency).percentile(10)
 endpoint_success = from(Endpoint.*).filter(status == true).percent()
 
 // Calculate the sum of response code in [404, 500, 503], for each service.
-endpoint_abnormal = from(Endpoint.*).filter(responseCode in [404, 500, 503]).sum()
+endpoint_abnormal = from(Endpoint.*).filter(responseCode in [404, 500, 503]).count()
 
 // Calculate the sum of request type in [RequestType.RPC, RequestType.gRPC], for each service.
-endpoint_rpc_calls_sum = from(Endpoint.*).filter(type in [RequestType.RPC, RequestType.gRPC]).sum()
+endpoint_rpc_calls_sum = from(Endpoint.*).filter(type in [RequestType.RPC, RequestType.gRPC]).count()
 
 // Calculate the sum of endpoint name in ["/v1", "/v2"], for each service.
-endpoint_url_sum = from(Endpoint.*).filter(endpointName in ["/v1", "/v2"]).sum()
+endpoint_url_sum = from(Endpoint.*).filter(name in ["/v1", "/v2"]).count()
 
 // Calculate the sum of calls for each service.
 endpoint_calls = from(Endpoint.*).count()