-
Notifications
You must be signed in to change notification settings - Fork 1.8k
OADP-5967-prometheus support #95469
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
Open
shdeshpa07
wants to merge
4
commits into
openshift:main
Choose a base branch
from
shdeshpa07:OADP-5967-prometheus-support
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
OADP-5967-prometheus support #95469
Changes from all commits
Commits
Show all changes
4 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,173 +6,42 @@ | |
[id="list-of-metrics_{context}"] | ||
= List of available metrics | ||
|
||
These are the list of metrics provided by the OADP together with their https://prometheus.io/docs/concepts/metric_types/[Types]. | ||
Refer to the following table for a list of `Velero` metrics provided by {oadp-short} together with their https://prometheus.io/docs/concepts/metric_types/[Types]: | ||
|
||
.Velero metrics | ||
|=== | ||
|Metric name |Description |Type | ||
|
||
|`kopia_content_cache_hit_bytes` | ||
|Number of bytes retrieved from the cache | ||
|Counter | ||
| `velero_backup_tarball_size_bytes` | Size, in bytes, of a backup | Gauge | ||
| `velero_backup_total` | Current number of existent backups | Gauge | ||
| `velero_backup_attempt_total` | Total number of attempted backups | Counter | ||
| `velero_backup_success_total` | Total number of successful backups | Counter | ||
| `velero_backup_partial_failure_total` | Total number of partially failed backups | Counter | ||
| `velero_backup_failure_total` | Total number of failed backups | Counter | ||
| `velero_backup_validation_failure_total` | Total number of validation failed backups | Counter | ||
| `velero_backup_duration_seconds` | Time taken to complete backup, in seconds | Histogram | ||
| `velero_backup_duration_seconds_bucket` | Total count of observations for a bucket in the histogram for the metric `velero_backup_duration_seconds` | Counter | ||
| `velero_backup_duration_seconds_count` | Total count of observations for the metric `velero_backup_duration_seconds` | Counter | ||
| `velero_backup_duration_seconds_sum` | Total sum of observations for the metric `velero_backup_duration_seconds` | Counter | ||
| `velero_backup_deletion_attempt_total` | Total number of attempted backup deletions | Counter | ||
| `velero_backup_deletion_success_total` | Total number of successful backup deletions | Counter | ||
| `velero_backup_deletion_failure_total` | Total number of failed backup deletions | Counter | ||
| `velero_backup_last_successful_timestamp` | Last time a backup ran successfully, Unix timestamp in seconds | Gauge | ||
| `velero_backup_items_total` | Total number of items backed up | Gauge | ||
| `velero_backup_items_errors` | Total number of errors encountered during backup | Gauge | ||
| `velero_backup_warning_total` | Total number of warned backups | Counter | ||
| `velero_backup_last_status` | Last status of the backup. A value of 1 is success, 0 is failure | Gauge | ||
| `velero_restore_total` | Current number of existent restores | Gauge | ||
| `velero_restore_attempt_total` | Total number of attempted restores | Counter | ||
| `velero_restore_validation_failed_total` | Total number of failed restores failing validations | Counter | ||
| `velero_restore_success_total` | Total number of successful restores | Counter | ||
| `velero_restore_partial_failure_total` | Total number of partially failed restores | Counter | ||
| `velero_restore_failed_total` | Total number of failed restores | Counter | ||
| `velero_volume_snapshot_attempt_total``| Total number of attempted volume snapshots | Counter | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. volume_snapshot_attempt_total` has an extra backtick. |
||
| `velero_volume_snapshot_success_total` | Total number of successful volume snapshots | Counter | ||
| `velero_volume_snapshot_failure_total` | Total number of failed volume snapshots | Counter | ||
| `velero_csi_snapshot_attempt_total` | Total number of CSI attempted volume snapshots | Counter | ||
| `velero_csi_snapshot_success_total` | Total number of CSI successful volume snapshots | Counter | ||
| `velero_csi_snapshot_failure_total` | Total number of CSI failed volume snapshots | Counter | ||
|
||
|`kopia_content_cache_hit_count` | ||
|Number of times content was retrieved from the cache | ||
|Counter | ||
|
||
|`kopia_content_cache_malformed` | ||
|Number of times malformed content was read from the cache | ||
|Counter | ||
|
||
|`kopia_content_cache_miss_count` | ||
|Number of times content was not found in the cache and fetched | ||
|Counter | ||
|
||
|`kopia_content_cache_missed_bytes` | ||
|Number of bytes retrieved from the underlying storage | ||
|Counter | ||
|
||
|`kopia_content_cache_miss_error_count` | ||
|Number of times content could not be found in the underlying storage | ||
|Counter | ||
|
||
|`kopia_content_cache_store_error_count` | ||
|Number of times content could not be saved in the cache | ||
|Counter | ||
|
||
|`kopia_content_get_bytes` | ||
|Number of bytes retrieved using `GetContent()` | ||
|Counter | ||
|
||
|`kopia_content_get_count` | ||
|Number of times `GetContent()` was called | ||
|Counter | ||
|
||
|`kopia_content_get_error_count` | ||
|Number of times `GetContent()` was called and the result was an error | ||
|Counter | ||
|
||
|`kopia_content_get_not_found_count` | ||
|Number of times `GetContent()` was called and the result was not found | ||
|Counter | ||
|
||
|`kopia_content_write_bytes` | ||
|Number of bytes passed to `WriteContent()` | ||
|Counter | ||
|
||
|`kopia_content_write_count` | ||
|Number of times `WriteContent()` was called | ||
|Counter | ||
|
||
|`velero_backup_attempt_total` | ||
|Total number of attempted backups | ||
|Counter | ||
|
||
|`velero_backup_deletion_attempt_total` | ||
|Total number of attempted backup deletions | ||
|Counter | ||
|
||
|`velero_backup_deletion_failure_total` | ||
|Total number of failed backup deletions | ||
|Counter | ||
|
||
|`velero_backup_deletion_success_total` | ||
|Total number of successful backup deletions | ||
|Counter | ||
|
||
|`velero_backup_duration_seconds` | ||
|Time taken to complete backup, in seconds | ||
|Histogram | ||
|
||
|`velero_backup_failure_total` | ||
|Total number of failed backups | ||
|Counter | ||
|
||
|`velero_backup_items_errors` | ||
|Total number of errors encountered during backup | ||
|Gauge | ||
|
||
|`velero_backup_items_total` | ||
|Total number of items backed up | ||
|Gauge | ||
|
||
|`velero_backup_last_status` | ||
|Last status of the backup. A value of 1 is success, 0. | ||
|Gauge | ||
|
||
|`velero_backup_last_successful_timestamp` | ||
|Last time a backup ran successfully, Unix timestamp in seconds | ||
|Gauge | ||
|
||
|`velero_backup_partial_failure_total` | ||
|Total number of partially failed backups | ||
|Counter | ||
|
||
|`velero_backup_success_total` | ||
|Total number of successful backups | ||
|Counter | ||
|
||
|`velero_backup_tarball_size_bytes` | ||
|Size, in bytes, of a backup | ||
|Gauge | ||
|
||
|`velero_backup_total` | ||
|Current number of existent backups | ||
|Gauge | ||
|
||
|`velero_backup_validation_failure_total` | ||
|Total number of validation failed backups | ||
|Counter | ||
|
||
|`velero_backup_warning_total` | ||
|Total number of warned backups | ||
|Counter | ||
|
||
|`velero_csi_snapshot_attempt_total` | ||
|Total number of CSI attempted volume snapshots | ||
|Counter | ||
|
||
|`velero_csi_snapshot_failure_total` | ||
|Total number of CSI failed volume snapshots | ||
|Counter | ||
|
||
|`velero_csi_snapshot_success_total` | ||
|Total number of CSI successful volume snapshots | ||
|Counter | ||
|
||
|`velero_restore_attempt_total` | ||
|Total number of attempted restores | ||
|Counter | ||
|
||
|`velero_restore_failed_total` | ||
|Total number of failed restores | ||
|Counter | ||
|
||
|`velero_restore_partial_failure_total` | ||
|Total number of partially failed restores | ||
|Counter | ||
|
||
|`velero_restore_success_total` | ||
|Total number of successful restores | ||
|Counter | ||
|
||
|`velero_restore_total` | ||
|Current number of existent restores | ||
|Gauge | ||
|
||
|`velero_restore_validation_failed_total` | ||
|Total number of failed restores failing validations | ||
|Counter | ||
|
||
|`velero_volume_snapshot_attempt_total` | ||
|Total number of attempted volume snapshots | ||
|Counter | ||
|
||
|`velero_volume_snapshot_failure_total` | ||
|Total number of failed volume snapshots | ||
|Counter | ||
|
||
|`velero_volume_snapshot_success_total` | ||
|Total number of successful volume snapshots | ||
|Counter | ||
|
||
|=== | ||
|=== |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Best to define "it" as it's a vague referent. How about: