vmware-tanzu / velero

Backup and migrate Kubernetes applications and their persistent volumes
https://velero.io
Apache License 2.0
8.59k stars 1.39k forks source link

Add a new metric for BSL #7039

Open chrislinan opened 10 months ago

chrislinan commented 10 months ago

Describe the problem/challenge you have

Can we have a new metric for BSL to show whether BSL is valid or invalid?

Describe the solution you'd like.

add a new metric named "velero_backup_storage_location_last_status" and register this metric in the BSL controller The behavior may be like the metric "backupLastStatus"

Anything else you would like to add:

Environment:

Vote on this issue!

This is an invitation to the Velero community to vote on issues, you can see the project's top voted issues listed here.
Use the "reaction smiley face" up to the right of this comment to vote.

allenxu404 commented 9 months ago

Currently we can check the status of BSL either by Velero command line interface or backuprepositories CR. Not sure if adding this new metrics would provide significant value, given these existing methods.

Let's see if there is more feedbacks from other users on this need.

sseago commented 8 months ago

@allenxu404 Actually, the BSL is the backupstoragelocations CR -- backuprepositories is used for kopia/restic for FS backup.

allenxu404 commented 8 months ago

@sseago My bad. Thanks for pointing it out.

oOoHoCo commented 6 months ago

👍

I would really like to get a metric for BackupStorageLocation and BackupSnapshotLocation too. This would make alarming much easier than implementing some job that needs to regularly use the CLI to check.

github-actions[bot] commented 4 months ago

This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 14 days. If a Velero team member has requested log or more information, please provide the output of the shared commands.

kaovilai commented 4 months ago

unstale