#volume cifs ops

1 messages · Page 1 of 1 (latest)

fossil lagoon
#

Hi,
Looking to follow the cifs ops for a volume, and didn't see this option.
May it work if manually editing "/data/packages/harvest/conf/restperf/9.12.0/volume.yaml" ?
Looking at the api "/cluster/counter/tables/{counter_table.name}/rows/{id}" - and seems that "cifs.read_ops", "cifs.write_ops","cifs.other_ops" are available.
Thanks

buoyant oasis
fossil lagoon
#

Hi Chris, seems that "api/cluster/counter/tables/volume:node" returns one value per node - so it doesn't seem to target each volume in partricular

buoyant oasis
#

Hi @fossil lagoon yes, that right, volume:node are volumes metrics aggregated at the node level. Back to your original question - yes, if you edit your conf/restperf/9.12.0/volume.yaml template and add - cifs.read_ops => cifs_read_ops in the counters section, Harvest will collect those metrics.

volume_cifs_read_ops{aggr="test1",cluster="umeng-aff300-01-02",datacenter="dc-1",node="umeng-aff300-02",style="flexvol",svm="vs_test",volume="vol_demo"} 10