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

Add deletemarker_total metric #17689

Merged
merged 1 commit into from Jul 20, 2023
Merged

Conversation

krisis
Copy link
Member

@krisis krisis commented Jul 19, 2023

Description

Add prometheus metrics to monitor total number of delete markers in a bucket and cluster-wide.

# HELP minio_cluster_usage_deletemarker_total Total number of delete markers in a cluster
# TYPE minio_cluster_usage_deletemarker_total gauge
minio_cluster_usage_deletemarker_total{server="minio1:9000"} 1
# HELP minio_bucket_usage_deletemarker_total Total number of delete markers
# TYPE minio_bucket_usage_deletemarker_total gauge
minio_bucket_usage_deletemarker_total{bucket="bucket",server="minio1:9000"} 1

How to test this PR?

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Optimization (provides speedup with no functional changes)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

  • Fixes a regression (If yes, please add commit-id or PR # here)
  • Unit tests added/updated
  • Internal documentation updated
  • Create a documentation update request here

Copy link
Member

@vadmeste vadmeste left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@harshavardhana harshavardhana merged commit 9eeee92 into minio:master Jul 20, 2023
19 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants