Thanos · Schema

MatrixResult

MetricsMonitoringObservabilityPrometheusTime Series Database

Properties

Name Type Description
metric object Label set identifying the metric
values array Array of [timestamp, value] pairs
View JSON Schema on GitHub

JSON Schema

thanos-matrixresult-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/MatrixResult",
  "title": "MatrixResult",
  "type": "object",
  "properties": {
    "metric": {
      "type": "object",
      "additionalProperties": {
        "type": "string"
      },
      "description": "Label set identifying the metric"
    },
    "values": {
      "type": "array",
      "description": "Array of [timestamp, value] pairs",
      "items": {
        "type": "array",
        "items": {},
        "minItems": 2,
        "maxItems": 2
      }
    }
  }
}