Bug 2207720 - Image metrics for providing rbd snapshot schedule info for all the images [NEEDINFO]
Summary: Image metrics for providing rbd snapshot schedule info for all the images
Keywords:
Status: ASSIGNED
Alias: None
Product: Red Hat Ceph Storage
Classification: Red Hat Storage
Component: RBD-Mirror
Version: 6.1
Hardware: Unspecified
OS: Unspecified
high
low
Target Milestone: ---
: 6.1z2
Assignee: Divyansh Kamboj
QA Contact: Sunil Angadi
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-05-16 16:01 UTC by Juan Miguel Olmo
Modified: 2023-08-03 08:30 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed:
Embargoed:
sangadi: needinfo? (dkamboj)


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github ceph ceph pull 50711 0 None open mgr/prometheus: add rbd_mirror_schedule_interval 2023-05-16 16:01:39 UTC
Red Hat Issue Tracker RHCEPH-6254 0 None None None 2023-05-16 16:01:39 UTC
Red Hat Issue Tracker RHCEPH-6680 0 None None None 2023-05-16 16:02:40 UTC

Description Juan Miguel Olmo 2023-05-16 16:01:39 UTC
Study the possibility of generate RBD  images snapshot schedule metrics in the Ceph Prometheus manager module.

The source of the information now is the rbd command to list the recorded schedules:

# rbd --cluster site-a mirror snapshot schedule ls --recursive
We try to see, if it is possible to  generate metrics for every image like:

ceph_rbd_snapshot_schedule  {pool="pool_x", namespace="namespace_y",  image="image_name"} 6
The value of 6 indicates that the snapshot for "image_name" is scheduled every 6 hours.

Things to take into account:

Scalability
This information will be only available for the primary images.

Comment 1 Sunil Angadi 2023-07-20 06:10:03 UTC
Hi Divyansh,
Can you please let me know, when this bz will come to ON QA?


Note You need to log in before you can comment on or make changes to this bug.