Comments (6)
use version: 0.16.0。jdk21. The presence of -1.0 in the expression jvm_memory_bytes_max{area="nonheap",} -1.0. why?
from jmx_exporter.
@YANGJINJUE 0.16.0 shipped with the Prometheus client_java
0.11.0 library, which may have introduced the change.
I suggest you upgrade to the latest version 0.20.0 and adjust your dashboards.
from jmx_exporter.
@YANGJINJUE 0.16.0 shipped with the Prometheus
client_java
0.11.0 library, which may have introduced the change.I suggest you upgrade to the latest version 0.20.0 and adjust your dashboards.
use: jmx_prometheus_javaagent-0.20.0.jar use: jdk21, error: Exception in thread "main" java.lang.reflect.InvocationTargetException
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:118)
at java.base/java.lang.reflect.Method.invoke(Method.java:580)
at java.instrument/sun.instrument.InstrumentationImpl.loadClassAndStartAgent(InstrumentationImpl.java:560)
at java.instrument/sun.instrument.InstrumentationImpl.loadClassAndCallPremain(InstrumentationImpl.java:572)
Caused by: java.lang.NoSuchMethodError: 'io.prometheus.jmx.shaded.io.prometheus.client.Collector io.prometheus.jmx.BuildInfoCollector.register()'
at io.prometheus.jmx.JavaAgent.premain(JavaAgent.java:54)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
... 3 more
*** java.lang.instrument ASSERTION FAILED ***: "!errorOutstanding" with message Outstanding error when calling method in invokeJavaAgentMainMethod at open/src/java.instrument/share/native/libinstrument/JPLISAgent.c line: 627
*** java.lang.instrument ASSERTION FAILED ***: "success" with message invokeJavaAgentMainMethod failed at open/src/java.instrument/share/native/libinstrument/JPLISAgent.c line: 466
*** java.lang.instrument ASSERTION FAILED *: "result" with message agent load/premain call failed at open/src/java.instrument/share/native/libinstrument/JPLISAgent.c line: 429
FATAL ERROR in native method: processing of -javaagent failed, processJavaStart failed
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
V [libjvm.dylib+0x53ecac] jni_FatalError+0xdc
V [libjvm.dylib+0x6ae64c] JvmtiExport::post_vm_initialized()+0x2dc
V [libjvm.dylib+0x9bd22c] Threads::create_vm(JavaVMInitArgs, bool)+0x79c
V [libjvm.dylib+0x55b994] JNI_CreateJavaVM+0x68
C [libjli.dylib+0xa9f4] JavaMain+0x104
C [libjli.dylib+0xd8d0] ThreadJavaMain+0xc
C [libsystem_pthread.dylib+0x7034] _pthread_start+0x88
from jmx_exporter.
Related Issues (20)
- NullPointerException during scrape HOT 1
- 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 2
- 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
- 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.