Thanos · Schema

ActiveTarget

MetricsMonitoringObservabilityPrometheusTime Series Database

Properties

Name Type Description
discoveredLabels object
labels object
scrapePool string
scrapeUrl string
globalUrl string
lastError string
lastScrape string
lastScrapeDuration number
health string
View JSON Schema on GitHub

JSON Schema

thanos-activetarget-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/ActiveTarget",
  "title": "ActiveTarget",
  "type": "object",
  "properties": {
    "discoveredLabels": {
      "type": "object",
      "additionalProperties": {
        "type": "string"
      }
    },
    "labels": {
      "type": "object",
      "additionalProperties": {
        "type": "string"
      }
    },
    "scrapePool": {
      "type": "string"
    },
    "scrapeUrl": {
      "type": "string"
    },
    "globalUrl": {
      "type": "string"
    },
    "lastError": {
      "type": "string"
    },
    "lastScrape": {
      "type": "string",
      "format": "date-time"
    },
    "lastScrapeDuration": {
      "type": "number",
      "format": "double"
    },
    "health": {
      "type": "string",
      "enum": [
        "up",
        "down",
        "unknown"
      ]
    }
  }
}