Skip to content
This repository has been archived by the owner on Dec 11, 2022. It is now read-only.

Alerts not working #305

Closed
tribuste opened this issue Jan 12, 2021 · 0 comments · Fixed by #332
Closed

Alerts not working #305

tribuste opened this issue Jan 12, 2021 · 0 comments · Fixed by #332
Labels
duplicate This issue or pull request already exists

Comments

@tribuste
Copy link

Bug Report

When I tried to add alerting on created dashboard always getting error

Expected Behavior

Create alert working alert

Actual Behavior

When I hit test alert rule I'm getting "error": "tsdb.HandleRequest() error rpc error: code = Unavailable desc = transport is closing",

Steps to Reproduce the Problem

1.create a new dashboard
2.create a panel with google bigquery plugin
3.create a bigquery query
4.create an alert
5. test rule:

Specifications

Version:2.0.1
Platform:GKE k8s
Grafana Version: Grafana v7.3.4 (14c494085e)

{
  "firing": true,
  "state": "pending",
  "conditionEvals": " = true",
  "timeMs": "444.552ms",
  "error": "tsdb.HandleRequest() error rpc error: code = Unavailable desc = transport is closing",
  "logs": [
    {
      "message": "Condition[0]: Query",
      "data": {
        "from": 1609756651420,
        "queries": [
          {
            "refId": "A",
            "model": {
              "dataset": "xxxxxx_billing",
              "format": "time_series",
              "group": [],
              "location": "xxxxxxxxxx",
              "metricColumn": "none",
              "orderByCol": "1",
              "orderBySort": "1",
              "partitioned": true,
              "partitionedField": "",
              "project": "xxxxxxxxxx",
              "rawQuery": false,
              "rawSql": "SELECT\n  time_column,\n  value1\nFROM\n  metric_table\nWHERE\n  $__timeFilter(time_column)\n",
              "refId": "A",
              "select": [
                [
                  {
                    "params": [
                      "usage.amount"
                    ],
                    "type": "column"
                  }
                ]
              ],
              "sharded": false,
              "table": "gcp_billing_export_v1_xxxxxxx",
              "timeColumn": "usage_start_time",
              "timeColumnType": "TIMESTAMP",
              "where": [
                {
                  "name": "$__timeFilter",
                  "params": [],
                  "type": "macro"
                }
              ]
            },
            "datasource": {
              "id": 3,
              "name": "Bigquery"
            },
            "maxDataPoints": 0,
            "intervalMs": 0
          }
        ],
        "to": 1609756951420
      }
    }
  ]
}
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
duplicate This issue or pull request already exists
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants