We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7d868b3 commit 5b84272Copy full SHA for 5b84272
CHANGELOG.md
@@ -1,6 +1,7 @@
1
# CHANGELOG
2
3
## unreleased
4
+- Smartquery: Fixed querying PostgreSQL with Grafana 11. Thanks, @hbaghar.
5
6
## 4.2.3 (2025-01-26)
7
- Smartquery: Fix querying Prometheus by adding `hide` parameter.
grafana_client/knowledge.py
@@ -97,7 +97,7 @@ def datasource_factory(datasource: DatasourceModel) -> DatasourceModel:
97
datasource.secureJsonData = {
98
"password": "root",
99
}
100
- elif datasource.type == "postgres":
+ elif datasource.type in ["postgres", "grafana-postgresql-datasource"]:
101
datasource.user = "postgres"
102
datasource.jsonData = {
103
"postgresVersion": 1200,
0 commit comments