Aller au contenu

ThanosQueryIsDown#

This alert indicates that Thanos Query metrics are not available.

Troubleshooting Hints#

kubectl get pods -n  <monitoring_namespace> | grep querier  # check pod is up and running
kubectl logs <thanos_querier> -n <monitoring_namespace>
kubectl get svc -n  <monitoring_namespace> | grep querier

To check metrics availability for Thanos Query:

kubectl port-forward svc/thanos-<monitoring_namespace>-querier 9090:9090 -n <monitoring_namespace> &
curl -sL http://localhost:9090/metrics

Tip

Where <monitoring_namespace> can be:

  • Zone Cloud: monitoring, monitoring-client or monitoring-app
  • Zone Infra: monitoring or monitoring-consumption
  • Notice the namespace label in the alert