#flexcache stats
1 messages · Page 1 of 1 (latest)
@hot glen Could you tell us which metrics are you interested in for flexcache? We do provide delay center related metrics for flexcache at workload level. These are commented by default and needs to be enabled for monitoring in harvest.
https://github.com/NetApp/harvest/blob/main/conf/zapiperf/cdot/9.8.0/workload_detail_volume.yaml#L44-L45
Hi Rahul! Honestly, I've never used FlexCache (and don't have a test system in the lab) so I'm just curious as what's there out of the box. I guess I'm most interested in cache hit rate and, I guess, round-tript ime?
@hot glen I found attached counters(volume.png) for flexcache
at object volume level (we don't collect them currently but it just needs template change) .
We already collect flex cache misses as part of workload_volume template which needs to be enabled here https://github.com/NetApp/harvest/blob/main/conf/zapiperf/default.yaml#L60
counter in prometheus qos_volume_read_io_type{metric="fc_miss"}
thank you Rahul! is there any chance you have a FlexCache lab environment and you could please send me a screenshot of a graph (or two)?
my cluster don't seem to have any op going on but if you enable template https://github.com/NetApp/harvest/blob/main/conf/zapiperf/default.yaml#L60 in harvest then you should see data like in screenshot for counter fc_miss
https://kb.netapp.com/Advice_and_Troubleshooting/Data_Storage_Software/ONTAP_OS/read_io_type_breakdown
And if you use this volume zapiperf template https://gist.github.com/rahulguptajss/29df7997ce2e026cf830822ee72140c6 . Need to replace it here https://github.com/NetApp/harvest/blob/main/conf/zapiperf/cdot/9.8.0/volume.yaml
Then you can get below flexcache metrics as well
volume_flexcache_other_ops
volume_flexcache_read_data
volume_flexcache_read_ops
volume_flexcache_receive_data
volume_flexcache_send_data
volume_flexcache_write_data
volume_flexcache_write_ops
thanks again Rahul! I'll see if I can spin up a FlexCache instance and test it out
I am aware of fc_miss as a regular ONTAP counter too
gr8!
so you'd use fc_miss to track FC origin hits, and volume_flexcache_*_ops to track FC destination hits?
i think so but I am no expert in flexcache domain 🙂