Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ensure qtree REST template metrics matches ZAPI #1784

Closed
cgrinds opened this issue Feb 27, 2023 · 4 comments · Fixed by #1788 or #2028
Closed

Ensure qtree REST template metrics matches ZAPI #1784

cgrinds opened this issue Feb 27, 2023 · 4 comments · Fixed by #1788 or #2028
Labels
23.05 feature New feature or request priority/P0 highest status/done

Comments

@cgrinds
Copy link
Collaborator

cgrinds commented Feb 27, 2023

See also #1678

@cgrinds cgrinds added the feature New feature or request label Feb 27, 2023
@cgrinds cgrinds added the priority/P0 highest label Feb 28, 2023
@Hardikl
Copy link
Contributor

Hardikl commented Mar 1, 2023

This is the way Harvest would publish qtree metrics/labels the same as Harvest 22.05 did, you can follow these steps.

  1. Create a conf/rest/custom.yaml file, if it doesn't already exist, and add the following lines:
objects:
 Qtree: custom_qtree.yaml
  1. Create a new object template conf/rest/9.12.0/custom_qtree.yaml with the following lines.
name:                       Qtree
query:                      api/storage/qtrees
object:                     qtree

client_timeout: 2m

counters:
  - ^^svm.name            => svm
  - ^^volume.name         => volume
  - ^^name                => qtree
  - ^export_policy.name   => export_policy
  - ^security_style       => security_style
  - id                    => id


endpoints:
  - query: api/private/cli/qtree
    counters:
      - ^^vserver         => svm
      - ^^volume          => volume
      - ^^qtree           => qtree
      - ^status           => status
      - ^oplock_mode      => oplocks

plugins:
  - LabelAgent:
      exclude_equals:
        - qtree ``
      replace:
        - oplocks oplocks `enable` `enabled`
  - Qtree:
      quotaType:
        - tree
#        - user
#        - group
      historicalLabels: true

export_options:
  instance_keys:
    - qtree
    - volume
    - svm
  instance_labels:
    - export_policy
    - security_style
    - status
    - oplocks
  1. When you restart your pollers, Harvest will ignore the out-of-the-box qtree.yaml template and use the custom_qtree.yaml one.

The historicalLabels key causes Harvest to publish qtree metrics and labels with both the 22.05 and 23.02 shapes. More details on merging can be found here.

@Hardikl
Copy link
Contributor

Hardikl commented May 2, 2023

Tested on 23.05

Behaviour without flag: shape and count is same in both zapi/rest collector.

curl -s http://localhost:13006/metrics | grep qtree_labels
qtree_labels{cluster="A250-41-42-43",datacenter="zapi",export_policy="default",oplocks="enabled",qtree="harvestqtree",security_style="unix",status="normal",svm="astra_ci_vc_esxi_24_75_data",volume="astra_ci_vc_esxi_24_75_data_root"} 1.0
qtree_labels{cluster="A250-41-42-43",datacenter="zapi",export_policy="default",oplocks="enabled",qtree="trident_pvc_79d175b7_d8ef_49bb_a4dd_918c3da74383",security_style="unix",status="normal",svm="nfs_vserver",volume="trident_qtree_pool_trident_TBWTPBZIMD"} 1.0
qtree_labels{cluster="A250-41-42-43",datacenter="zapi",export_policy="default",oplocks="enabled",qtree="trident_pvc_a39048cd_6f45_4c42_b13b_fc00b83ca276",security_style="unix",status="normal",svm="nfs_vserver",volume="trident_qtree_pool_trident_CGUEQCBMBI"} 1.0
qtree_labels{cluster="A250-41-42-43",datacenter="zapi",export_policy="default",oplocks="enabled",qtree="trident_pvc_c182b0a0_5c5f_488a_9600_3fbbca81093b",security_style="unix",status="normal",svm="nfs_vserver",volume="trident_qtree_pool_trident_TBWTPBZIMD"} 1.0
curl -s http://localhost:13007/metrics | grep qtree_labels
qtree_labels{cluster="A250-41-42-43",datacenter="rest",export_policy="default",oplocks="enabled",qtree="trident_pvc_a39048cd_6f45_4c42_b13b_fc00b83ca276",security_style="unix",status="normal",svm="nfs_vserver",volume="trident_qtree_pool_trident_CGUEQCBMBI"} 1.0
qtree_labels{cluster="A250-41-42-43",datacenter="rest",export_policy="default",oplocks="enabled",qtree="harvestqtree",security_style="unix",status="normal",svm="astra_ci_vc_esxi_24_75_data",volume="astra_ci_vc_esxi_24_75_data_root"} 1.0
qtree_labels{cluster="A250-41-42-43",datacenter="rest",export_policy="default",oplocks="enabled",qtree="trident_pvc_c182b0a0_5c5f_488a_9600_3fbbca81093b",security_style="unix",status="normal",svm="nfs_vserver",volume="trident_qtree_pool_trident_TBWTPBZIMD"} 1.0
qtree_labels{cluster="A250-41-42-43",datacenter="rest",export_policy="default",oplocks="enabled",qtree="trident_pvc_79d175b7_d8ef_49bb_a4dd_918c3da74383",security_style="unix",status="normal",svm="nfs_vserver",volume="trident_qtree_pool_trident_TBWTPBZIMD"} 1.0
curl -s http://localhost:13006/metrics | grep qtree_disk_limit
qtree_disk_limit{cluster="A250-41-42-43",datacenter="zapi",index="A250-41-42-43_1",qtree="harvestqtree",svm="astra_ci_vc_esxi_24_75_data",type="tree",unit="Kbyte",volume="astra_ci_vc_esxi_24_75_data_root"} 224
qtree_disk_limit{cluster="A250-41-42-43",datacenter="zapi",index="A250-41-42-43_3",qtree="trident_pvc_c182b0a0_5c5f_488a_9600_3fbbca81093b",svm="nfs_vserver",type="tree",unit="Kbyte",volume="trident_qtree_pool_trident_TBWTPBZIMD"} 8388608
qtree_disk_limit{cluster="A250-41-42-43",datacenter="zapi",index="A250-41-42-43_2",qtree="trident_pvc_a39048cd_6f45_4c42_b13b_fc00b83ca276",svm="nfs_vserver",type="tree",unit="Kbyte",volume="trident_qtree_pool_trident_CGUEQCBMBI"} 8388608
qtree_disk_limit{cluster="A250-41-42-43",datacenter="zapi",index="A250-41-42-43_4",qtree="trident_pvc_79d175b7_d8ef_49bb_a4dd_918c3da74383",svm="nfs_vserver",type="tree",unit="Kbyte",volume="trident_qtree_pool_trident_TBWTPBZIMD"} 20971520
curl -s http://localhost:13007/metrics | grep qtree_disk_limit
qtree_disk_limit{cluster="A250-41-42-43",datacenter="rest",index="A250-41-42-43_0",qtree="harvestqtree",svm="astra_ci_vc_esxi_24_75_data",type="tree",unit="Kbyte",volume="astra_ci_vc_esxi_24_75_data_root"} 224
qtree_disk_limit{cluster="A250-41-42-43",datacenter="rest",index="A250-41-42-43_3",qtree="trident_pvc_79d175b7_d8ef_49bb_a4dd_918c3da74383",svm="nfs_vserver",type="tree",unit="Kbyte",volume="trident_qtree_pool_trident_TBWTPBZIMD"} 20971520
qtree_disk_limit{cluster="A250-41-42-43",datacenter="rest",index="A250-41-42-43_1",qtree="trident_pvc_a39048cd_6f45_4c42_b13b_fc00b83ca276",svm="nfs_vserver",type="tree",unit="Kbyte",volume="trident_qtree_pool_trident_CGUEQCBMBI"} 8388608
qtree_disk_limit{cluster="A250-41-42-43",datacenter="rest",index="A250-41-42-43_2",qtree="trident_pvc_c182b0a0_5c5f_488a_9600_3fbbca81093b",svm="nfs_vserver",type="tree",unit="Kbyte",volume="trident_qtree_pool_trident_TBWTPBZIMD"} 8388608
curl -s http://localhost:13006/metrics | grep quota_disk_limit
quota_disk_limit{cluster="A250-41-42-43",datacenter="zapi",index="A250-41-42-43_4",qtree="trident_pvc_79d175b7_d8ef_49bb_a4dd_918c3da74383",svm="nfs_vserver",type="tree",unit="Kbyte",volume="trident_qtree_pool_trident_TBWTPBZIMD"} 20971520
quota_disk_limit{cluster="A250-41-42-43",datacenter="zapi",index="A250-41-42-43_1",qtree="harvestqtree",svm="astra_ci_vc_esxi_24_75_data",type="tree",unit="Kbyte",volume="astra_ci_vc_esxi_24_75_data_root"} 224
quota_disk_limit{cluster="A250-41-42-43",datacenter="zapi",index="A250-41-42-43_2",qtree="trident_pvc_a39048cd_6f45_4c42_b13b_fc00b83ca276",svm="nfs_vserver",type="tree",unit="Kbyte",volume="trident_qtree_pool_trident_CGUEQCBMBI"} 8388608
quota_disk_limit{cluster="A250-41-42-43",datacenter="zapi",index="A250-41-42-43_3",qtree="trident_pvc_c182b0a0_5c5f_488a_9600_3fbbca81093b",svm="nfs_vserver",type="tree",unit="Kbyte",volume="trident_qtree_pool_trident_TBWTPBZIMD"} 8388608
curl -s http://localhost:13007/metrics | grep quota_disk_limit
quota_disk_limit{cluster="A250-41-42-43",datacenter="rest",index="A250-41-42-43_3",qtree="trident_pvc_79d175b7_d8ef_49bb_a4dd_918c3da74383",svm="nfs_vserver",type="tree",unit="Kbyte",volume="trident_qtree_pool_trident_TBWTPBZIMD"} 20971520
quota_disk_limit{cluster="A250-41-42-43",datacenter="rest",index="A250-41-42-43_1",qtree="trident_pvc_a39048cd_6f45_4c42_b13b_fc00b83ca276",svm="nfs_vserver",type="tree",unit="Kbyte",volume="trident_qtree_pool_trident_CGUEQCBMBI"} 8388608
quota_disk_limit{cluster="A250-41-42-43",datacenter="rest",index="A250-41-42-43_2",qtree="trident_pvc_c182b0a0_5c5f_488a_9600_3fbbca81093b",svm="nfs_vserver",type="tree",unit="Kbyte",volume="trident_qtree_pool_trident_TBWTPBZIMD"} 8388608
quota_disk_limit{cluster="A250-41-42-43",datacenter="rest",index="A250-41-42-43_0",qtree="harvestqtree",svm="astra_ci_vc_esxi_24_75_data",type="tree",unit="Kbyte",volume="astra_ci_vc_esxi_24_75_data_root"} 224

Testing on hidden flag with custom template changes as mentioned in Issue, little count difference, just checking it's expected or not.

@Hardikl
Copy link
Contributor

Hardikl commented May 2, 2023

There is an issue to fetch qtree instances in rest plugin due to instancekey order changes.
Rest shows only 3 records(4 skipped), zapi shows 7 which is expected.
image

Note, the same qtree is already exist in metric, but keys is different.
Instancekey of qtree: harvestqtreeastra_ci_vc_esxi_24_75_dataastra_ci_vc_esxi_24_75_data_root

./bin/poller -p aff-2510 --promPort 13007 -c Rest -o Qtree
2023-05-02T16:00:31+05:30 INF ./poller.go:205 > Init Poller=aff-2510 configPath=./harvest.yml logLevel=info version="harvest version 23.05.0216-v23.02.0 (commit 3ffa2eb5) (build date 2023-05-02T16:00:22+0530) darwin/amd64\n"
2023-05-02T16:00:31+05:30 INF ./poller.go:242 > started in foreground Poller=aff-2510 pid=9919
2023-05-02T16:00:31+05:30 INF collector/helpers.go:139 > best-fit template Poller=aff-2510 collector=Rest:Qtree path=conf/rest/9.12.0/custom_qtree.yaml v=9.12.1
2023-05-02T16:00:31+05:30 INF ./poller.go:382 > Autosupport scheduled. Poller=aff-2510 asupSchedule=24h
2023-05-02T16:00:31+05:30 INF ./poller.go:391 > poller start-up complete Poller=aff-2510
2023-05-02T16:00:31+05:30 INF prometheus/httpd.go:29 > http server listen Poller=aff-2510 addr= exporter=prometheus1 port=13007
2023-05-02T16:00:31+05:30 INF ./poller.go:539 > updated status, up collectors: 1 (of 1), up exporters: 1 (of 1) Poller=aff-2510
2023-05-02T16:00:32+05:30 WRN qtree/qtree.go:240 > No instance matching tree.volume.vserver Poller=aff-2510 object=Qtree plugin=Rest:Qtree tree=harvestqtree volume=astra_ci_vc_esxi_24_75_data_root vserver=astra_ci_vc_esxi_24_75_data
2023-05-02T16:00:32+05:30 WRN qtree/qtree.go:240 > No instance matching tree.volume.vserver Poller=aff-2510 object=Qtree plugin=Rest:Qtree tree=trident_pvc_a39048cd_6f45_4c42_b13b_fc00b83ca276 volume=trident_qtree_pool_trident_CGUEQCBMBI vserver=nfs_vserver
2023-05-02T16:00:32+05:30 WRN qtree/qtree.go:240 > No instance matching tree.volume.vserver Poller=aff-2510 object=Qtree plugin=Rest:Qtree tree=trident_pvc_c182b0a0_5c5f_488a_9600_3fbbca81093b volume=trident_qtree_pool_trident_TBWTPBZIMD vserver=nfs_vserver
2023-05-02T16:00:32+05:30 WRN qtree/qtree.go:240 > No instance matching tree.volume.vserver Poller=aff-2510 object=Qtree plugin=Rest:Qtree tree=trident_pvc_79d175b7_d8ef_49bb_a4dd_918c3da74383 volume=trident_qtree_pool_trident_TBWTPBZIMD vserver=nfs_vserver
2023-05-02T16:00:32+05:30 INF qtree/qtree.go:187 > Collected Poller=aff-2510 metrics=30 numQuotas=3 object=Qtree plugin=Rest:Qtree
2023-05-02T16:00:32+05:30 INF collector/collector.go:483 > Collected Poller=aff-2510 apiMs=623 calcMs=0 collector=Rest:Qtree instances=241 metrics=1928 parseMs=347 pluginMs=595

Sending fix PR soon.

@Hardikl Hardikl reopened this May 2, 2023
@Hardikl Hardikl linked a pull request May 2, 2023 that will close this issue
@Hardikl
Copy link
Contributor

Hardikl commented May 2, 2023

Verified on 0e0f002

curl -s http://localhost:13004/metrics | grep quota_disk_limit
quota_disk_limit{cluster="A250-41-42-43",datacenter="zapi",export_policy="trident_qtree_pool_export_policy",index="A250-41-42-43_4",oplocks="enabled",qtree="trident_qtree_pool_trident_CGUEQCBMBI",security_style="unix",status="normal",svm="nfs_vserver",type="tree",unit="Kbyte",volume="trident_qtree_pool_trident_CGUEQCBMBI"} 0
quota_disk_limit{cluster="A250-41-42-43",datacenter="zapi",export_policy="default",index="A250-41-42-43_2",oplocks="enabled",qtree="astra_ci_vc_esxi_24_75_data_root",security_style="unix",status="normal",svm="astra_ci_vc_esxi_24_75_data",type="tree",unit="Kbyte",volume="astra_ci_vc_esxi_24_75_data_root"} 0
quota_disk_limit{cluster="A250-41-42-43",datacenter="zapi",export_policy="default",index="A250-41-42-43_5",oplocks="enabled",qtree="trident_pvc_c182b0a0_5c5f_488a_9600_3fbbca81093b",security_style="unix",status="normal",svm="nfs_vserver",type="tree",unit="Kbyte",volume="trident_qtree_pool_trident_TBWTPBZIMD"} 8388608
quota_disk_limit{cluster="A250-41-42-43",datacenter="zapi",export_policy="default",index="A250-41-42-43_1",oplocks="enabled",qtree="harvestqtree",security_style="unix",status="normal",svm="astra_ci_vc_esxi_24_75_data",type="tree",unit="Kbyte",volume="astra_ci_vc_esxi_24_75_data_root"} 224
quota_disk_limit{cluster="A250-41-42-43",datacenter="zapi",export_policy="default",index="A250-41-42-43_6",oplocks="enabled",qtree="trident_pvc_79d175b7_d8ef_49bb_a4dd_918c3da74383",security_style="unix",status="normal",svm="nfs_vserver",type="tree",unit="Kbyte",volume="trident_qtree_pool_trident_TBWTPBZIMD"} 20971520
quota_disk_limit{cluster="A250-41-42-43",datacenter="zapi",export_policy="trident_qtree_pool_export_policy",index="A250-41-42-43_7",oplocks="enabled",qtree="trident_qtree_pool_trident_TBWTPBZIMD",security_style="unix",status="normal",svm="nfs_vserver",type="tree",unit="Kbyte",volume="trident_qtree_pool_trident_TBWTPBZIMD"} 0
quota_disk_limit{cluster="A250-41-42-43",datacenter="zapi",export_policy="default",index="A250-41-42-43_3",oplocks="enabled",qtree="trident_pvc_a39048cd_6f45_4c42_b13b_fc00b83ca276",security_style="unix",status="normal",svm="nfs_vserver",type="tree",unit="Kbyte",volume="trident_qtree_pool_trident_CGUEQCBMBI"} 8388608

curl -s http://localhost:13004/metrics | grep quota_disk_limit | wc -l
       7
curl -s http://localhost:13005/metrics | grep quota_disk_limit        
quota_disk_limit{cluster="A250-41-42-43",datacenter="rest",export_policy="default",index="A250-41-42-43_1",oplocks="enabled",qtree="astra_ci_vc_esxi_24_75_data_root",security_style="unix",status="normal",svm="astra_ci_vc_esxi_24_75_data",type="tree",unit="",volume="astra_ci_vc_esxi_24_75_data_root"} 0
quota_disk_limit{cluster="A250-41-42-43",datacenter="rest",export_policy="default",index="A250-41-42-43_2",oplocks="enabled",qtree="trident_pvc_a39048cd_6f45_4c42_b13b_fc00b83ca276",security_style="unix",status="normal",svm="nfs_vserver",type="tree",unit="Kbyte",volume="trident_qtree_pool_trident_CGUEQCBMBI"} 8388608
quota_disk_limit{cluster="A250-41-42-43",datacenter="rest",export_policy="trident_qtree_pool_export_policy",index="A250-41-42-43_3",oplocks="enabled",qtree="trident_qtree_pool_trident_CGUEQCBMBI",security_style="unix",status="normal",svm="nfs_vserver",type="tree",unit="",volume="trident_qtree_pool_trident_CGUEQCBMBI"} 0
quota_disk_limit{cluster="A250-41-42-43",datacenter="rest",export_policy="default",index="A250-41-42-43_4",oplocks="enabled",qtree="trident_pvc_c182b0a0_5c5f_488a_9600_3fbbca81093b",security_style="unix",status="normal",svm="nfs_vserver",type="tree",unit="Kbyte",volume="trident_qtree_pool_trident_TBWTPBZIMD"} 8388608
quota_disk_limit{cluster="A250-41-42-43",datacenter="rest",export_policy="default",index="A250-41-42-43_5",oplocks="enabled",qtree="trident_pvc_79d175b7_d8ef_49bb_a4dd_918c3da74383",security_style="unix",status="normal",svm="nfs_vserver",type="tree",unit="Kbyte",volume="trident_qtree_pool_trident_TBWTPBZIMD"} 20971520
quota_disk_limit{cluster="A250-41-42-43",datacenter="rest",export_policy="trident_qtree_pool_export_policy",index="A250-41-42-43_6",oplocks="enabled",qtree="trident_qtree_pool_trident_TBWTPBZIMD",security_style="unix",status="normal",svm="nfs_vserver",type="tree",unit="",volume="trident_qtree_pool_trident_TBWTPBZIMD"} 0
quota_disk_limit{cluster="A250-41-42-43",datacenter="rest",export_policy="default",index="A250-41-42-43_0",oplocks="enabled",qtree="harvestqtree",security_style="unix",status="normal",svm="astra_ci_vc_esxi_24_75_data",type="tree",unit="Kbyte",volume="astra_ci_vc_esxi_24_75_data_root"} 224

