Thanos · Schema

RuleGroup

MetricsMonitoringObservabilityPrometheusTime Series Database

Properties

Name Type Description
name string
file string
interval number
rules array
partialResponseStrategy string Thanos-specific field for partial response handling
View JSON Schema on GitHub

JSON Schema

thanos-rulegroup-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/RuleGroup",
  "title": "RuleGroup",
  "type": "object",
  "properties": {
    "name": {
      "type": "string"
    },
    "file": {
      "type": "string"
    },
    "interval": {
      "type": "number",
      "format": "double"
    },
    "rules": {
      "type": "array",
      "items": {
        "oneOf": [
          {
            "$ref": "#/components/schemas/AlertingRule"
          },
          {
            "$ref": "#/components/schemas/RecordingRule"
          }
        ]
      }
    },
    "partialResponseStrategy": {
      "type": "string",
      "description": "Thanos-specific field for partial response handling"
    }
  }
}