Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

## unreleased
- Chore: Removed nonsense function `update_rule_group_interval`. Thanks, @vbichov.
- Smartquery: Fixed querying PostgreSQL with Grafana 11. Thanks, @hbaghar.

## 4.2.3 (2025-01-26)
- Smartquery: Fix querying Prometheus by adding `hide` parameter.
Expand Down
2 changes: 1 addition & 1 deletion grafana_client/knowledge.py
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ def datasource_factory(datasource: DatasourceModel) -> DatasourceModel:
datasource.secureJsonData = {
"password": "root",
}
elif datasource.type == "postgres":
elif datasource.type in ["postgres", "grafana-postgresql-datasource"]:
datasource.user = "postgres"
datasource.jsonData = {
"postgresVersion": 1200,
Expand Down
Loading