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 8756601 commit 05ddd1eCopy full SHA for 05ddd1e
CHANGELOG.md
@@ -2,6 +2,7 @@
2
3
## unreleased
4
- Chore: Removed nonsense function `update_rule_group_interval`. Thanks, @vbichov.
5
+- Smartquery: Fixed querying PostgreSQL with Grafana 11. Thanks, @hbaghar.
6
7
## 4.2.3 (2025-01-26)
8
- 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