mirror of
https://github.com/valitydev/redash.git
synced 2024-11-08 01:48:54 +00:00
InfluxDB: simpler test connection query (show databases requries admin)
This commit is contained in:
parent
7fada5d5f7
commit
ddbbe1267a
@ -1,8 +1,8 @@
|
||||
import json
|
||||
import logging
|
||||
|
||||
from redash.utils import JSONEncoder
|
||||
from redash.query_runner import *
|
||||
from redash.utils import JSONEncoder
|
||||
|
||||
logger = logging.getLogger(__name__)
|
||||
|
||||
@ -49,7 +49,7 @@ def _transform_result(results):
|
||||
|
||||
|
||||
class InfluxDB(BaseQueryRunner):
|
||||
noop_query = "show databases"
|
||||
noop_query = "show measurements limit 1"
|
||||
|
||||
@classmethod
|
||||
def configuration_schema(cls):
|
||||
|
Loading…
Reference in New Issue
Block a user