19643a184f
* Delete multiple metrics at one, instead or one-by-one. Change-Id: Iee95938a6bbb046a4ccba4f2bd8eb74903882552
8 lines
242 B
Bash
Executable File
8 lines
242 B
Bash
Executable File
#!/bin/bash
|
|
|
|
echo "Gnocchi plugin metrics are being deleted. This may take a few minutes.."
|
|
|
|
openstack metric delete $(openstack metric list | awk '{if (NR>3) {print $2}}')
|
|
|
|
echo "Done deleting metrics created by the collectd-gnocchi-plugin"
|