package model

type ThanosResponse struct {
	Status string
	Data   ThanosData
	Error  string
}

type ThanosData struct {
	Result []ThanosResult
}

type ThanosResult struct {
	Metric ThanosMetric
	Values ThanosValues
}

type ThanosMetric struct {
	MetricName          string `json:"__name__"`
	Cluster             string `json:"cluster"`
	ClusterId           string `json:"cluster_id"`
	Component           string `json:"component"`
	Instance            string `json:"instance"`
	Job                 string `json:"job"`
	KubernetesNamespace string `json:"kubernetes_namespace"`
	Name                string `json:"name"`
	Project             string `json:"project"`
	Receive             string `json:"receive"`
	SeedProvider        string `json:"seed_provider"`
	SeedRegion          string `json:"seed_region"`
	ShootInfra          string `json:"shoot_infra"`
	ShootName           string `json:"shoot_name"`
	Tenant              string `json:"tenant"`
	TenantId            string `json:"tenant_id"`
	TidbCluster         string `json:"tidb_cluster"`
	Type                string `json:"type"`
	Db                  string `json:"db"`
	Reason              string `json:"reason"`
}

type ThanosValues [][]any
