Comments (6)
@rus-99-pk remove type=GAUGE,
from your blacklistObjectNames
value.
from jmx_exporter.
@dhoard, thank you for reply. But it doesn't work.
I'm still getting:
...
artemis_address_size_bytes{address="Queue.PlannedEvent.DeleteAllPEQueue",} 0.0
artemis_address_size_bytes{address="Queue.PlannedEvent.PEByRuleCreateMessage",} 0.0
artemis_address_size_bytes{address="Queue.EventAction.Notifications",} 0.0
artemis_address_size_bytes{address="ExpiryQueue",} 0.0
artemis_address_size_bytes{address="Queue.PlannedEvent.AddPlannedEventMessages",} 0.0
...
from jmx_exporter.
@rus-99-pk Are you sure artemis_address_size_bytes
is the actual MBean ObjectName? (it doesn't look correct to me)
Can you use JConsole to verify the MBean name?
from jmx_exporter.
@dhoard, thank you for the tip! I checked your offer in JConsole:
And write ObjectName value to config:
...
whitelistObjectNames:
- "org.apache.activemq.artemis:*"
blacklistObjectNames:
- "org.apache.activemq.artemis:broker=0.0.0.0,component=addresses,address=Queue.PlannedEvent"
...
and it still doesn't work, because i'm still getting:
...
artemis_address_size_bytes{address="Queue.PlannedEvent",} 0.0
...
from jmx_exporter.
@rus-99-pk Looking ObjectName value and blacklistObjectNames
values... they don't match.
The ObjectName has double quotes... the blacklistObjectNames
does not.
ObjectName objectName1 = new ObjectName("org.apache.activemq.artemis:broker=\"0.0.0.0\",component=addresses,address=\"Queue.PlannedEvent\"");
ObjectName objectName2 = new ObjectName("org.apache.activemq.artemis:broker=0.0.0.0,component=addresses,address=Queue.PlannedEvent");
System.out.println(objectName1);
System.out.println(objectName2);
System.out.println("equal = " + objectName1.equals(objectName2));
org.apache.activemq.artemis:broker="0.0.0.0",component=addresses,address="Queue.PlannedEvent"
org.apache.activemq.artemis:broker=0.0.0.0,component=addresses,address=Queue.PlannedEvent
equal = false
from jmx_exporter.
@dhoard, thank you so much! I thought it didn't matter, but it doesn't.
I changed my config:
...
whitelistObjectNames:
- "org.apache.activemq.artemis:*"
blacklistObjectNames:
- "org.apache.activemq.artemis:broker=\"0.0.0.0\",component=addresses,address=\"Queue.PlannedEvent*\",*"
...
And it works now! Thanks again.
from jmx_exporter.
Related Issues (20)
- Duplicate metrics with NaN HOT 1
- Drop support for Java 8 HOT 8
- Blacklisting Percentile Metrics HOT 3
- Metrics for a specific process HOT 6
- the problem of getting data from multiple replicas under Kubernetes deployment controller and how to distinguish replica labels based on podname HOT 2
- JMX exporter high memory usage. HOT 3
- have any metric about jvm GC Pause? HOT 3
- Proposal: attributes as metrics & extra metrics HOT 7
- Plan for release with Prometheus Client 1.x? HOT 2
- no main manifest attribute, in jmx_prometheus_javaagent-0.19.0.jar HOT 1
- Hazelcast Metrics are not showing HOT 2
- Remote jmx has enabled SSL. How to configure jmx-exporter for verification? HOT 13
- Ability to use lowercaseOutputName in particular rules HOT 4
- jmx exporter inside Confluent Kafka broker container HOT 2
- After applying JMX filtering pattern, it takes 23 secs to scrape the metrics, is it expected behaviour? HOT 6
- Collection fails for Kafka using release 1.0.0 HOT 14
- feature request: allow to exclude specific attribute patterns inside a composite attribute HOT 3
- Clarify in documentation "jvm_*" metrics HOT 4
- jmxexporter adding incorrect _total suffix to #HELP and #TYPE when using COUNTER HOT 10
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.