I have lock summary from ONTAPI that is working and doing counts of locks based on the specificly called out lock counts.
This is the same in REST, but even though it's telling me it's exporting the metrics, it's not appearing anywhere in the polller output.
Here's what I have done:
enabled lock: lock.yaml in rest/custom.yaml
it shows this in the logs:
time=2026-03-19T11:11:38.724-07:00 level=INFO source=helpers.go:113 msg="best-fit template" Poller=node02 collector=Rest:Lock path=conf/rest/9.10.0/lock.yaml v=9.16.1 jitter=none
time=2026-03-19T11:11:39.904-07:00 level=INFO source=collector.go:652 msg=Collected Poller=node02 collector=Rest:Lock task=counter apiMs=1028 bytesRx=0 metrics=0 numCalls=0 pollMs=1028 zBegin=1773943898876
time=2026-03-19T11:11:58.667-07:00 level=INFO source=collector.go:620 msg=Collected Poller=node02 collector=Rest:Lock apiMs=18761 bytesRx=234664 calcMs=0 exportMs=0 instances=369 instancesExported=59 metrics=2583 metricsExported=59 numCalls=2 parseMs=2 pluginInstances=59 pluginMs=1 pollMs=18763 renderedBytes=5137 zBegin=1773943899904
but I don't see anything in the poller output.
Here's the output we get from our standard ONTAPI poller:
netapp_lock_lif_count{datacenter="DC",cluster="node02",lif="node02n17b-01"} 35
netapp_lock_node_count{datacenter="DC",cluster="node02",node="node02n17b"} 119
netapp_lock_svm_count{datacenter="DC",cluster="node02",svm="clusterv02a"} 370
netapp_lock_volume_count{datacenter="DC",cluster="node02",volume="my_volume_2"} 2
I don't see any lock metrics in the REST poller output.