Hi,
Please consider the patch adding additional metrics for the gfs2 PMDA in
pcp.git.
Changed the location on where the indom cache located mounted
file-system names to /sys/fs/gfs2/ this allows the additional query for
the device id of the file-systems, this is needed for the
gfs2_glock_lock_time trace-point metrics. Added the required code
changes to support the additional metrics.
Added metrics for glstats "/sys/kernel/debug /gfs2/<fs>/glstats" these
metrics can count the number of glocks that exists currently for the
file-system and give how many locks per each type of glock.
Added metrics for the gfs2_glock_lock_time trace-point. These metrics
determine the current *worst* glock for each file-system at the time of
query. The data is fetched from "/sys/kernel/debug/tracing/trace_pipe"
which gives the values of glocks for all file-systems live. We read
through the pipe reading all of the buffered values and calculate which
is the worst glock, the device id for each file-system allows the
separation of locks per each file-system mounted.
Created some additional qa tests in "qa/654" and all corresponding help
text.
Available at git://github.com/pauljevans/pcp.git dev
Paul.
|