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 origin of the metric in help #29

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Add origin of the metric in help #29

wants to merge 1 commit into from

Conversation

RDruon
Copy link
Contributor

@RDruon RDruon commented Aug 4, 2023

New help, not all metrics are shown:

# HELP lustre_available_kilobytes Number of kilobytes readily available in the pool. Originating from 'osd-*.*.kbytesavail'
# HELP lustre_capacity_kilobytes Capacity of the pool in kilobytes. Originating from 'osd-*.*.kbytestotal'
# HELP lustre_connected_clients Number of connected clients. Originating from 'mdt.*.exports.*.uuid'
# HELP lustre_dio_frags Current disk IO fragmentation for the given size. Originating from 'osd-*.*.brw_stats'
# HELP lustre_discontiguous_blocks_total Originating from 'osd-*.*.brw_stats'
# HELP lustre_discontiguous_pages_total Total number of logical discontinuities per RPC. Originating from 'osd-*.*.brw_stats'
# HELP lustre_disk_io Current number of I/O operations that are processing during the snapshot. Originating from 'osd-*.*.brw_stats'
# HELP lustre_disk_io_total Total number of operations the filesystem has performed for the given size. Originating from 'osd-*.*.brw_stats'
# HELP lustre_drop_bytes_total Total number of bytes that have been dropped. Originating from 'lnetctl stats show'
# HELP lustre_drop_count_total Total number of messages that have been dropped. Originating from 'lnetctl net show -v 4'
# HELP lustre_exports_dirty_total Total number of exports that have been marked dirty. Originating from 'obdfilter.*OST*.tot_dirty'
# HELP lustre_exports_granted_total Total number of exports that have been marked granted. Originating from 'obdfilter.*OST*.tot_granted'
# HELP lustre_exports_pending_total Total number of exports that have been marked pending. Originating from 'obdfilter.*OST*.tot_pending'
# HELP lustre_exports_total Total number of times the pool has been exported. Originating from 'mgs.*.num_exports'/'mdt.*MDT*.num_exports'/'obdfilter.*OST*.num_exports' for MGT/MDT/OST
# HELP lustre_free_kilobytes Number of kilobytes allocated to the pool. Originating from 'osd-*.*.kbytesfree'
# HELP lustre_inodes_free The number of inodes (objects) available. Originating from 'osd-*.*.filesfree'
# HELP lustre_inodes_maximum The maximum number of inodes (objects) the filesystem can hold. Originating from 'osd-*.*.filestotal'
# HELP lustre_io_time_milliseconds_total Total time in milliseconds the filesystem has spent processing various object sizes. Originating from 'osd-*.*.brw_stats'
# HELP lustre_lock_contended_total Number of contended locks. Originating from 'ldlm.namespaces.{mdt-,filter-}*.contended_locks'
# HELP lustre_lock_contention_seconds_total Time in seconds during which locks were contended. Originating from 'ldlm.namespaces.{mdt-,filter-}*.contention_seconds'
# HELP lustre_lock_count_total Number of locks. Originating from 'ldlm.namespaces.{mdt-,filter-}*.lock_count'
# HELP lustre_lock_timeout_total Number of lock timeouts. Originating from 'ldlm.namespaces.{mdt-,filter-}*.lock_timeouts'
# HELP lustre_pages_per_bulk_rw_total Total number of pages per block RPC. Originating from 'osd-*.*.brw_stats'
# HELP lustre_read_bytes_total The total number of bytes that have been read. Originating from 'obdfilter.*OST*.stats'
# HELP lustre_read_maximum_size_bytes The maximum read size in bytes. Originating from 'obdfilter.*OST*.stats'
# HELP lustre_read_minimum_size_bytes The minimum read size in bytes. Originating from 'obdfilter.*OST*.stats'
# HELP lustre_read_samples_total Total number of reads that have been recorded. Originating from 'obdfilter.*OST*.stats'
# HELP lustre_receive_bytes_total Total number of bytes that have been received. Originating from 'lnetctl stats show'
# HELP lustre_receive_count_total Total number of messages that have been received. Originating from 'lnetctl net show -v 4'
# HELP lustre_send_bytes_total Total number of bytes that have been sent. Originating from 'lnetctl stats show'
# HELP lustre_send_count_total Total number of messages that have been sent. Originating from 'lnetctl net show -v 4'
# HELP lustre_stats_total Number of operations the filesystem has performed. Originating from 'mdt.*.md_stats'
# HELP lustre_write_bytes_total The total number of bytes that have been written. Originating from 'obdfilter.*OST*.stats'
# HELP lustre_write_maximum_size_bytes The maximum write size in bytes. Originating from 'obdfilter.*OST*.stats'
# HELP lustre_write_minimum_size_bytes The minimum write size in bytes. Originating from 'obdfilter.*OST*.stats'
# HELP lustre_write_samples_total Total number of writes that have been recorded. Originating from 'obdfilter.*OST*.stats' 

@RDruon RDruon added the documentation Improvements or additions to documentation label Aug 4, 2023
@RDruon RDruon requested a review from jgrund August 4, 2023 08:34
@RDruon RDruon self-assigned this Aug 4, 2023
@jgrund
Copy link
Member

jgrund commented Aug 4, 2023

Not wild about this approach as it depends on names here to consistently be aligned with what's upstream in lustre_collector.

@RDruon
Copy link
Contributor Author

RDruon commented Aug 4, 2023

Not wild about this approach as it depends on names here to consistently be aligned with what's upstream in lustre_collector.

So lustre_collector should report the origin of the stat and then we use it here?

@jgrund
Copy link
Member

jgrund commented Aug 4, 2023

Not wild about this approach as it depends on names here to consistently be aligned with what's upstream in lustre_collector.

So lustre_collector should report the origin of the stat and then we use it here?

Something along those lines.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants