You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@skywalking.apache.org by wa...@apache.org on 2024/09/29 01:06:39 UTC

(skywalking-query-protocol) 01/01: Support alarm msg tag auto-complete query.

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

wankai pushed a commit to branch alarm-auto-complete
in repository https://gitbox.apache.org/repos/asf/skywalking-query-protocol.git

commit 15342d1a925475ae6d9a3e7833ecc3f459226048
Author: wankai123 <wa...@foxmail.com>
AuthorDate: Sun Sep 29 09:06:26 2024 +0800

    Support alarm msg tag auto-complete query.
---
 alarm.graphqls | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/alarm.graphqls b/alarm.graphqls
index 747ea9c..bcb97a4 100644
--- a/alarm.graphqls
+++ b/alarm.graphqls
@@ -40,4 +40,8 @@ input AlarmTag {
 extend type Query {
     getAlarmTrend(duration: Duration!): AlarmTrend!
     getAlarm(duration: Duration!, scope: Scope, keyword: String, paging: Pagination!, tags: [AlarmTag]): Alarms
+    # Read the list of searchable keys
+    queryAlarmTagAutocompleteKeys(duration: Duration!):[String!]
+    # Search the available value options of the given key.
+    queryAlarmTagAutocompleteValues(tagKey: String! , duration: Duration!):[String!]
 }