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

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

commit 3282e024a6484fa404a8d55fcedf89dc53d36b33
Author: jian.tan <jian....@daocloud.io>
AuthorDate: Fri Feb 11 10:27:20 2022 +0800

    Keep the endpoint avg resp time meter name the same with others scope.
---
 CHANGES.md                                                | 1 +
 oap-server/server-starter/src/main/resources/oal/core.oal | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/CHANGES.md b/CHANGES.md
index 595bd51..6303ddb 100644
--- a/CHANGES.md
+++ b/CHANGES.md
@@ -55,6 +55,7 @@ Release Notes.
 * Add Guava EventBus component ID(123) of Java agent.
 * Add OpenFunction component ID(5013).
 * Expose configuration `responseTimeout` of ES client.
+* Keep the endpoint avg resp time meter name the same with others scope.
 
 #### UI
 
diff --git a/oap-server/server-starter/src/main/resources/oal/core.oal 
b/oap-server/server-starter/src/main/resources/oal/core.oal
index d95af57..59ee34b 100755
--- a/oap-server/server-starter/src/main/resources/oal/core.oal
+++ b/oap-server/server-starter/src/main/resources/oal/core.oal
@@ -59,7 +59,7 @@ service_instance_cpm = from(ServiceInstance.*).cpm();
 
 // Endpoint scope metrics
 endpoint_cpm = from(Endpoint.*).cpm();
-endpoint_avg = from(Endpoint.latency).longAvg();
+endpoint_resp_time = from(Endpoint.latency).longAvg();
 endpoint_sla = from(Endpoint.*).percent(status == true);
 endpoint_percentile = from(Endpoint.latency).percentile(10); // Multiple 
values including p50, p75, p90, p95, p99
 endpoint_mq_consume_count = from(Endpoint.*).filter(type == 
RequestType.MQ).count();

Reply via email to