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 VMware Telco Cloud Infrastructure

Issue/Introduction

  • How to clean up old gnocchi (metric) data 

Environment

VIO: 7.x
TCI: 3.0

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

Gnocchi: metric resource batch delete

If this cleanup doesn't release enough space, contact Broadcom support for more detailed analysis of the gnocchi databases.