idealista / prometheus_server_role

Ansible role to install a Prometheus server
Apache License 2.0
5 stars 4 forks source link

[FEATURE] Automatically remove old scrape files #58

Open xtianae7 opened 1 year ago

xtianae7 commented 1 year ago

Description

[Description of the issue]

Automatic removal of old scrape files that are not in the playbook anymore.

Why is this needed?

[A clear and concise description of why do you think this is needed]

If you want to remove an old scrape file from your prometheus server, you have to manually remove it in the server. Removing it from your playbook and running it is not enough. With this implementation, that process would be made by ansible by running your playbook.

Additional Information

[Any additional information, configuration or data.]