exclude nvme volumes that were being incorrectly included
volumes such as nvme12 didn't match the old regex but need to
@@ -58,7 +58,7 @@ def filter_out_container_root(metric_dict):
def filter_out_customer_pv_filesystems(metric_dict):
""" Remove customer PVs from list """
- r = re.compile("^/dev/(?:xvd[a-z]{2}|nvme[2-9].*)$")
+ r = re.compile("^/dev/(?:xvd[a-z]{2}|nvme(?:[2-9].*|\d{2,}.*))$")
# filter out xvda{2} (???) and nvme devices past 2
return {
