rancher / opni

Multi Cluster Observability with AIOps

Home Page:https://opni.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Alerting Group Ids

alexandreLamarre opened this issue · comments

Feature #1493 introduces group Ids so AlertCondition types move from using a core.Reference to a condition.Reference which includes the group id :

message ConditionReference {
  string id = 1;
  // empty string represents the default group
  string groupId = 2;
}

And an additional API to discover the defined groups:

rpc ListAlertConditionGroups(google.protobuf.Empty) returns (core.ReferenceList){
    option (google.api.http) = {
      get : "/groups"
    };
  }

Conditions have a field GroupId

message AlertCondition {
  // ...
  string groupId = 13;
}

this field can be edited to assign a condition to a specific groups

  • the default groups is ""
  • group creation & deletion is implicitly managed by the backend