#Average size of volume with FSA
1 messages · Page 1 of 1 (latest)
Hi @knotty kernel there is https://prometheus.io/docs/prometheus/latest/querying/functions/#aggregation_over_time for averaging each series of a range vector and https://prometheus.io/docs/prometheus/latest/querying/operators/#aggregation-operators to average the elements of a single instant vector. Do either of those help answer your question?
Hi @quiet wolf,
My doubt is if harvest is recollecting with the feature of FSA (or using other capabilities) any metric or it is calculating in some way about size of files in a volume. How can I check all the metrics which the FSA feature gather or calculate in harvest?
Thanks
Hi @knotty kernel these are the metrics collected by the volume_analytics template. On the ONTAP side, make sure that you have enabled File System Analytics (FSA) for one or more volumes.
Good morning @quiet wolf, I have checked the volume_analytics but the information in the template doesn't show the metrics, measurements created on the database (attached screenshot).
For example I have review the FSA dash and one query for get information about FSA is:
`sum by (time, order) (
volume_analytics_bytes_used_by_accessed_time{activity=~"$Activity",cluster=~"$Cluster",datacenter=~"$Datacenter",dir_name=".",svm=~"$SVM",volume=~"$Volume"}
- on (datacenter, cluster, svm, volume) group_left (tags)
volume_labels{cluster=~"$Cluster",datacenter=~"$Datacenter",svm=~"$SVM",tags=~".$Tag.",volume=~"$Volume"}`
)
If I am not wrong there was a way from harvest CLI to see the metrics for some objects and the meaning of that metric.