Thanos · Schema

BlocksResponse

Response containing metadata for TSDB blocks managed by the Compactor.

MetricsMonitoringObservabilityPrometheusTime Series Database

Properties

Name Type Description
status string Status of the response.
data object Block metadata payload.
View JSON Schema on GitHub

JSON Schema

thanos-blocksresponse-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/BlocksResponse",
  "title": "BlocksResponse",
  "type": "object",
  "description": "Response containing metadata for TSDB blocks managed by the Compactor.",
  "properties": {
    "status": {
      "type": "string",
      "description": "Status of the response.",
      "enum": [
        "success",
        "error"
      ]
    },
    "data": {
      "type": "object",
      "description": "Block metadata payload.",
      "properties": {
        "blocks": {
          "type": "array",
          "description": "List of block metadata entries.",
          "items": {
            "$ref": "#/components/schemas/BlockMeta"
          }
        },
        "label": {
          "type": "string",
          "description": "External label identifying the object storage tenant."
        }
      }
    }
  }
}