0

I need to capture some of the metrics which is not currently provided by Gemfire in the Mbeans. And i came across the statistics to capture the same, but there is no clear docs regarding developing custom statistics . Please let me know, how to enhance custom statistics for capturing additional data in gemfire.

1 Answers1

1

The javadocs for StatisticsFactory has some good information on creating a custom statistics.

You can also look at some examples of statistics usage in the geode codebase. For example, here a class which wraps an instance of Statistics and provides public methods to update it: FileSystemStats.java.

Glorfindel
  • 21,988
  • 13
  • 81
  • 109
Dan Smith
  • 481
  • 2
  • 3