[
https://issues.apache.org/jira/browse/GEODE-5347?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16523543#comment-16523543
]
Juan José Ramos Cassella commented on GEODE-5347:
-------------------------------------------------
I've recently developed a project that uses {{spring-boot}} and
{{spring-shell}} which does, between other things, exactly this: show the most
common statistical values (min, max, average, standard deviation and last
sample value) for a given statistic. The project can be found in
[https://github.com/jujoramos/geode-support-shell|https://github.com/jujoramos/geode-support-shell.]
and the command is {{show statistics summary}}. We can use it as the starting
point, or integrate some of the functionality into {{gfsh}}.
Cheers.
> create a gfsh command to print specified statistics
> ---------------------------------------------------
>
> Key: GEODE-5347
> URL: https://issues.apache.org/jira/browse/GEODE-5347
> Project: Geode
> Issue Type: New Feature
> Components: docs, gfsh
> Reporter: Karen Smoler Miller
> Priority: Major
>
> I would find it useful for interactive monitoring and debugging to be able to
> issue a gfsh command that prints the current value of a statistic.
> Currently, some statistics are available with the gfsh show metrics command,
> but not all. And I don't want to have to use the API to capture a value that
> I need while I'm trying to interactively debug a cluster.
> The particular case/statistic I want to see is GatewayStatistics
> eventQueueSize, which doesn't appear to be accessible by using gfsh show
> metrics command. My use case has to do with migrating data from one cluster
> to another. I want to enable a gateway sender that will "push" my region
> entries to the other cluster as entries are touched. But, once I've
> completed touching each entry to be migrated, I need to know that sender's
> queue has emptied to be able to call my migration complete.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)