Clean up of old gnocchi data
search cancel

Clean up of old gnocchi data

book

Article ID: 388109

calendar_today

Updated On:

Products

VMware Integrated OpenStack

Issue/Introduction

  • How to clean up old gnocchi (metric) data 

Environment

7.x

Cause

Database size keeps increasing over time.

Resolution

To batch delete resources, metrics and measures, you can use the Gnocchi CLI .

For example, to delete resources and all their associated metrics that were terminated 60 days ago, run the following command:

#openstack metric resource batch delete "ended_at < '-30days'"

 

Additional Information