Skip to content

Commit

Permalink
Update Prometheus RuleGroup specs
Browse files Browse the repository at this point in the history
Signed-off-by: Nam Hai Nguyen <[email protected]>
  • Loading branch information
namm2 authored and holzensp committed May 28, 2024
1 parent 18cee9d commit 47e3720
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions packages/io.prometheus/Rule.pkl
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,12 @@ class RecordingRuleGroup {
/// How often rules in the group are evaluated.
interval: Duration?

/// Thanos Ruler's partial response behavior
partial_response_strategy: String?

/// Limit the number of alerts an alerting rule and series a recording rule can produce.
limit: Int?

rules: Listing<RecordingRule>
}

Expand All @@ -51,6 +57,12 @@ class AlertingRuleGroup {
/// How often rules in the group are evaluated.
interval: Duration?

/// Thanos Ruler's partial response behavior
partial_response_strategy: String?

/// Limit the number of alerts an alerting rule and series a recording rule can produce.
limit: Int?

rules: Listing<AlertingRule>
}

Expand Down

0 comments on commit 47e3720

Please sign in to comment.