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
@@ -1,6 +1,7 @@
# CHANGELOG

## unreleased
- Smartquery: Fixed querying PostgreSQL with Grafana 11. Thanks, @MatthewMarsee.

## 4.3.1 (2025-02-22)
- Fixed `update_dashboard` to also handle `folderUid` well. Thanks, @CantankerousBullMoose.
Expand Down
2 changes: 1 addition & 1 deletion grafana_client/knowledge.py
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,7 @@ def query_factory(datasource, model: Optional[dict] = None, expression: Optional
elif datasource_type == "opentsdb":
query = {}

elif datasource_type in ("postgres", "mssql", "mysql"):
elif datasource_type in ("postgres", "mssql", "mysql", "grafana-postgresql-datasource"):
query = {
"datasource": {
"type": datasource["type"],
Expand Down
Loading