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

wu-sheng 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 42b9e42  Revert "alarm: add `layers` filter on getAlarm and `layers` 
on AlarmMessage (#155)" (#156)
42b9e42 is described below

commit 42b9e42b352ac1900bce17ece8109ae30190f079
Author: 吴晟 Wu Sheng <[email protected]>
AuthorDate: Sat May 16 20:33:50 2026 +0800

    Revert "alarm: add `layers` filter on getAlarm and `layers` on AlarmMessage 
(#155)" (#156)
    
    This reverts commit a5395c9190dad62538dbf3ef3387c75439989b78.
---
 alarm.graphqls | 12 +-----------
 1 file changed, 1 insertion(+), 11 deletions(-)

diff --git a/alarm.graphqls b/alarm.graphqls
index a14f736..bc6ded6 100644
--- a/alarm.graphqls
+++ b/alarm.graphqls
@@ -33,12 +33,6 @@ type AlarmMessage {
     id: ID!
     # The entity name of the alarm triggered.
     name: String!
-    # The layers of the alarmed entity (service / instance / endpoint / 
process and their
-    # relations) belongs to at the time the alarm was raised. A service can be 
observed
-    # under multiple layers simultaneously (e.g., GENERAL + MESH); each entry 
here
-    # corresponds to one layer of the underlying entity served at alarm time.
-    # for the list of layer names.
-    layers: [String!]!
     message: String!
     events: [Event!]!
     tags: [KeyValue!]!
@@ -56,11 +50,7 @@ input AlarmTag {
 }
 
 extend type Query {
-    # `layers` (optional) filters to alarms whose underlying entity belongs to 
ANY of the
-    # given layers (set union, OR semantics). Empty or omitted = no layer 
filter applied.
-    # Layer values are the free-form strings used elsewhere in the protocol; 
see
-    # `Service.layers` and metadata-v2.graphqls for the canonical layer list.
-    getAlarm(duration: Duration!, scope: Scope, layers: [String!], keyword: 
String, paging: Pagination!, tags: [AlarmTag]): Alarms
+    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.

Reply via email to