Skip to main content
1.4.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.

JVM metric exclusion

Set excludeJvmMetrics: true to add the built-in JVM MBean domains to the exclusion list. This key is supported in JMX Exporter 1.4.0.