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 ILM metrics in metrics-v3 #19539
base: master
Are you sure you want to change the base?
Add ILM metrics in metrics-v3 #19539
Conversation
8772cb3
to
5569cda
Compare
5569cda
to
511eb44
Compare
511eb44
to
d8ef595
Compare
1624665
to
b5affab
Compare
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.
As per latest discussions, the ilm metrics should be per-server (not cluster level), and should be moved from /cluster/ilm
to root level i.e. /ilm
cc @kannappanr
9aeb390
to
2f31cfc
Compare
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.
Mostly LGTM, couple of small comments in the documentation.
@@ -343,3 +343,13 @@ The standard metrics group for GoCollector is not shown below. | |||
| `minio_replication_max_queued_bytes` | `gauge` | Maximum number of bytes queued for replication since server start | `server` | | |||
| `minio_replication_max_queued_count` | `gauge` | Maximum number of objects queued for replication since server start | `server` | | |||
| `minio_replication_max_data_transfer_rate` | `gauge` | Maximum replication data transfer rate in bytes/sec seen since server start | `server` | | |||
|
|||
### `/ilm` |
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.
Can we add a section at the top of the document also like we have for other root level metrics like audit, notification, etc ?
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.
It is next to /replication
and /notification
docs/metrics/v3.md
Outdated
| Name | Type | Help | Labels | | ||
|-------------------------------------------------------|-----------|----------------------------------------------------------------------------|--------| | ||
| `minio_cluster_ilm_expiry_pending_tasks` | `counter` | Number of pending ILM expiry tasks in the queue | | | ||
| `minio_cluster_ilm_transition_active_tasks` | `counter` | Number of active ILM transition tasks | | | ||
| `minio_cluster_ilm_transition_missed_immediate_tasks` | `counter` | Number of missed immediate ILM transition tasks | | | ||
| `minio_cluster_ilm_transition_pending_tasks` | `counter` | Number of pending ILM transition tasks in the queue | | | ||
| `minio_cluster_ilm_versions_scanned` | `counter` | Total number of object versions checked for ilm actions since server start | | |
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.
Need to add the server
label to these metrics now
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.
done
2f31cfc
to
31542d2
Compare
Co-authored-by: Shireesh Anjal <[email protected]> Signed-off-by: Bala.FA <[email protected]>
31542d2
to
c6e09df
Compare
Community Contribution License
All community contributions in this pull request are licensed to the project maintainers
under the terms of the Apache 2 license.
By creating this pull request I represent that I have the right to license the
contributions to the project maintainers under the Apache 2 license.
Description
Endpoint: /minio/metrics/v3/ilm
Metrics:
Motivation and Context
https://github.com/miniohq/engineering/issues/1510
How to test this PR?
Types of changes
Checklist:
commit-id
orPR #
here)