Comments (3)
@anderoo Currently, the mechanism to exclude specific attributes (excludeObjectNameAttributes
) requires the full ObjectName. Wildcards are not supported.
Why are wildcards not supported?
Using wildcards would require a regex match for every ObjectName / attribute name combination (fully qualified attribute.)
Considering the number of possible metrics, this would drastically kill performance.
from jmx_exporter.
@dhoard Thanks for the reply. Is the wildcard logic not the same for blacklisting then? I currently have a few wildcard blacklists with the intention of improving performance, and my goal with dropping certain percentiles is to improve performance further and reduce the number of metrics scraped.
I'll see if I can get these working with full object names in the meantime, but given labels like "table" would be fairly flexible, it's probably not a solution.
from jmx_exporter.
@anderoo The MBean ObjectName
doesn't contain the names of attributes of the MBean.
To filter by only ObjectName / only attribute name or the combination would require building a string for every ObjectName/attribute combination, and then performing the regex filtering which would be expensive.
I would double-check how Cassandra implements the MBean. If they periodically calculate the value and store it, then the call to get the value should be quick. If they are calculating it "inline", then the call to get the value is expensive.
from jmx_exporter.
Related Issues (20)
- Is it possible to add custom k8s attributes as labels for Kafka connect JMX metrics HOT 2
- Allow config file to contain the keystore / truststore credentials when connecting via ssl to JMX HOT 3
- How to create hpa kubernetes based on heap consommation HOT 1
- jmx exporter on an old AIX, v6.1. HOT 5
- Does the expiry/renewal of certificates in jmx_exporter, require restart of service or is it automatically reloaded. HOT 3
- High memory usage by jmx_exporter when connecting to Kafka HOT 1
- Positive match to a rule should not consume the metric HOT 1
- Example config for Tomcat HOT 4
- patterns support for config file for kafka metrics HOT 18
- Question about excludeObjectNames HOT 3
- Add support for default values of regex match groups in rules HOT 2
- Support for JMX filter pattern for kafka metrics HOT 24
- The metric jvm_memory_used_bytes transitioned to jvm_memory_bytes_used starting from a certain version of jmx_exporter? HOT 6
- How can I send metrics simultaneously for kafka metrics and for kafka connect HOT 1
- File descriptors opened by jmx exporter getting stuck in CLOSE_WAIT state HOT 33
- Logging of jmx and alerts what all it can monitor HOT 1
- difference between metrics in jmx exporter HOT 1
- Duplicate metrics with NaN HOT 1
- Drop support for Java 8 HOT 8
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jmx_exporter.