Skip to main content
1.1.0

Object Names

Object-name and attribute filters limit which MBeans and attributes are collected.

MBean filters

includeObjectNames:
- "java.lang:type=Memory"
excludeObjectNames:
- "java.lang:type=ClassLoading"
KeyDescription
includeObjectNamesObjectNames to query; defaults to all.
excludeObjectNamesObjectNames not to query; takes precedence.
whitelistObjectNamesCompatibility alias for includeObjectNames.
blacklistObjectNamesCompatibility alias for excludeObjectNames.

Attribute filters

includeObjectNameAttributes:
"java.lang:type=Memory": ["HeapMemoryUsage"]
excludeObjectNameAttributes:
"java.lang:type=Memory": ["NonHeapMemoryUsage"]
KeyDescription
includeObjectNameAttributesMap of ObjectName strings to included attributes.
excludeObjectNameAttributesMap of ObjectName strings to excluded attributes.
autoExcludeObjectNameAttributesAutomatically exclude unsupported attributes. Default true.