#qos_labels iops
1 messages · Page 1 of 1 (latest)
Your template was almost correct. I have made some modifications and it works as expected.
`name: QoSLimit
query: qos-policy-group-get-iter
object: qos
collect_only_labels: true
counters:
qos-policy-group-info:
- ^policy-group => policy_group
- ^^vserver => svm
- ^^pgid
- ^policy-group-class => policy_group_class
- ^max-throughput => max_throughput
- ^min-throughput => min_throughput
- ^num-workloads => num_workloads
plugins:
- LabelAgent:
value_to_num:- status status up 0
split: - max_throughput
IOPSmax_num,placeholder
- status status up 0
export_options:
instance_labels:
- svm
- max_throughput
- min_throughput
- num_workloads
- max_num
instance_keys:
- policy_group`
I have added the same to gist to avoid any discord text edit issues here https://gist.github.com/rahulguptajss/ef07cbdede6af766475363d06e3be712