Skip to content
This repository has been archived by the owner on Oct 11, 2023. It is now read-only.

Feature Request: Retention Policies #26

Open
cheyngoodman opened this issue Sep 23, 2020 · 1 comment
Open

Feature Request: Retention Policies #26

cheyngoodman opened this issue Sep 23, 2020 · 1 comment

Comments

@cheyngoodman
Copy link

Would it be possible to add a resource for creating influxdb retention policies?

Ansible has an influxdb_retention_policy module that has this functionality.

I'm currently using this module to setup a Telegraf database for system metrics, but I'm concerned the database will fill the disk after enough time passes.

@duncangibb
Copy link
Contributor

If all you need is to set a default duration (ie a policy of the form "keep all my metrics for X days then chuck them all away") you can do that with my retention_policy branch. I just opened #33 to merge that upstream.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants