Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MODE-1719 AS7 subsystem should expose monitoring information via management layer #875

Merged
merged 4 commits into from Jul 2, 2013

Conversation

rhauch
Copy link
Contributor

@rhauch rhauch commented Jul 2, 2013

This pull-request is a simplification of and thus supersedes the original pull-request.

Added to the JBoss subsystem the ability to gather metrics using the RepositoryStatistics provided by the JcrRepository.

Now creating 5 AS metrics (one for each window duration) for each repository metric. Changed the type from RepositoryStatistics to the interface RepositoryMonitor in the classes that needed the metrics. No longer logging in to the repository during MonitorService.start(). So metric runtime values will be "undefined" until the repository starts. Here are some other things of note:

Changed a spelling error in Window.PREVIOUS_52_WEEKS literal. From "previous-52-wees" to "previous-52-weeks."

Created constants in the interfaces of History, Statistics, RepositoryMonitor, and DurationActivity for empty or no values of these types. Some of these constants I moved from RepositoryStatistics. Also renamed the RepositoryStatistics implementations of these interfaces.

…gement layer

Added to the JBoss subsystem the ability to gather metrics using the RepositoryStatistics provided by the JcrRepository.
…gement layer

Added to the JBoss subsystem the ability to gather metrics using the RepositoryStatistics provided by the JcrRepository.
…gement layer

Now creating an instance of each metric for each window duration. Also, the monitor service no longer logs into the repository. So until the repository
is started the metric values will be "undefined" when the runtime value is requested. Now using the interface type of RepositoryMonitor instead of
RepositoryStatistics.
@elvisisking
Copy link
Member

Tested this in EAP and verified in CLI. All looks good.

@rhauch rhauch merged commit 3520d35 into ModeShape:master Jul 2, 2013
@rhauch
Copy link
Contributor Author

rhauch commented Jul 2, 2013

Merged the second pull-request into the 'master' branch, and cherry-picked all 4 commits onto the '3.3.x' branch (since this is needed by the RHQ plugin that is still under development but needed for the products).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants