Grafana Alerts return: `rpc error: code = Unknown desc = invalid status code`
See original GitHub issueHello Team,
Thank you so much the continued work on this amazing, vital plugin for Grafana.
While trying the Alerting support on Grafana v7.3.3 (2489dc4d3a) I’m always receiving the following error. Mind the timeseries are correctly returned and displayed. Any suggestion?
clickhouse-grafana query:
$columns(ruri_user, avg(mos) c ) FROM $table WHERE mos > 0
clickhouse-grafana error:
{
"firing": true,
"state": "pending",
"conditionEvals": " = true",
"timeMs": "6.302ms",
"error": "tsdb.HandleRequest() error rpc error: code = Unknown desc = invalid status code. status: 500 Internal Server Error",
"logs": [
{
"message": "Condition[0]: Query",
"data": {
"from": 1605875259316,
"queries": [
{
"refId": "A",
"model": {
"database": "hepic_data",
"dateColDataType": "",
"dateLoading": false,
"dateTimeColDataType": "record_datetime",
"dateTimeType": "DATETIME",
"datetimeLoading": false,
"extrapolate": true,
"format": "time_series",
"formattedQuery": "SELECT $timeSeries as t, count() FROM $table WHERE $timeFilter GROUP BY t ORDER BY t",
"intervalFactor": 1,
"query": "$columns(ruri_user, avg(mos) c ) FROM $table WHERE mos > 0",
"rawQuery": "SELECT t, groupArray((ruri_user, c)) AS groupArr FROM ( SELECT (intDiv(toUInt32(record_datetime), 20) * 20) * 1000 AS t, ruri_user, avg(mos) c FROM hepic_data.sip_transaction_call WHERE record_datetime >= toDateTime(1605776207) AND mos > 0 GROUP BY t, ruri_user ORDER BY t, ruri_user) GROUP BY t ORDER BY t",
"refId": "A",
"round": "0s",
"skip_comments": true,
"table": "sip_transaction_call",
"tableLoading": false
},
"datasource": {
"id": 5,
"name": "ClickHouse"
},
"maxDataPoints": 0,
"intervalMs": 0
}
],
"to": 1605875559316
}
}
]
}
Issue Analytics
- State:
- Created 3 years ago
- Comments:13
Top Results From Across the Web
Support Basic Auth for datasource which used BasicAuth for ...
With Grafana 7.1.1 and latest clickhouse-grafana plugin version 2.0.5 ... Grafana Alerts return: rpc error: code = Unknown desc = invalid ...
Read more >Alert rule rpc error - Time Series Panel - Grafana Community
When I want to setup the alert rule this error message come up. "tsdb.HandleRequest() error rpc error: code = Unavailable desc = transport ......
Read more >Solved: Grafana - alerting issue - NetApp Community
Solved: Hi, I'm trying to define alerts for some of the graphs in Grafana. I get: error tsdb.HandleRequest() error Request failed status: ...
Read more >Failed to pull image "<myimage>/posts:0.0.1": rpc error: code ...
Minikube is unable to directly access your local docker repository. There are several methods to resolve this and they are elaborated upon ...
Read more >Kubernetes ImagePullBackOff: Troubleshooting With Examples
Failed to pull image "nginx:lates": rpc error: code = Unknown desc = Error response from daemon: manifest for nginx:lates not found: manifest unknown: ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
btw @Slach we have golang devs in our team working on cloki-go, if you want we we can help or team up - ping @adubovikov
After a little back and forth with Grafana failing auth, it works! Thank you so much and again apologies for the duplicate