On Thu, Jun 2, 2016 at 11:47 AM, Darrel Schneider <[email protected]> wrote:
> Statistics are supposed to work even if you don't have sampling enabled. > For example you could turn off sampling and not have a statistic archive > but could still run a gfsh command that fetches a bunch of stats from the > running system or use the pulse tool. > > However you can leave sampling turned on even if you do not have a > statistic archive and it is true that our current OSStats (linux, windows, > solaris) and VMStats are only updated when sampling is enabled. > If you go with that then you just need to make clear that your sampler will > only be called if the config property "statistic-sampling-enabled" is true > and the frequency of calls will be determined by the config property > "statistic-sample-rate". > Interesting. I think it make sense for these stats to be controlled by the statistic-sampling-enabled property. It looks like that property defaults to true, and the javadocs say that if you turn it off some of your stats will display as 0. -Dan
