Whamcloud - gitweb
LU-17005 obdclass: allow jobstats histogram to be disabled
authorAndreas Dilger <adilger@whamcloud.com>
Wed, 16 Aug 2023 23:49:43 +0000 (17:49 -0600)
committerAndreas Dilger <adilger@whamcloud.com>
Mon, 21 Aug 2023 08:45:11 +0000 (08:45 +0000)
commita2e5a73bde2e44a70bc4d1196df870a997c597a4
tree8e0804a2fc0eba10aca650a4f459081d5c47c712
parent625395158dbd36df8185ea40fdc7e63f8f5cf7d7
LU-17005 obdclass: allow jobstats histogram to be disabled

Allow the jobstats IO size histogram to be disabled with the
"enable_stats_header" tunable parameter.  This maintains
compatibility with older collectd and other stats-scraping
scripts that do not understand these new fields.

Default to disabled for EXA6.2.1, since it is new for this release.

Test-Parameters: trivial
Fixes: fde40ce32c ("LU-16087 lprocfs: add histogram to stats counter")
Signed-off-by: Andreas Dilger <adilger@whamcloud.com>
Change-Id: Ie8bff8ef033f0b6e28c19548b7302d0913ddf905
Reviewed-on: https://review.whamcloud.com/c/ex/lustre-release/+/51966
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Nathaniel Clark <nclark@whamcloud.com>
lustre/obdclass/lprocfs_jobstats.c