fix db connect
This commit is contained in:
@@ -7,14 +7,15 @@ let
|
|||||||
apiVersion = 1;
|
apiVersion = 1;
|
||||||
datasources = [
|
datasources = [
|
||||||
{
|
{
|
||||||
name = "InfluxDB 3 SQL";
|
name = "Telegraf";
|
||||||
type = "influxdb";
|
type = "influxdb";
|
||||||
access = "proxy";
|
access = "proxy";
|
||||||
url = "http://influx-db";
|
url = "http://influx-db:8181";
|
||||||
jsonData = {
|
jsonData = {
|
||||||
version = "SQL";
|
version = "SQL";
|
||||||
dbName = "telegraf";
|
dbName = "telegraf";
|
||||||
httpMode = "POST";
|
httpMode = "POST";
|
||||||
|
insecureGrpc = true;
|
||||||
};
|
};
|
||||||
secureJsonData = {
|
secureJsonData = {
|
||||||
token = "\${INFLUXDB_TOKEN}";
|
token = "\${INFLUXDB_TOKEN}";
|
||||||
|
|||||||
Reference in New Issue
Block a user