postgresql uses version=901 which is deprecated

Bug #2036866 reported by Haw Loeung
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Telegraf Charm
Fix Committed
Low
Vikas Krishnan Radhakrishnan

Bug Description

Hi,

The postgresql template uses `version=901` but this generates the following warning:

| Sep 21 04:20:57 juju-dda852-prod-ua-db-4 telegraf[923165]: message repeated 2 times: [ 2023-09-21T04:20:57Z W! DeprecationWarning: Option "Version" of plugin "inputs.postgresql_extensible" deprecated since version 1.28.0 and will be removed in 2.0.0: use minVersion to specify minimal DB version this query supports]

This is because it is changed from `version` to `min_version` per https://github.com/influxdata/telegraf/pull/13620/files

We should update it to use `min_version=901` instead.

Related branches

Eric Chen (eric-chen)
tags: added: bseng-1565
Eric Chen (eric-chen)
tags: added: good-first-bug
Changed in charm-telegraf:
importance: Undecided → Low
Tianqi Xiao (txiao)
Changed in charm-telegraf:
milestone: none → 24.01
Eric Chen (eric-chen)
Changed in charm-telegraf:
milestone: 24.01 → 23.10
milestone: 23.10 → 24.01
status: New → Fix Committed
assignee: nobody → Vikas Krishnan Radhakrishnan (vikaskrishnan)
Tianqi Xiao (txiao)
Changed in charm-telegraf:
status: Fix Committed → Fix Released
status: Fix Released → Fix Committed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.