postgresql metrics query failing with postgresl >= 10
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Telegraf Charm |
Fix Released
|
High
|
Stuart Bishop | ||
pgsql Interface for charms.reactive |
Fix Released
|
Undecided
|
Stuart Bishop |
Bug Description
https:/
Nov 27 15:23:00 telegraf[14241]: 2018-11-
Nov 27 15:23:00 telegraf[14241]: 2018-11-
Nov 27 15:23:00 telegraf[14241]: 2018-11-
We need to come up with updated queries, update this template and also make a PR against upstream.
Thanks
Related branches
- Junien Fridrick: Approve
-
Diff: 32 lines (+12/-3)1 file modifiedtemplates/postgresql.tmpl (+12/-3)
- Junien Fridrick: Approve
-
Diff: 727 lines (+189/-140)5 files modifiedreactive/telegraf.py (+87/-71)
templates/postgresql.tmpl (+44/-16)
unit_tests/test_mysql.py (+3/-4)
unit_tests/test_postgresql.py (+34/-29)
unit_tests/test_telegraf.py (+21/-20)
Changed in telegraf-charm: | |
importance: | Undecided → Medium |
status: | New → Triaged |
Changed in telegraf-charm: | |
importance: | Medium → High |
assignee: | nobody → Stuart Bishop (stub) |
Changed in telegraf-charm: | |
status: | Triaged → Fix Released |
Changed in telegraf-charm: | |
status: | Triaged → Fix Committed |
Changed in telegraf-charm: | |
status: | Fix Committed → Fix Released |
The inputs. postgresql_ extensible telegraf plugin supports minimim PostgreSQL version, but not the maximum PostgreSQL version we need here. The telegraf charm will need detect the remote version of PostgreSQL (provided on the relation), and generate a specific config file for that version (rather than the current approach of one config file that works for all versions).