Multiple issues with WebUI's Grafana Dashboard
# Reporters - Mika Silvola (INF) - Lluis Gifre (CTTC) # Description 2 issues have been identified: 1. While deploying Grafana and configuring the plugins, Scatter Plot plugin is not properly installed: ``` >> Installing Scatter Plot plugin... {"message":"Failed to install plugin","traceID":"00000000000000000000000000000000"} ``` 2. QuestDB Datsource `questdb-mon-kpi` is properly configured, but Grafana is not able to reach it: ``` >> Creating datasources... {"datasource":{"id":1,"uid":"gAvq9cKIz","orgId":1,"name":"questdb-mon-kpi","type":"postgres","typeLogoUrl":"","access":"proxy","url":"questdb-public.qdb.svc.cluster.local:8812","password":"","user":"admin","database":"tfs_monitoring_kpis","basicAuth":false,"basicAuthUser":"","basicAuthPassword":"","withCredentials":false,"isDefault":true,"jsonData":{"connMaxLifetime":14400,"maxIdleConns":2,"maxOpenConns":0,"postgresVersion":1100,"sslmode":"disable","timescaledb":false,"tlsAuth":false,"tlsAuthWithCACert":false,"tlsConfigurationMethod":"file-path","tlsSkipVerify":true},"secureJsonFields":{"password":true},"version":1,"readOnly":false},"id":1,"message":"Datasource added","name":"questdb-mon-kpi"} ``` While testing with "Save&Test" button: ``` logger=tsdb.postgres t=2024-01-04T11:16:09.74+0000 lvl=eror msg="query error" err="dial tcp: lookup questdb-public.qdb.svc.cluster.local: Try again" logger=context traceID=00000000000000000000000000000000 userId=1 orgId=1 uname=admin t=2024-01-04T11:16:09.74+0000 lvl=info msg="Request Completed" method=POST path=/api/ds/query status=400 remote_addr=10.0.2.15 time_ms=5050 duration=5.050546857s size=239 referer=http://127.0.0.1/grafana/datasources/edit/R_nHQ5KSk traceID=00000000000000000000000000000000 logger=tsdb.postgres t=2024-01-04T11:28:12.56+0000 lvl=eror msg="query error" err="dial tcp: lookup questdb-public.qdb.svc.cluster.local: Try again" logger=context traceID=00000000000000000000000000000000 userId=1 orgId=1 uname=admin t=2024-01-04T11:28:12.56+0000 lvl=info msg="Request Completed" method=POST path=/api/ds/query status=400 remote_addr=10.0.2.15 time_ms=5043 duration=5.043416682s size=284 referer=http://127.0.0.1/grafana/datasources/edit/R_nHQ5KSk traceID=00000000000000000000000000000000 logger=tsdb.postgres t=2024-01-04T11:28:30.39+0000 lvl=eror msg="query error" err="dial tcp: lookup questdb-public.qdb.svc.cluster.local: Try again" logger=context traceID=00000000000000000000000000000000 userId=1 orgId=1 uname=admin t=2024-01-04T11:28:30.39+0000 lvl=info msg="Request Completed" method=POST path=/api/ds/query status=400 remote_addr=10.0.2.15 time_ms=5036 duration=5.036406249s size=239 referer=http://127.0.0.1/grafana/datasources/edit/R_nHQ5KSk traceID=00000000000000000000000000000000 ``` ## Deployment environment - Operating System (include version): any - MicroK8s (include version and add-ons): any - TeraFlowSDN (include release/branch-name/commit-id): develop ## TFS deployment settings - list of components deployed: any including webui and monitoring ## Sequence of actions that resulted in the bug See description ## Document the explicit error See description. ## Expected behaviour See description. # References None
issue