Single panel's plugin error affects other panels that are innocent
Closed this issue · 1 comments
jamangstangs commented
Hello, I have some issue in TopN Query
- TopN Query failed when timerange of real data is out of grafana panel
- This TopN Query makes failure at the plugin, but this plugin error affects other panels to be failed even though these panels are innocent. These innocent panels rendering fine when they are in the panel edit mode.
My environments are like these.
- Grafana OSS v9.3.6
- grafadruid-druid-datasource v1.4.1
- Druid: 25.0.0
here is the grafana log for these issues.
INFO [02-07|15:15:54] DRUID EXECUTE QUERY logger=plugin.grafadruid-druid-datasource _________________________GRAFANA QUERY___________________________="map[Interval:3e+11 JSON:map[builder:map[aggregations:[map[fieldName:sum_value name:sum_value type:doubleSum]] dataSource:map[name:metric-service type:table] dimensions:[map[dimension:host_name outputName:host_name outputType:STRING type:default]] filter:map[dimension:name type:selector value:CreateFileOps] granularity:minute intervals:map[intervals:[2023-02-06T06:15:54.353Z/2023-02-07T06:15:54.353Z] type:intervals] queryType:groupBy] datasource:map[type:grafadruid-druid-datasource uid:VYSL3B04z] datasourceId:1 expr:{\"builder\":{\"queryType\":\"groupBy\",\"dataSource\":{\"type\":\"table\",\"name\":\"metric-service\"},\"dimensions\":[{\"type\":\"default\",\"dimension\":\"host_name\",\"outputName\":\"host_name\",\"outputType\":\"STRING\"}],\"granularity\":\"minute\",\"filter\":{\"type\":\"selector\",\"dimension\":\"name\",\"value\":\"CreateFileOps\"},\"aggregations\":[{\"type\":\"doubleSum\",\"name\":\"sum_value\",\"fieldName\":\"sum_value\"}],\"intervals\":{\"type\":\"intervals\",\"intervals\":[\"${__from:date:iso}/${__to:date:iso}\"]}},\"settings\":{}} hide:false intervalMs:300000 maxDataPoints:342 refId:A settings:map[]] MaxDataPoints:342 QueryType: RefID:A TimeRange:map[From:2023-02-06T15:15:54.357+09:00 To:2023-02-07T15:15:54.357+09:00]]"
INFO [02-07|15:15:54] DRUID EXECUTE QUERY logger=plugin.grafadruid-druid-datasource _________________________GRAFANA QUERY___________________________="map[Interval:3e+11 JSON:map[builder:map[aggregations:[map[fieldName:sum_value name:sum_value type:doubleSum]] dataSource:map[name:metric-service type:table] filter:map[dimension:name type:selector value:CreateFileOps] granularity:minute intervals:map[intervals:[2023-02-06T06:15:54.353Z/2023-02-07T06:15:54.353Z] type:intervals] limit:10000 postAggregations:[] queryType:timeseries] datasource:map[type:grafadruid-druid-datasource uid:VYSL3B04z] datasourceId:1 expr:{\"builder\":{\"queryType\":\"timeseries\",\"dataSource\":{\"type\":\"table\",\"name\":\"metric-service\"},\"intervals\":{\"intervals\":[\"${__from:date:iso}/${__to:date:iso}\"],\"type\":\"intervals\"},\"granularity\":\"minute\",\"filter\":{\"type\":\"selector\",\"dimension\":\"name\",\"value\":\"CreateFileOps\"},\"aggregations\":[{\"type\":\"doubleSum\",\"name\":\"sum_value\",\"fieldName\":\"sum_value\"}],\"postAggregations\":[],\"limit\":10000},\"settings\":{}} hide:false intervalMs:300000 maxDataPoints:342 refId:A settings:map[]] MaxDataPoints:342 QueryType: RefID:A TimeRange:map[From:2023-02-06T15:15:54.356+09:00 To:2023-02-07T15:15:54.357+09:00]]"
INFO [02-07|15:15:54] DRUID EXECUTE QUERY logger=plugin.grafadruid-druid-datasource _________________________GRAFANA QUERY___________________________="map[Interval:3e+11 JSON:map[builder:map[aggregations:[map[fieldName:sum_value name:sum_value type:doubleSum]] dataSource:map[name:metric-service type:table] dimension:map[dimension:host_name outputName:host_name outputType:STRING type:default] filter:map[dimension:name type:selector value:CreateFileOps] granularity:minute intervals:map[intervals:[2023-02-06T06:15:54.353Z/2023-02-07T06:15:54.353Z] type:intervals] metric:map[metric:sum_value type:numeric] queryType:topN threshold:1000] datasource:map[type:grafadruid-druid-datasource uid:VYSL3B04z] datasourceId:1 expr:{\"builder\":{\"queryType\":\"topN\",\"dataSource\":{\"name\":\"metric-service\",\"type\":\"table\"},\"intervals\":{\"intervals\":[\"${__from:date:iso}/${__to:date:iso}\"],\"type\":\"intervals\"},\"granularity\":\"minute\",\"filter\":{\"dimension\":\"name\",\"type\":\"selector\",\"value\":\"CreateFileOps\"},\"aggregations\":[{\"fieldName\":\"sum_value\",\"name\":\"sum_value\",\"type\":\"doubleSum\"}],\"dimension\":{\"type\":\"default\",\"dimension\":\"host_name\",\"outputName\":\"host_name\",\"outputType\":\"STRING\"},\"threshold\":1000,\"metric\":{\"metric\":\"sum_value\",\"type\":\"numeric\"}},\"settings\":{}} intervalMs:300000 maxDataPoints:342 refId:A settings:map[]] MaxDataPoints:342 QueryType: RefID:A TimeRange:map[From:2023-02-06T15:15:54.357+09:00 To:2023-02-07T15:15:54.357+09:00]]"
INFO [02-07|15:15:54] DRUID EXECUTE QUERY logger=plugin.grafadruid-druid-datasource _________________________DRUID QUERY___________________________="map[aggregations:[map[fieldName:sum_value name:sum_value type:doubleSum]] dataSource:map[name:metric-service type:table] filter:map[dimension:name type:selector value:CreateFileOps] granularity:minute intervals:map[intervals:[2023-02-06T06:15:54.353Z/2023-02-07T06:15:54.353Z] type:intervals] limit:10000 queryType:timeseries]"
INFO [02-07|15:15:54] DRUID EXECUTE QUERY logger=plugin.grafadruid-druid-datasource _________________________DRUID QUERY___________________________="map[aggregations:[map[fieldName:sum_value name:sum_value type:doubleSum]] dataSource:map[name:metric-service type:table] dimension:map[dimension:host_name outputName:host_name outputType:STRING type:default] filter:map[dimension:name type:selector value:CreateFileOps] granularity:minute intervals:map[intervals:[2023-02-06T06:15:54.353Z/2023-02-07T06:15:54.353Z] type:intervals] metric:map[metric:sum_value type:numeric] queryType:topN threshold:1000]"
DEBUG[02-07|15:15:54] cache permissions logger=accesscontrol.service key=rbac-permissions-1-user-1
INFO [02-07|15:15:54] DRUID EXECUTE QUERY logger=plugin.grafadruid-druid-datasource _________________________DRUID QUERY___________________________="map[aggregations:[map[fieldName:sum_value name:sum_value type:doubleSum]] dataSource:map[name:metric-service type:table] dimensions:[map[dimension:host_name outputName:host_name outputType:STRING type:default]] filter:map[dimension:name type:selector value:CreateFileOps] granularity:minute intervals:map[intervals:[2023-02-06T06:15:54.353Z/2023-02-07T06:15:54.353Z] type:intervals] queryType:groupBy]"
INFO [02-07|15:15:54] DRUID EXECUTE QUERY logger=plugin.grafadruid-druid-datasource _________________________DRUID RESPONSE___________________________="map[Columns:[map[Name:timestamp Type:time] map[Name:sum_value Type:float]] Reference:A Rows:[[ $$$$ SKIP TIMESTAMP FOR UPLOAD $$$]]]"
INFO [02-07|15:15:54] DRUID EXECUTE QUERY logger=plugin.grafadruid-druid-datasource _________________________GRAFANA RESPONSE___________________________="map[frames:[map[data:map[values:[[ $$$$ SKIP VALUE FOR UPLOAD $$$] schema:map[fields:[map[name:timestamp type:time typeInfo:map[frame:time.Time]] map[name:sum_value type:number typeInfo:map[frame:float64]]] name:A]]]]"
DEBUG[02-07|15:15:54] panic: runtime error: index out of range [0] with length 0 logger=plugin.grafadruid-druid-datasource
DEBUG[02-07|15:15:54] logger=plugin.grafadruid-druid-datasource
DEBUG[02-07|15:15:54] goroutine 30 [running]: logger=plugin.grafadruid-druid-datasource
DEBUG[02-07|15:15:54] main.(*druidDatasource).executeQuery(0xc0002fc580?, {0x1185c68, 0x1}, {0xd055e0, 0xc00050a000}, 0xc0003183f0, 0x1?) logger=plugin.grafadruid-druid-datasource
DEBUG[02-07|15:15:54] /workspace/pkg/druid.go:559 +0x5752 logger=plugin.grafadruid-druid-datasource
DEBUG[02-07|15:15:54] main.(*druidDatasource).query(0xc0002fa0c0?, {{0x1185c68, 0x1}, {0x0, 0x0}, 0x156, 0x45d964b800, {{0x15476340, 0xedb72921a, 0x11c7a40}, ...}, ...}, ...) logger=plugin.grafadruid-druid-datasource
DEBUG[02-07|15:15:54] /workspace/pkg/druid.go:322 +0x2ea logger=plugin.grafadruid-druid-datasource
DEBUG[02-07|15:15:54] main.(*druidDatasource).QueryData(0xc000096690, {0xba8020?, 0x0?}, 0xc0002883c0) logger=plugin.grafadruid-druid-datasource
DEBUG[02-07|15:15:54] /workspace/pkg/druid.go:296 +0x20c logger=plugin.grafadruid-druid-datasource
DEBUG[02-07|15:15:54] github.com/grafana/grafana-plugin-sdk-go/backend.(*dataSDKAdapter).QueryData(0xc0000966f0, {0xd0c2b0, 0xc000396240}, 0x0?) logger=plugin.grafadruid-druid-datasource
DEBUG[02-07|15:15:54] /root/go/pkg/mod/github.com/grafana/grafana-plugin-sdk-go@v0.140.0/backend/data_adapter.go:21 +0x4d logger=plugin.grafadruid-druid-datasource
DEBUG[02-07|15:15:54] github.com/grafana/grafana-plugin-sdk-go/backend/grpcplugin.(*dataGRPCServer).QueryData(0xc00042f990?, {0xd0c2b0?, 0xc000396240?}, 0xc0002867b0?) logger=plugin.grafadruid-druid-datasource
DEBUG[02-07|15:15:54] /root/go/pkg/mod/github.com/grafana/grafana-plugin-sdk-go@v0.140.0/backend/grpcplugin/grpc_data.go:47 +0x2b logger=plugin.grafadruid-druid-datasource
DEBUG[02-07|15:15:54] github.com/grafana/grafana-plugin-sdk-go/genproto/pluginv2._Data_QueryData_Handler.func1({0xd0c2b0, 0xc000396240}, {0xb94c20?, 0xc000386280}) logger=plugin.grafadruid-druid-datasource
DEBUG[02-07|15:15:54] /root/go/pkg/mod/github.com/grafana/grafana-plugin-sdk-go@v0.140.0/genproto/pluginv2/backend_grpc.pb.go:191 +0x78 logger=plugin.grafadruid-druid-datasource
DEBUG[02-07|15:15:54] github.com/grpc-ecosystem/go-grpc-prometheus.(*ServerMetrics).UnaryServerInterceptor.func1({0xd0c2b0, 0xc000396240}, {0xb94c20, 0xc000386280}, 0x7fce39b62218?, 0xc000283230) logger=plugin.grafadruid-druid-datasource
DEBUG[02-07|15:15:54] /root/go/pkg/mod/github.com/grpc-ecosystem/go-grpc-prometheus@v1.2.0/server_metrics.go:107 +0x87 logger=plugin.grafadruid-druid-datasource
DEBUG[02-07|15:15:54] github.com/grpc-ecosystem/go-grpc-middleware.ChainUnaryServer.func1.1.1({0xd0c2b0?, 0xc000396240?}, {0xb94c20?, 0xc000386280?}) logger=plugin.grafadruid-druid-datasource
DEBUG[02-07|15:15:54] /root/go/pkg/mod/github.com/grpc-ecosystem/go-grpc-middleware@v1.3.0/chain.go:25 +0x3a logger=plugin.grafadruid-druid-datasource
DEBUG[02-07|15:15:54] github.com/grpc-ecosystem/go-grpc-middleware.ChainUnaryServer.func1({0xd0c2b0, 0xc000396240}, {0xb94c20, 0xc000386280}, 0xc0003a6ae0?, 0xb116e0?) logger=plugin.grafadruid-druid-datasource
DEBUG[02-07|15:15:54] /root/go/pkg/mod/github.com/grpc-ecosystem/go-grpc-middleware@v1.3.0/chain.go:34 +0xbf logger=plugin.grafadruid-druid-datasource
DEBUG[02-07|15:15:54] github.com/grafana/grafana-plugin-sdk-go/genproto/pluginv2._Data_QueryData_Handler({0xafc140?, 0xc0000969b0}, {0xd0c2b0, 0xc000396240}, 0xc000384480, 0xc0000a4f60) logger=plugin.grafadruid-druid-datasource
DEBUG[02-07|15:15:54] /root/go/pkg/mod/github.com/grafana/grafana-plugin-sdk-go@v0.140.0/genproto/pluginv2/backend_grpc.pb.go:193 +0x138 logger=plugin.grafadruid-druid-datasource
DEBUG[02-07|15:15:54] google.golang.org/grpc.(*Server).processUnaryRPC(0xc0000f2000, {0xd0fec0, 0xc0003ca000}, 0xc0000e6480, 0xc0000a57a0, 0x11b0230, 0x0) logger=plugin.grafadruid-druid-datasource
DEBUG[02-07|15:15:54] /root/go/pkg/mod/google.golang.org/grpc@v1.41.0/server.go:1279 +0xccf logger=plugin.grafadruid-druid-datasource
DEBUG[02-07|15:15:54] google.golang.org/grpc.(*Server).handleStream(0xc0000f2000, {0xd0fec0, 0xc0003ca000}, 0xc0000e6480, 0x0) logger=plugin.grafadruid-druid-datasource
DEBUG[02-07|15:15:54] /root/go/pkg/mod/google.golang.org/grpc@v1.41.0/server.go:1608 +0xa1b logger=plugin.grafadruid-druid-datasource
DEBUG[02-07|15:15:54] google.golang.org/grpc.(*Server).serveStreams.func1.2() logger=plugin.grafadruid-druid-datasource
DEBUG[02-07|15:15:54] /root/go/pkg/mod/google.golang.org/grpc@v1.41.0/server.go:923 +0x98 logger=plugin.grafadruid-druid-datasource
DEBUG[02-07|15:15:54] created by google.golang.org/grpc.(*Server).serveStreams.func1 logger=plugin.grafadruid-druid-datasource
DEBUG[02-07|15:15:54] /root/go/pkg/mod/google.golang.org/grpc@v1.41.0/server.go:921 +0x28a logger=plugin.grafadruid-druid-datasource
ERROR[02-07|15:15:54] Internal server error logger=context userId=1 orgId=1 uname=admin error="[plugin.downstreamError] failed to query data: Failed to query data: rpc error: code = Unavailable desc = error reading from server: EOF" remote_addr=172.20.22.147 traceID=
ERROR[02-07|15:15:54] Internal server error logger=context userId=1 orgId=1 uname=admin error="[plugin.downstreamError] failed to query data: Failed to query data: rpc error: code = Unavailable desc = error reading from server: EOF" remote_addr=172.20.22.147 traceID=
ERROR[02-07|15:15:54] Request Completed logger=context userId=1 orgId=1 uname=admin method=POST path=/api/ds/query status=500 remote_addr=172.20.22.147 time_ms=151 duration=151.198269ms size=116 referer="http://bdpe-grafana.ay1.krane.9rum.cc:3000/d/y6KmoY04k/new-dashboard?from=now-24h&orgId=1&to=now" handler=/api/ds/query
ERROR[02-07|15:15:54] Request Completed logger=context userId=1 orgId=1 uname=admin method=POST path=/api/ds/query status=500 remote_addr=172.20.22.147 time_ms=154 duration=154.264267ms size=116 referer="http://bdpe-grafana.ay1.krane.9rum.cc:3000/d/y6KmoY04k/new-dashboard?from=now-24h&orgId=1&to=now" handler=/api/ds/query
DEBUG[02-07|15:15:54] plugin process exited logger=plugin.grafadruid-druid-datasource path=/home/deploy/grafadruid-druid-datasource/grafadruid-druid-datasource_linux_amd64 pid=17011 error="exit status 2"
DEBUG[02-07|15:15:55] Restarting plugin logger=plugin.grafadruid-druid-datasource
DEBUG[02-07|15:15:55] starting plugin logger=plugin.grafadruid-druid-datasource path=/home/deploy/grafadruid-druid-datasource/grafadruid-druid-datasource_linux_amd64 args=[/home/deploy/grafadruid-druid-datasource/grafadruid-druid-datasource_linux_amd64]
DEBUG[02-07|15:15:55] plugin started logger=plugin.grafadruid-druid-datasource path=/home/deploy/grafadruid-druid-datasource/grafadruid-druid-datasource_linux_amd64 pid=17024
DEBUG[02-07|15:15:55] waiting for RPC address logger=plugin.grafadruid-druid-datasource path=/home/deploy/grafadruid-druid-datasource/grafadruid-druid-datasource_linux_amd64
DEBUG[02-07|15:15:55] using plugin logger=plugin.grafadruid-druid-datasource version=2
DEBUG[02-07|15:15:55] Serving plugin logger=plugin.grafadruid-druid-datasource plugins="[diagnostics resource data]"
DEBUG[02-07|15:15:55] plugin address logger=plugin.grafadruid-druid-datasource address=/tmp/plugin2720513187 network=unix
DEBUG[02-07|15:15:55] Plugin restarted logger=plugin.grafadruid-druid-datasource
DEBUG[02-07|15:16:00] No changes detected. Skip updating logger=ngalert.scheduler
DEBUG[02-07|15:16:00] Querying for data source via SQL store logger=datasources rule_uid=esRGSLA4z org_id=1 uid=VYSL3B04z orgId=1
DEBUG[02-07|15:16:00] FeatureEnabled logger=token feature=dspermissions.enforcement enabled=false licenseStatus=NotFound hasLicense=false hasValidLicense=false products=[]
DEBUG[02-07|15:16:00] got secret value logger=secrets.kvstore orgId=1 type=datasource namespace=Druid
INFO [02-07|15:16:00] DRUID EXECUTE QUERY logger=plugin.grafadruid-druid-datasource _________________________GRAFANA QUERY___________________________="map[Interval:1e+09 JSON:map[builder:map[aggregations:[map[fieldName:sum_value name:sum_value type:doubleSum]] dataSource:map[name:metric-service type:table] filter:map[dimension:name type:selector value:CreateFileOps] granularity:minute intervals:map[intervals:[2023-02-05T22:12:08.481Z/2023-02-06T04:12:08.481Z] type:intervals] limit:10000 postAggregations:[] queryType:timeseries] datasource:map[type:grafadruid-druid-datasource uid:VYSL3B04z] expr:{\"builder\":{\"queryType\":\"timeseries\",\"dataSource\":{\"type\":\"table\",\"name\":\"metric-service\"},\"intervals\":{\"intervals\":[\"${__from:date:iso}/${__to:date:iso}\"],\"type\":\"intervals\"},\"granularity\":\"minute\",\"filter\":{\"type\":\"selector\",\"dimension\":\"name\",\"value\":\"CreateFileOps\"},\"aggregations\":[{\"type\":\"doubleSum\",\"name\":\"sum_value\",\"fieldName\":\"sum_value\"}],\"postAggregations\":[],\"limit\":10000},\"settings\":{}} hide:false intervalMs:1000 maxDataPoints:43200 refId:A settings:map[]] MaxDataPoints:43200 QueryType: RefID:A TimeRange:map[From:2023-02-07T09:16:00+09:00 To:2023-02-07T15:16:00+09:00]]"
INFO [02-07|15:16:00] DRUID EXECUTE QUERY logger=plugin.grafadruid-druid-datasource _________________________DRUID QUERY___________________________="map[aggregations:[map[fieldName:sum_value name:sum_value type:doubleSum]] dataSource:map[name:metric-service type:table] filter:map[dimension:name type:selector value:CreateFileOps] granularity:minute intervals:map[intervals:[2023-02-05T22:12:08.481Z/2023-02-06T04:12:08.481Z] type:intervals] limit:10000 queryType:timeseries]"
INFO [02-07|15:16:00] DRUID EXECUTE QUERY logger=plugin.grafadruid-druid-datasource _________________________DRUID RESPONSE___________________________="map[Columns:[map[Name:timestamp Type:time] map[Name:sum_value Type:float]] Reference:A Rows:[[2023-02-06T00:45:00.000Z 0] [2023-02-06T00:46:00.000Z 0] [2023-02-06T00:47:00.000Z 0] [2023-02-06T00:48:00.000Z 0] [2023-02-06T00:49:00.000Z 0] [2023-02-06T00:50:00.000Z 0] [2023-02-06T00:51:00.000Z 0] [2023-02-06T00:52:00.000Z 0] [2023-02-06T00:53:00.000Z 0] [2023-02-06T00:54:00.000Z 0] [2023-02-06T00:55:00.000Z 0] [2023-02-06T00:56:00.000Z 0] [2023-02-06T00:57:00.000Z 0] [2023-02-06T00:58:00.000Z 0] [2023-02-06T00:59:00.000Z 0] [2023-02-06T01:00:00.000Z 0] [2023-02-06T01:01:00.000Z 0] [2023-02-06T01:02:00.000Z 0] [2023-02-06T01:03:00.000Z 0] [2023-02-06T01:04:00.000Z 0] [2023-02-06T01:05:00.000Z 0] [2023-02-06T01:06:00.000Z 0] [2023-02-06T01:07:00.000Z 0] [2023-02-06T01:08:00.000Z 0] [2023-02-06T01:09:00.000Z 0] [2023-02-06T01:10:00.000Z 0] [2023-02-06T01:11:00.000Z 0] [2023-02-06T01:12:00.000Z 0] [2023-02-06T01:13:00.000Z 0] [2023-02-06T01:14:00.000Z 0] [2023-02-06T01:15:00.000Z 0] [2023-02-06T01:16:00.000Z 0] [2023-02-06T01:17:00.000Z 0] [2023-02-06T01:18:00.000Z 0] [2023-02-06T01:19:00.000Z 0] [2023-02-06T01:20:00.000Z 0] [2023-02-06T01:21:00.000Z 0] [2023-02-06T01:22:00.000Z 0] [2023-02-06T01:23:00.000Z 0] [2023-02-06T01:24:00.000Z 0] [2023-02-06T01:25:00.000Z 0] [2023-02-06T01:26:00.000Z 0] [2023-02-06T01:27:00.000Z 0] [2023-02-06T01:28:00.000Z 0] [2023-02-06T01:29:00.000Z 0] [2023-02-06T01:30:00.000Z 0] [2023-02-06T01:31:00.000Z 0] [2023-02-06T01:32:00.000Z 0] [2023-02-06T01:33:00.000Z 0] [2023-02-06T01:34:00.000Z 0] [2023-02-06T01:35:00.000Z 0] [2023-02-06T01:36:00.000Z 0] [2023-02-06T01:37:00.000Z 0] [2023-02-06T01:38:00.000Z 0] [2023-02-06T01:39:00.000Z 0] [2023-02-06T01:40:00.000Z 0] [2023-02-06T01:41:00.000Z 0] [2023-02-06T01:42:00.000Z 0] [2023-02-06T01:43:00.000Z 0] [2023-02-06T01:44:00.000Z 0] [2023-02-06T01:45:00.000Z 0] [2023-02-06T01:46:00.000Z 0] [2023-02-06T01:47:00.000Z 0] [2023-02-06T01:48:00.000Z 0] [2023-02-06T01:49:00.000Z 0] [2023-02-06T01:50:00.000Z 0] [2023-02-06T01:51:00.000Z 0] [2023-02-06T01:52:00.000Z 2] [2023-02-06T01:53:00.000Z 2] [2023-02-06T01:54:00.000Z 2] [2023-02-06T01:55:00.000Z 2] [2023-02-06T01:56:00.000Z 0] [2023-02-06T01:57:00.000Z 0] [2023-02-06T01:58:00.000Z 0] [2023-02-06T01:59:00.000Z 0] [2023-02-06T02:00:00.000Z 0] [2023-02-06T02:01:00.000Z 0] [2023-02-06T02:02:00.000Z 0] [2023-02-06T02:03:00.000Z 0] [2023-02-06T02:04:00.000Z 0] [2023-02-06T02:05:00.000Z 0] [2023-02-06T02:06:00.000Z 0] [2023-02-06T02:07:00.000Z 0] [2023-02-06T02:08:00.000Z 0] [2023-02-06T02:09:00.000Z 0] [2023-02-06T02:10:00.000Z 0] [2023-02-06T02:11:00.000Z 0] [2023-02-06T02:12:00.000Z 0] [2023-02-06T02:13:00.000Z 0] [2023-02-06T02:14:00.000Z 0] [2023-02-06T02:15:00.000Z 0] [2023-02-06T02:16:00.000Z 0] [2023-02-06T02:17:00.000Z 0] [2023-02-06T02:18:00.000Z 0] [2023-02-06T02:19:00.000Z 0] [2023-02-06T02:20:00.000Z 0] [2023-02-06T02:21:00.000Z 0] [2023-02-06T02:22:00.000Z 0] [2023-02-06T02:23:00.000Z 0] [2023-02-06T02:24:00.000Z 0] [2023-02-06T02:25:00.000Z 0] [2023-02-06T02:26:00.000Z 0] [2023-02-06T02:27:00.000Z 0] [2023-02-06T02:28:00.000Z 0] [2023-02-06T02:29:00.000Z 0] [2023-02-06T02:30:00.000Z 0] [2023-02-06T02:31:00.000Z 0] [2023-02-06T02:32:00.000Z 0] [2023-02-06T02:33:00.000Z 0] [2023-02-06T02:34:00.000Z 0] [2023-02-06T02:35:00.000Z 0] [2023-02-06T02:36:00.000Z 0] [2023-02-06T02:37:00.000Z 0] [2023-02-06T02:38:00.000Z 0] [2023-02-06T02:39:00.000Z 0] [2023-02-06T02:40:00.000Z 0] [2023-02-06T02:41:00.000Z 0] [2023-02-06T02:42:00.000Z 0] [2023-02-06T02:43:00.000Z 0] [2023-02-06T02:44:00.000Z 0] [2023-02-06T02:45:00.000Z 0] [2023-02-06T02:46:00.000Z 0] [2023-02-06T02:47:00.000Z 0] [2023-02-06T02:48:00.000Z 0] [2023-02-06T02:49:00.000Z 0] [2023-02-06T02:50:00.000Z 0] [2023-02-06T02:51:00.000Z 0] [2023-02-06T02:52:00.000Z 0] [2023-02-06T02:53:00.000Z 2] [2023-02-06T02:54:00.000Z 2] [2023-02-06T02:55:00.000Z 2] [2023-02-06T02:56:00.000Z 2] [2023-02-06T02:57:00.000Z 0] [2023-02-06T02:58:00.000Z 0] [2023-02-06T02:59:00.000Z 0] [2023-02-06T03:00:00.000Z 0] [2023-02-06T03:01:00.000Z 0] [2023-02-06T03:02:00.000Z 0] [2023-02-06T03:03:00.000Z 0] [2023-02-06T03:04:00.000Z 0] [2023-02-06T03:05:00.000Z 0] [2023-02-06T03:06:00.000Z 0] [2023-02-06T03:07:00.000Z 0] [2023-02-06T03:08:00.000Z 0] [2023-02-06T03:09:00.000Z 0] [2023-02-06T03:10:00.000Z 0] [2023-02-06T03:11:00.000Z 0] [2023-02-06T03:12:00.000Z 0] [2023-02-06T03:13:00.000Z 0] [2023-02-06T03:14:00.000Z 0] [2023-02-06T03:15:00.000Z 0] [2023-02-06T03:16:00.000Z 0] [2023-02-06T03:17:00.000Z 0] [2023-02-06T03:18:00.000Z 0] [2023-02-06T03:19:00.000Z 0] [2023-02-06T03:20:00.000Z 0] [2023-02-06T03:21:00.000Z 0] [2023-02-06T03:22:00.000Z 0] [2023-02-06T03:23:00.000Z 0] [2023-02-06T03:24:00.000Z 0] [2023-02-06T03:25:00.000Z 0] [2023-02-06T03:26:00.000Z 0] [2023-02-06T03:27:00.000Z 0] [2023-02-06T03:28:00.000Z 0] [2023-02-06T03:29:00.000Z 0] [2023-02-06T03:30:00.000Z 0] [2023-02-06T03:31:00.000Z 0] [2023-02-06T03:32:00.000Z 0] [2023-02-06T03:33:00.000Z 0] [2023-02-06T03:34:00.000Z 0] [2023-02-06T03:35:00.000Z 0] [2023-02-06T03:36:00.000Z 0] [2023-02-06T03:37:00.000Z 0] [2023-02-06T03:38:00.000Z 0] [2023-02-06T03:39:00.000Z 0] [2023-02-06T03:40:00.000Z 0] [2023-02-06T03:41:00.000Z 0] [2023-02-06T03:42:00.000Z 0] [2023-02-06T03:43:00.000Z 0] [2023-02-06T03:44:00.000Z 0] [2023-02-06T03:45:00.000Z 0] [2023-02-06T03:46:00.000Z 0] [2023-02-06T03:47:00.000Z 0] [2023-02-06T03:48:00.000Z 0] [2023-02-06T03:49:00.000Z 0] [2023-02-06T03:50:00.000Z 0] [2023-02-06T03:51:00.000Z 0] [2023-02-06T03:52:00.000Z 0] [2023-02-06T03:53:00.000Z 0] [2023-02-06T03:54:00.000Z 2] [2023-02-06T03:55:00.000Z 2] [2023-02-06T03:56:00.000Z 0] [2023-02-06T03:57:00.000Z 2] [2023-02-06T03:58:00.000Z 2] [2023-02-06T03:59:00.000Z 0] [2023-02-06T04:00:00.000Z 0] [2023-02-06T04:01:00.000Z 0] [2023-02-06T04:02:00.000Z 0] [2023-02-06T04:03:00.000Z 0] [2023-02-06T04:04:00.000Z 0] [2023-02-06T04:05:00.000Z 0] [2023-02-06T04:06:00.000Z 0] [2023-02-06T04:07:00.000Z 0] [2023-02-06T04:08:00.000Z 0] [2023-02-06T04:09:00.000Z 0] [2023-02-06T04:10:00.000Z 0] [2023-02-06T04:11:00.000Z 0] [2023-02-06T04:12:00.000Z 0]]]"
INFO [02-07|15:16:00] DRUID EXECUTE QUERY logger=plugin.grafadruid-druid-datasource _________________________GRAFANA RESPONSE___________________________="map[frames:[map[data:map[values:[[1.6756443e+12 1.67564436e+12 1.67564442e+12 1.67564448e+12 1.67564454e+12 1.6756446e+12 1.67564466e+12 1.67564472e+12 1.67564478e+12 1.67564484e+12 1.6756449e+12 1.67564496e+12 1.67564502e+12 1.67564508e+12 1.67564514e+12 1.6756452e+12 1.67564526e+12 1.67564532e+12 1.67564538e+12 1.67564544e+12 1.6756455e+12 1.67564556e+12 1.67564562e+12 1.67564568e+12 1.67564574e+12 1.6756458e+12 1.67564586e+12 1.67564592e+12 1.67564598e+12 1.67564604e+12 1.6756461e+12 1.67564616e+12 1.67564622e+12 1.67564628e+12 1.67564634e+12 1.6756464e+12 1.67564646e+12 1.67564652e+12 1.67564658e+12 1.67564664e+12 1.6756467e+12 1.67564676e+12 1.67564682e+12 1.67564688e+12 1.67564694e+12 1.675647e+12 1.67564706e+12 1.67564712e+12 1.67564718e+12 1.67564724e+12 1.6756473e+12 1.67564736e+12 1.67564742e+12 1.67564748e+12 1.67564754e+12 1.6756476e+12 1.67564766e+12 1.67564772e+12 1.67564778e+12 1.67564784e+12 1.6756479e+12 1.67564796e+12 1.67564802e+12 1.67564808e+12 1.67564814e+12 1.6756482e+12 1.67564826e+12 1.67564832e+12 1.67564838e+12 1.67564844e+12 1.6756485e+12 1.67564856e+12 1.67564862e+12 1.67564868e+12 1.67564874e+12 1.6756488e+12 1.67564886e+12 1.67564892e+12 1.67564898e+12 1.67564904e+12 1.6756491e+12 1.67564916e+12 1.67564922e+12 1.67564928e+12 1.67564934e+12 1.6756494e+12 1.67564946e+12 1.67564952e+12 1.67564958e+12 1.67564964e+12 1.6756497e+12 1.67564976e+12 1.67564982e+12 1.67564988e+12 1.67564994e+12 1.67565e+12 1.67565006e+12 1.67565012e+12 1.67565018e+12 1.67565024e+12 1.6756503e+12 1.67565036e+12 1.67565042e+12 1.67565048e+12 1.67565054e+12 1.6756506e+12 1.67565066e+12 1.67565072e+12 1.67565078e+12 1.67565084e+12 1.6756509e+12 1.67565096e+12 1.67565102e+12 1.67565108e+12 1.67565114e+12 1.6756512e+12 1.67565126e+12 1.67565132e+12 1.67565138e+12 1.67565144e+12 1.6756515e+12 1.67565156e+12 1.67565162e+12 1.67565168e+12 1.67565174e+12 1.6756518e+12 1.67565186e+12 1.67565192e+12 1.67565198e+12 1.67565204e+12 1.6756521e+12 1.67565216e+12 1.67565222e+12 1.67565228e+12 1.67565234e+12 1.6756524e+12 1.67565246e+12 1.67565252e+12 1.67565258e+12 1.67565264e+12 1.6756527e+12 1.67565276e+12 1.67565282e+12 1.67565288e+12 1.67565294e+12 1.675653e+12 1.67565306e+12 1.67565312e+12 1.67565318e+12 1.67565324e+12 1.6756533e+12 1.67565336e+12 1.67565342e+12 1.67565348e+12 1.67565354e+12 1.6756536e+12 1.67565366e+12 1.67565372e+12 1.67565378e+12 1.67565384e+12 1.6756539e+12 1.67565396e+12 1.67565402e+12 1.67565408e+12 1.67565414e+12 1.6756542e+12 1.67565426e+12 1.67565432e+12 1.67565438e+12 1.67565444e+12 1.6756545e+12 1.67565456e+12 1.67565462e+12 1.67565468e+12 1.67565474e+12 1.6756548e+12 1.67565486e+12 1.67565492e+12 1.67565498e+12 1.67565504e+12 1.6756551e+12 1.67565516e+12 1.67565522e+12 1.67565528e+12 1.67565534e+12 1.6756554e+12 1.67565546e+12 1.67565552e+12 1.67565558e+12 1.67565564e+12 1.6756557e+12 1.67565576e+12 1.67565582e+12 1.67565588e+12 1.67565594e+12 1.675656e+12 1.67565606e+12 1.67565612e+12 1.67565618e+12 1.67565624e+12 1.6756563e+12 1.67565636e+12 1.67565642e+12 1.67565648e+12 1.67565654e+12 1.6756566e+12 1.67565666e+12 1.67565672e+12] [0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 2 2 2 2 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 2 2 2 2 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 2 2 0 2 2 0 0 0 0 0 0 0 0 0 0 0 0 0 0]]] schema:map[fields:[map[name:timestamp type:time typeInfo:map[frame:time.Time]] map[name:sum_value type:number typeInfo:map[frame:float64]]] name:A]]]]"
DEBUG[02-07|15:16:00] expression datasource query (seriesSet) logger=expr rule_uid=esRGSLA4z org_id=1 datasourceType=grafadruid-druid-datasource query=A
DEBUG[02-07|15:16:00] Alert rule evaluated logger=ngalert.scheduler rule_uid=esRGSLA4z org_id=1 version=1 attempt=0 now=2023-02-07T15:16:00+09:00 results="[{Instance: State:Normal Error:<nil> Results:map[] Values:map[B:{Var:B Labels: Value:0xc0027ee4d0} C:{Var:C Labels: Value:0xc0027ee4e8}] EvaluatedAt:2023-02-07 15:16:00 +0900 KST EvaluationDuration:27.836732ms EvaluationString:[ var='B' labels={} value=0 ], [ var='C' labels={} value=0 ]}]" duration=27.081719ms
DEBUG[02-07|15:16:00] State manager processing evaluation results logger=ngalert.state.manager rule_uid=esRGSLA4z org_id=1 resultCount=1
DEBUG[02-07|15:16:00] Setting alert state logger=ngalert.state.manager rule_uid=esRGSLA4z org_id=1
DEBUG[02-07|15:16:00] Saving alert states logger=ngalert.state.manager rule_uid=esRGSLA4z org_id=1 count=1
DEBUG[02-07|15:16:00] Done saving alert annotation batch logger=ngalert.state.historian rule_uid=esRGSLA4z org_id=1
DEBUG[02-07|15:16:05] Recording state cache metrics logger=ngalert.state.manager now=2023-02-07T15:16:05.791330983+09:00
DEBUG[02-07|15:16:10] No changes detected. Skip updating logger=ngalert.scheduler
jbguerraz commented
Hello @jamangstangs
Thank you for your report! Found the issue and will open a PR now :)