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/05/09 23:29:58 UTC

[skywalking] branch master updated: fix alarm query time bucket error (#4768)

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

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


The following commit(s) were added to refs/heads/master by this push:
     new 50c4911  fix alarm query time bucket error (#4768)
50c4911 is described below

commit 50c4911adc68be4947b46829ac3c39dc902ae549
Author: mrproliu <74...@qq.com>
AuthorDate: Sun May 10 07:29:41 2020 +0800

    fix alarm query time bucket error (#4768)
    
    Co-authored-by: Mrproliu <mr...@lagou.com>
---
 .../org/apache/skywalking/oap/query/graphql/resolver/AlarmQuery.java    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/oap-server/server-query-plugin/query-graphql-plugin/src/main/java/org/apache/skywalking/oap/query/graphql/resolver/AlarmQuery.java b/oap-server/server-query-plugin/query-graphql-plugin/src/main/java/org/apache/skywalking/oap/query/graphql/resolver/AlarmQuery.java
index fe38bb9..d64f3ed 100644
--- a/oap-server/server-query-plugin/query-graphql-plugin/src/main/java/org/apache/skywalking/oap/query/graphql/resolver/AlarmQuery.java
+++ b/oap-server/server-query-plugin/query-graphql-plugin/src/main/java/org/apache/skywalking/oap/query/graphql/resolver/AlarmQuery.java
@@ -57,6 +57,6 @@ public class AlarmQuery implements GraphQLQueryResolver {
         }
 
         return getQueryService().getAlarm(
-            scopeId, keyword, paging, duration.getStartTimeBucket(), duration.getEndTimeBucket());
+            scopeId, keyword, paging, duration.getStartTimeBucketInSec(), duration.getEndTimeBucketInSec());
     }
 }