doubts on volume_analytics_dir_bytes_used #3522
-
|
Hi all, 1.- how many directories (and which ones) are being reported to volume_analytics_dir_bytes_used ? from prometheus I see quite a few but I can't determine which one are there (and why) this is a bit what I see: volume_analytics_dir_bytes_used{cluster="clusterA", datacenter="location", dir_name="packages", index="clusterA_44", instance="nabox-harvest2:12893", job="harvest2", svm="svm_name", uuid="1234", volume="volumnename"}
volume_analytics_dir_bytes_used{cluster="clusterA", datacenter="location", dir_name=".Trash-35663", index="clusterA_44", instance="nabox-harvest2:12893", job="harvest2", svm="svm_name", uuid="1234", volume="volumnename"} thanks |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
|
hi @pelacables the number of directories collected is controlled by the template By default, that template will ask File System Analytics (FSA) for the top 20 volumes by space.used descending. Once those volumes are returned (by default), Harvest will ask FSA for each volume's top 100 directories by used bytes descending. In regards to the path, it looks like ONTAP only returns the relative path, not the full path. |
Beta Was this translation helpful? Give feedback.
hi @pelacables the number of directories collected is controlled by the template
harvest/conf/rest/9.12.0/volume_analytics.yaml
Line 21 in cf708b5
By default, that template will ask File System Analytics (FSA) for the top 20 volumes by space.used descending. Once those volumes are returned (by default), Harvest will ask FSA for each volume's top 100 directories by used bytes descending.
In regards to the path, it looks like ONTAP only returns the relative path, not the full path.