# Prune Promethues data

**URL:** <https://forum.opennebula.io/t/prune-promethues-data/14389>\
**Category:** Extensions Catalog\
**Created:** [February 7, 2026, 6:11am UTC](https://forum.opennebula.io/t/prune-promethues-data/14389 "2026-02-07T06:11:16Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![hoosain](https://yyz1.discourse-cdn.com/flex031/user_avatar/forum.opennebula.io/hoosain/32/8554_2.png) [@hoosain](https://forum.opennebula.io/u/hoosain)\
**Post date:** [February 7, 2026, 6:11am UTC](https://forum.opennebula.io/t/prune-promethues-data/14389/1 "2026-02-07T06:11:16Z")

</div>

Please, describe the problem here and provide additional information below (if applicable) …

I am doing some house keeping and notice that my promethues is taking quite a bit of disk space.

4.1G /var/lib/prometheus/data  
4.1G /var/lib/prometheus

**Versions of the related components and OS (frontend, hypervisors, VMs):**

v7.01

**Steps to reproduce:**

**Current results:**

**Expected results:**

whats the safest way to prune the data

---

<div class="post-metadata">

**Author:** ![FrancJP](https://yyz1.discourse-cdn.com/flex031/user_avatar/forum.opennebula.io/francjp/32/7690_2.png) [@FrancJP](https://forum.opennebula.io/u/FrancJP)\
**Post date:** [February 12, 2026, 10:42am UTC](https://forum.opennebula.io/t/prune-promethues-data/14389/2 "2026-02-12T10:42:44Z")

</div>

Hello @hoosain,

This is probably more for Prometheus than for OpenNebula 😉

Prometheus doesn’t have a built-in “prune now” button for existing historical data… it manages old data automatically based on your _retention settings_.  
From what I could investigate, by default Prometheus keep a 15 days track of data.

You can set a shorter retention policy, by configuring this on Prometheus, or you can manually delete the data (which is not recommendable).

So basically, the suggestion is to update your retention settings, and then restart prometheus to check if the old data has been cleaned up.

Regards,

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex031/uploads/opennebula/original/2X/1/14d66f1130b9cd292905f575da9b68a9f574dd03.png) [@system](https://forum.opennebula.io/u/system)\
**Post date:** [March 14, 2026, 10:43am UTC](https://forum.opennebula.io/t/prune-promethues-data/14389/3 "2026-03-14T10:43:01Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
