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

tanjian pushed a commit to branch fix_comment
in repository https://gitbox.apache.org/repos/asf/skywalking-query-protocol.git

commit 6d6aea03369b706909593c0fcad4a0cf4953fc6e
Author: jian.tan <jian....@daocloud.io>
AuthorDate: Fri Feb 11 16:59:51 2022 +0800

    fix comment for metric condition
---
 metric.graphqls     | 8 ++++----
 metrics-v2.graphqls | 4 ++--
 2 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/metric.graphqls b/metric.graphqls
index f04c2bb..6996bd4 100644
--- a/metric.graphqls
+++ b/metric.graphqls
@@ -20,8 +20,8 @@
 input MetricCondition {
     # Metric name, which should be defined in OAL script
     # Such as:
-    # Endpoint_avg = from(Endpoint.latency).avg()
-    # Then, `Endpoint_avg`
+    # endpoint_resp_time = from(Endpoint.latency).avg()
+    # Then, `endpoint_resp_time`
     name: String!
     # Id in this metric type.
     # In the above case, the id should be endpoint id.
@@ -31,8 +31,8 @@ input MetricCondition {
 input BatchMetricConditions {
     # Metric name, which should be defined in OAL script
     # Such as:
-    # Endpoint_avg = from(Endpoint.latency).avg()
-    # Then, `Endpoint_avg`
+    # endpoint_resp_time = from(Endpoint.latency).avg()
+    # Then, `endpoint_resp_time`
     name: String!
     # Id in this metric type.
     # In the above case, the id should be endpoint id.
diff --git a/metrics-v2.graphqls b/metrics-v2.graphqls
index d1cf512..fd426a4 100644
--- a/metrics-v2.graphqls
+++ b/metrics-v2.graphqls
@@ -58,8 +58,8 @@ input Entity {
 input MetricsCondition {
     # Metrics name, which should be defined in OAL script
     # Such as:
-    # Endpoint_avg = from(Endpoint.latency).avg()
-    # Then, `Endpoint_avg`
+    # endpoint_resp_time = from(Endpoint.latency).avg()
+    # Then, `endpoint_resp_time`
     name: String!
     # Follow entity definition description.
     entity: Entity!

Reply via email to