-
We have some users using both harvest 1.6 dashboards and Harvest 2.0 dashboards. Some of the metrics I have set for Harvest 2.0 shows high latency at SVM level compared to harvest 1.6 metrics. For example: In Harvest 1.6 query, the SVM level latency is using vol_summary avg_latency -> This is 0.1 ms for an svm in my test case. This matches with the "statistics vserver latency show" command on the filer
In Harvest 2.0 query, for SVM level latency, I'm using below query. This query is reporting 25 ms latency for the same SVM. If I remove CIFS latency, it still reports almost 24 ms latency for my svm test case during the same time. This is not matching with the "statistics vserver latency show" or "statistics volume latency show" commands on the filer.
I'm wondering why these two numbers differ so significantly? In Harvest 2.0, when I calculate latency of all volumes on svm and sum it, it is still higher like 17ms for this test case SVM.
Are there different objects being used for both harvest 1.6 vs harvest 2.0 SVM latency calculations? |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 7 replies
-
hi @jmg011, if memory serves, 1.6 was using the perf zapi Looks like that template use name: VolumeNode
query: volume:node
object: node_vol
|
Beta Was this translation helpful? Give feedback.
-
hi @jmg011, we've got a better idea of what's going on here and few changes we're going to make. The reason you were seeing different values between 1.6 was 2.0 is because they're using different aggregations. Harvest 1.6 was using the Harvest 2 is using the The ONTAP cli command We're going to add a new template to collect volume metrics aggregated by svm, similar to The template will look like this is if you want to try it. File: name: VolumeSvm
query: volume:vserver
object: svm_vol
instance_key: uuid
counters:
- instance_name => svm
- read_data
- write_data
- read_ops
- write_ops
- other_ops
- total_ops
- read_latency
- write_latency
- other_latency
- avg_latency
export_options:
instance_keys:
- svm Corresponding addition to VolumeSvm: volume_svm.yaml |
Beta Was this translation helpful? Give feedback.
-
@cgrinds - Awesome. Thank you so much for debugging it fast. I will try the new template and will provide you feedback. |
Beta Was this translation helpful? Give feedback.
hi @jmg011, we've got a better idea of what's going on here and few changes we're going to make.
The reason you were seeing different values between 1.6 was 2.0 is because they're using different aggregations. Harvest 1.6 was using the
volume
object + a plugin that aggregated the counters by svm. The plugin stored those aggregated metrics on thesvm.vol_summary
graphite leaf and that's what the SVM dashboard used.Harvest 2 is using the
volume
object also, but without aggregation. The Harvest 2 dashboard does some simple aggregations of the volume metrics withaverage
andsum
.The ONTAP cli command
statistics vserver show
does a roll-up of volume metrics at the svm level similar to what H…