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 2021/04/24 14:28:44 UTC
[skywalking-query-protocol] branch master updated: Support alarm
tags (#56)
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-query-protocol.git
The following commit(s) were added to refs/heads/master by this push:
new 0c2388b Support alarm tags (#56)
0c2388b is described below
commit 0c2388ba18cfc1b1b103ddad71f9765bd21dff6e
Author: liqiangz <li...@gmail.com>
AuthorDate: Sat Apr 24 22:28:36 2021 +0800
Support alarm tags (#56)
---
alarm.graphqls | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/alarm.graphqls b/alarm.graphqls
index 9edad3d..c6b0b92 100644
--- a/alarm.graphqls
+++ b/alarm.graphqls
@@ -24,6 +24,7 @@ type AlarmMessage {
scope: Scope
id: ID!
message: String!
+ tags: [KeyValue!]!
}
type Alarms {
@@ -31,7 +32,12 @@ type Alarms {
total: Int!
}
+input AlarmTag {
+ key: String!
+ value: String
+}
+
extend type Query {
getAlarmTrend(duration: Duration!): AlarmTrend!
- getAlarm(duration: Duration!, scope: Scope, keyword: String, paging: Pagination!): Alarms
+ getAlarm(duration: Duration!, scope: Scope, keyword: String, paging: Pagination!, tags: [AlarmTag]): Alarms
}