From 0dd9cc1e18cdb653a6b3f986cd10880e5fb77515 Mon Sep 17 00:00:00 2001 From: FrankyXu Date: Fri, 2 Apr 2021 12:13:59 +0800 Subject: [PATCH] Update oal.md (#6666) --- docs/en/concepts-and-designs/oal.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/en/concepts-and-designs/oal.md b/docs/en/concepts-and-designs/oal.md index af618b6ef0..4844d07a6c 100644 --- a/docs/en/concepts-and-designs/oal.md +++ b/docs/en/concepts-and-designs/oal.md @@ -130,7 +130,7 @@ endpoint_rpc_calls_sum = from(Endpoint.*).filter(type in [RequestType.RPC, Reque endpoint_url_sum = from(Endpoint.*).filter(endpointName in ["/v1", "/v2"]).sum() // Calculate the sum of calls for each service. -endpoint_calls = from(Endpoint.*).sum() +endpoint_calls = from(Endpoint.*).count() // Calculate the CPM with the GET method for each service.The value is made up with `tagKey:tagValue`. service_cpm_http_get = from(Service.*).filter(tags contain "http.method:GET").cpm() -- GitLab