-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Description
Taking Tableau JMX as example, it has a tableau.health.jmx:name=vizqlservice
bean with a composite attribute called PerformanceMetrics
this attribute has hundreds of attribute inside like ActiveSessions
, SessionsInFlightCount
, etc.. There is really a lot of them.
Let's say that I want to filter all those that are *P90
, *P75
, *P25
, etc..
I believe this filtering cannot be done today in jmxexporter itself. It allows to exclude based on the attribute name PerformanceMetrics
but not on the attributes inside the composite attribute (AFAIK).
Here is the config.yaml that I'm using
cat jmxexporter_vizqlserver1_config.yaml
---
jmxUrl: service:jmx:rmi:///jndi/rmi://127.0.0.1:8893/jmxrmi
includeObjectNames:
- "java.lang:type=Memory,*"
- "tableau.health.jmx:*"
excludeObjectNameAttributes:
"java.lang:type=Memory":
- NonHeapMemoryUsage
- Verbose
- ObjectPendingFinalizationCount
"tableau.health.jmx:name=vizqlservice":
- "PerformanceMetrics,SessionsSharableIdleTimeP99"
If there is any way to address the attributes inside a composite attribute from excludeObjectNameAttributes
in current release it's not clear to me how to do it, some maybe it would be good to include an example in the docs.