Thanos · Schema

VectorResult

MetricsMonitoringObservabilityPrometheusTime Series Database

Properties

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

JSON Schema

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