-
Notifications
You must be signed in to change notification settings - Fork 299
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Using PostgresDB as a DataSource #548
Comments
Have you got any exisiting dashboards that use the PostgresDB datasource? |
Aweseomly quick response! I created a demo dashboard and copied the dashboard json from the dashboard settings:
|
It looks like a new datasource needs to be added for PostgresDB, is this something you would be able to create a PR for? A new class need to be added to add the PostgresDB target to replicate the following JSON data from your example. {
"format": "table",
"group": [],
"metricColumn": "none",
"rawQuery": true,
"rawSql": "SELECT *\nFROM\n account",
"refId": "A",
"select": [
[
{
"params": [
"value"
],
"type": "column"
}
]
],
"timeColumn": "time",
"where": [
{
"name": "$__timeFilter",
"params": [],
"type": "macro"
}
]
} |
No, I sadly do not fee capable of providing the PR. I can test the implementation, though |
I was wondering if and how to use PostgresDB as a datasource.
Any hints would be highly welcomed.
The text was updated successfully, but these errors were encountered: