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"
| Key | Description |
|---|---|
includeObjectNames | ObjectNames to query; defaults to all. |
excludeObjectNames | ObjectNames not to query; takes precedence. |
whitelistObjectNames | Compatibility alias for includeObjectNames. |
blacklistObjectNames | Compatibility alias for excludeObjectNames. |
Attribute filters
includeObjectNameAttributes:
"java.lang:type=Memory": ["HeapMemoryUsage"]
excludeObjectNameAttributes:
"java.lang:type=Memory": ["NonHeapMemoryUsage"]
| Key | Description |
|---|---|
includeObjectNameAttributes | Map of ObjectName strings to included attributes. |
excludeObjectNameAttributes | Map of ObjectName strings to excluded attributes. |
autoExcludeObjectNameAttributes | Automatically exclude unsupported attributes. Default true. |