Comments (11)
Just checked that it wasn't the container by doing a source build (following the instructions given using gradlew) and get the same error message.
from jmx2graphite.
from jmx2graphite.
Unfortunately not a Java dev, but I had a go, output is
jmx2graphite.txt
from jmx2graphite.
@bluebob That was very helpful. I still have one missing piece of information. JMX2Graphite first runs an HTTP request to Jolokia to get the list of available metric beans. You can see he got it:
17/02/15 14:05:36 INFO jmx2graphite.MetricsPipeline: Found 790 metric beans. Time = 715ms, for 2017-02-15T14:05:30.000+0000
Next it run a POST request to Jolokia, in the body it writes all the metric beans he got before. The response body is supposed to be an Array of JSON object, one per metric. From some reason, the response body is a single JSON Object thus you see this exception:
Can not deserialize instance of java.util.ArrayList out of START_OBJECT token
I've pushed a commit to jmx2graphite and adds trace messages printing the request body and response body in TRACE log level.
Can you please do a git pull, build from source, set log level to TRACE, and paste back the result? Sorry for the inconvenience.
from jmx2graphite.
Sorry for delay, log file (a lot larger!) attached.
jmx2graphite112.txt
from jmx2graphite.
Weird. The response from Jolokia even though the status code is 200. I can get around that, but still Jolokia fails. What version of Jolokia are you using ?
from jmx2graphite.
Jar running claims to be "jolokia-jvm-1.3.5-agent". Host is RHEL7.2
from jmx2graphite.
@bluebob I managed to track down the bug. It's in Jolokia JVM Agent. I've opened a bug for them here: jolokia/jolokia#305.
It is caused if your JVM Agent was started in debug mode. How does your -javaagent
command argument looks like?
from jmx2graphite.
Sorry for delay in replying. Sure enough the JOLOKIA_OPTS setting I was using was "--debug". I've switched that to "--verbose" and jmx2graphite seems to be working fine now. Now all I've gotta do is turn off all that trace output... :)
from jmx2graphite.
from jmx2graphite.
Oops, yes. Thanks. :)
from jmx2graphite.
Related Issues (20)
- Support TLS Graphite endpoints HOT 1
- WS-2018-0125 Medium Severity Vulnerability detected by WhiteSource
- WS-2009-0001 Low Severity Vulnerability detected by WhiteSource
- CVE-2016-4970 High Severity Vulnerability detected by WhiteSource
- CVE-2017-5645 High Severity Vulnerability detected by WhiteSource
- Coredump when using javagent HOT 4
- WS-2017-3734 (Medium) detected in httpclient-4.5.1.jar
- Configurable LOG LEVEL HOT 2
- JMX2Graphite not exposing connector and task status metrics HOT 17
- CVE-2019-20330 (High) detected in jackson-databind-2.9.10.1.jar
- CVE-2020-8840 (Medium) detected in jackson-databind-2.9.10.2.jar
- CVE-2020-9546 (Medium) detected in jackson-databind-2.9.10.2.jar
- CVE-2020-9547 (Medium) detected in jackson-databind-2.9.10.2.jar
- CVE-2020-9548 (Medium) detected in jackson-databind-2.9.10.2.jar
- WS-2019-0379 (Medium) detected in commons-codec-1.12.jar
- CVE-2020-10673 (Medium) detected in jackson-databind-2.9.10.3.jar
- Documentation error for docker deployment with config file HOT 1
- Latest docker image broken HOT 1
- Problem with WHITE_LIST_REGEX HOT 3
- wrong entrypoint/cmd in Dockerfile HOT 1
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 jmx2graphite.