curl -s http://localhost:13005/metrics | grep quota_disk_limit | wc -l
       7
curl -s http://localhost:13004/metrics | grep qtree_disk_limit    
qtree_disk_limit{cluster="A250-41-42-43",datacenter="zapi",export_policy="default",index="A250-41-42-43_1",oplocks="enabled",qtree="harvestqtree",security_style="unix",status="normal",svm="astra_ci_vc_esxi_24_75_data",type="tree",unit="Kbyte",volume="astra_ci_vc_esxi_24_75_data_root"} 224
qtree_disk_limit{cluster="A250-41-42-43",datacenter="zapi",export_policy="default",index="A250-41-42-43_5",oplocks="enabled",qtree="trident_pvc_c182b0a0_5c5f_488a_9600_3fbbca81093b",security_style="unix",status="normal",svm="nfs_vserver",type="tree",unit="Kbyte",volume="trident_qtree_pool_trident_TBWTPBZIMD"} 8388608
qtree_disk_limit{cluster="A250-41-42-43",datacenter="zapi",export_policy="trident_qtree_pool_export_policy",index="A250-41-42-43_7",oplocks="enabled",qtree="trident_qtree_pool_trident_TBWTPBZIMD",security_style="unix",status="normal",svm="nfs_vserver",type="tree",unit="Kbyte",volume="trident_qtree_pool_trident_TBWTPBZIMD"} 0
qtree_disk_limit{cluster="A250-41-42-43",datacenter="zapi",export_policy="default",index="A250-41-42-43_2",oplocks="enabled",qtree="astra_ci_vc_esxi_24_75_data_root",security_style="unix",status="normal",svm="astra_ci_vc_esxi_24_75_data",type="tree",unit="Kbyte",volume="astra_ci_vc_esxi_24_75_data_root"} 0
qtree_disk_limit{cluster="A250-41-42-43",datacenter="zapi",export_policy="default",index="A250-41-42-43_6",oplocks="enabled",qtree="trident_pvc_79d175b7_d8ef_49bb_a4dd_918c3da74383",security_style="unix",status="normal",svm="nfs_vserver",type="tree",unit="Kbyte",volume="trident_qtree_pool_trident_TBWTPBZIMD"} 20971520
qtree_disk_limit{cluster="A250-41-42-43",datacenter="zapi",export_policy="trident_qtree_pool_export_policy",index="A250-41-42-43_4",oplocks="enabled",qtree="trident_qtree_pool_trident_CGUEQCBMBI",security_style="unix",status="normal",svm="nfs_vserver",type="tree",unit="Kbyte",volume="trident_qtree_pool_trident_CGUEQCBMBI"} 0
qtree_disk_limit{cluster="A250-41-42-43",datacenter="zapi",export_policy="default",index="A250-41-42-43_3",oplocks="enabled",qtree="trident_pvc_a39048cd_6f45_4c42_b13b_fc00b83ca276",security_style="unix",status="normal",svm="nfs_vserver",type="tree",unit="Kbyte",volume="trident_qtree_pool_trident_CGUEQCBMBI"} 8388608

hardikl@hardikl-mac-2 harvest % curl -s http://localhost:13004/metrics | grep qtree_disk_limit | wc -l
       7
curl -s http://localhost:13005/metrics | grep qtree_disk_limit        
qtree_disk_limit{cluster="A250-41-42-43",datacenter="rest",export_policy="default",index="A250-41-42-43_0",oplocks="enabled",qtree="harvestqtree",security_style="unix",status="normal",svm="astra_ci_vc_esxi_24_75_data",type="tree",unit="Kbyte",volume="astra_ci_vc_esxi_24_75_data_root"} 224
qtree_disk_limit{cluster="A250-41-42-43",datacenter="rest",export_policy="default",index="A250-41-42-43_1",oplocks="enabled",qtree="astra_ci_vc_esxi_24_75_data_root",security_style="unix",status="normal",svm="astra_ci_vc_esxi_24_75_data",type="tree",unit="",volume="astra_ci_vc_esxi_24_75_data_root"} 0
qtree_disk_limit{cluster="A250-41-42-43",datacenter="rest",export_policy="default",index="A250-41-42-43_2",oplocks="enabled",qtree="trident_pvc_a39048cd_6f45_4c42_b13b_fc00b83ca276",security_style="unix",status="normal",svm="nfs_vserver",type="tree",unit="Kbyte",volume="trident_qtree_pool_trident_CGUEQCBMBI"} 8388608
qtree_disk_limit{cluster="A250-41-42-43",datacenter="rest",export_policy="trident_qtree_pool_export_policy",index="A250-41-42-43_3",oplocks="enabled",qtree="trident_qtree_pool_trident_CGUEQCBMBI",security_style="unix",status="normal",svm="nfs_vserver",type="tree",unit="",volume="trident_qtree_pool_trident_CGUEQCBMBI"} 0
qtree_disk_limit{cluster="A250-41-42-43",datacenter="rest",export_policy="default",index="A250-41-42-43_4",oplocks="enabled",qtree="trident_pvc_c182b0a0_5c5f_488a_9600_3fbbca81093b",security_style="unix",status="normal",svm="nfs_vserver",type="tree",unit="Kbyte",volume="trident_qtree_pool_trident_TBWTPBZIMD"} 8388608
qtree_disk_limit{cluster="A250-41-42-43",datacenter="rest",export_policy="default",index="A250-41-42-43_5",oplocks="enabled",qtree="trident_pvc_79d175b7_d8ef_49bb_a4dd_918c3da74383",security_style="unix",status="normal",svm="nfs_vserver",type="tree",unit="Kbyte",volume="trident_qtree_pool_trident_TBWTPBZIMD"} 20971520
qtree_disk_limit{cluster="A250-41-42-43",datacenter="rest",export_policy="trident_qtree_pool_export_policy",index="A250-41-42-43_6",oplocks="enabled",qtree="trident_qtree_pool_trident_TBWTPBZIMD",security_style="unix",status="normal",svm="nfs_vserver",type="tree",unit="",volume="trident_qtree_pool_trident_TBWTPBZIMD"} 0

curl -s http://localhost:13005/metrics | grep qtree_disk_limit | wc -l
       7

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
23.05 feature New feature or request priority/P0 highest status/done
Projects
None yet
3 participants