I use timescaledb with telegraf. I would like to automatically enable compression of all tables in telegraf schema. The compression policy should be simple: after 7 days, compress the data. I looked thru the compression docs but I don’t know how to do it automatically. Here is how I create tables, https://github.com/influxdata/telegraf/tree/master/plugins/outputs/postgresql#timescaledb
Any advise would be much appreciated.