Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
We are currently evaluating on how to use JavaMelody within our applications.
As we use Oracle BerkeleyDB JE as embedded Database we want to monitor some of the database-internal performance values and some application-related parameters. Both of them are already provided within as mBean values. So we need an easy way to include this mBean Attributes into JavaMelody Monitoring.
With this pull request i've added an Parameter
mbean-values
that allows the selection of a mBean Attribute list, that will be included within monitoring.The parameter value must have the following format:
This may look like this:
Active transactions#CustomBean:type=DatabaseEnvironment#TransactionCount|Cache misses#CustomBean:type=DatabaseEnvironment#CacheMisses
When specified the following mBean values will be monitored as additional values and displayed in the extended counter section:
If an attribute is selected that doesn't exist or if the Bean doesn't exist, an warning will be logged an the attribute will be ignored.
The result may look like this: (Lange Transaktionen, Kurze Transaktionen, Alter des Backups, Min. Dateiauslastung, Max. Dateiauslastung, Freier Speicher, are values collected from mBeans)