From 2063ecd08ac7f5525ce148ff77f07aed7809b0d4 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Mon, 7 Dec 2020 03:25:02 +0000 Subject: [PATCH] assets,site/content: daily assets regeneration --- assets/ceph/rules.yaml | 2 +- site/content/ceph/_index.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/assets/ceph/rules.yaml b/assets/ceph/rules.yaml index cf9a761..2f92ee3 100644 --- a/assets/ceph/rules.yaml +++ b/assets/ceph/rules.yaml @@ -13,7 +13,7 @@ groups: count(ceph_osd_metadata{job="rook-ceph-mgr"}) record: job:ceph_osd_metadata:count - expr: | - count(kube_persistentvolume_info) + count(kube_persistentvolume_info * on (storageclass) group_left(provisioner) kube_storageclass_info {provisioner=~"(.*rbd.csi.ceph.com)|(.*cephfs.csi.ceph.com)"}) record: job:kube_pv:count - expr: | sum(ceph_pool_rd{job="rook-ceph-mgr"}+ ceph_pool_wr{job="rook-ceph-mgr"}) diff --git a/site/content/ceph/_index.md b/site/content/ceph/_index.md index 49492d8..a63b4b4 100644 --- a/site/content/ceph/_index.md +++ b/site/content/ceph/_index.md @@ -426,7 +426,7 @@ record: job:ceph_osd_metadata:count {{< code lang="yaml" >}} expr: | - count(kube_persistentvolume_info) + count(kube_persistentvolume_info * on (storageclass) group_left(provisioner) kube_storageclass_info {provisioner=~"(.*rbd.csi.ceph.com)|(.*cephfs.csi.ceph.com)"}) record: job:kube_pv:count {{< /code >}}