*:min # Path present in many metrics but uninterresting java:lang:memorypool.*usagethreshold.* # Leaf attributes not interesting for us but that are presents in many path (reduce cardinality of metrics) # Unaccessible metrics (not enough privilege) The name of the label will be either # $1 from the regex below, or the entire environment variable name if no match groups are defined # Example: # additionalLabelsFromEnvvars: "^ADDL\_(.*)$" additionalLabelsFromEnvvars: ListenAddress: 0.0.0.0 listenPort: 8080 # Regular expression to match environment variables that will be added # as labels to all data points. Goods sources of information to understand what Mbeans are doing/create your dashboards are: You will get the duration of how long it took to scrape individual MBean, this is useful to understand which metrics are expansive to scrape. Java =trace -jar cassandra_exporter.jar config.yml -oneshot Run the program with the following options: In the maxScrapFrequencyInSec, you specify the metrics you want to be scraped at which frequency.īasically, starting from the set of all mbeans, the blacklist is applied first to filter this set and then the maxScrapFrequencyInSec is applied as a whitelist to filter the resulting set.Īs an example, if we take as input set the metrics 35.425000000000004 How to debug For example, mbeans endpoint from org:apache:cassandra:db.* does not expose any metrics but are used to trigger actions on Cassandra's nodes. This is important as JMX is an RPC mechanism and you don't want to trigger some of those RPC. In the blacklist block, you specify the metrics you don't want the exporter to scrape. You can have a look at a full configuration file here The Cassandra exporter needs to run on every Cassandra nodes to get all the informations regarding the whole cluster. Java -jar cassandra_exporter.jar config.yml
0 Comments
Leave a Reply. |