Git Product home page Git Product logo

Comments (5)

brian-brazil avatar brian-brazil commented on May 23, 2024

Hmm, this is likely a bug on the bamboo side. We should be resilient to such things, can you try adding the UnmarshalException to the list in doScrape()? If you turn on FINE logging, then we can figure out which bean and attribute is the problem.

from jmx_exporter.

levpaul avatar levpaul commented on May 23, 2024

Okay. I didn't know how to enable the FINE logging, so I just changed to log SEVERE. The output looked like this:

Apr 17, 2015 6:06:12 AM io.prometheus.jmx.JmxScraper logScrape
SEVERE: scrape: 'Catalina{j2eeType=WebModule, name=//localhost/, J2EEApplication=none, J2EEServer=none}aliases': null
java.rmi.UnmarshalException: error unmarshalling return; nested exception is:
...
Apr 17, 2015 6:06:16 AM io.prometheus.jmx.JmxScraper logScrape
SEVERE: scrape: 'Catalina:j2eeType=Filter,name=accessLogFilter,WebModule=//localhost/,J2EEApplication=none,J2EEServer=none'_'modelerType': process

I guess the line above the stack trace is the culprit?

from jmx_exporter.

brian-brazil avatar brian-brazil commented on May 23, 2024

I'd presume so, I can't help much with debugging from here. If you could send on a PR with the exception change, I'll merge it in.

from jmx_exporter.

brian-brazil avatar brian-brazil commented on May 23, 2024

Thanks for the patch, can this be closed off now?

from jmx_exporter.

levpaul avatar levpaul commented on May 23, 2024

Yep! Thank you :)

On Thu, Apr 23, 2015 at 6:53 PM, Brian Brazil [email protected]
wrote:

Thanks for the patch, can this be closed off now?


Reply to this email directly or view it on GitHub
#17 (comment)
.

from jmx_exporter.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.