0

我正在使用 Grafana 版本:v6.7.3 (a04ef6cefc)

在我的小部件仪表板中创建新警报后,我看到以下错误:

错误:tsdb.HandleRequest() 错误 bad_response: readObjectStart: expect { or n, but found <, error found in #5 byte of ...|

该错误似乎触发类似于警报。有没有其他人遇到过类似的事情?

在此处输入图像描述

错误 JSON 输出

{
  "firing": true,
  "state": "pending",
  "conditionEvals": " = true",
  "timeMs": "24.602ms",
  "error": "tsdb.HandleRequest() error bad_response: readObjectStart: expect { or n, but found <, error found in #5 byte of ...|    <!DOCTYPE h|..., bigger context ...|    <!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transi|...",
  "logs": [
    {
      "message": "Condition[0]: Query",
      "data": {
        "from": 1637767915735,
        "queries": [
          {
            "refId": "A",
            "model": {
              "expr": "sum by (code, app_kubernetes_io_instance)(rate(nginx_server_requests{app_kubernetes_io_instance=~\"vue-frontend\",code=~\"4..\"}[1m]))",
              "format": "time_series",
              "hide": false,
              "instant": false,
              "interval": "",
              "intervalFactor": 1,
              "legendFormat": "{{code}} on {{app_kubernetes_io_instance}}",
              "refId": "A"
            },
            "datasource": {
              "id": 14,
              "name": "prom-dev.bricsys247.com"
            },
            "maxDataPoints": 0,
            "intervalMs": 0
          }
        ],
        "to": 1637768215735
      }
    }
  ]
}
4

0 回答 0