Git Product home page Git Product logo

Comments (9)

kerlandsson avatar kerlandsson commented on June 3, 2024

Could you post the agent part of your command line? Is anything logged (to stdout) from jmxtrans-agent in the minutes after you have touched the configuration?

from jmxtrans-agent.

kerlandsson avatar kerlandsson commented on June 3, 2024

Also, if you could post what jmxtrans-agent logs at startup it would help.

from jmxtrans-agent.

cyrille-leclerc avatar cyrille-leclerc commented on June 3, 2024

Hi, to add to @kerlandsson comments, could you please activate:

from jmxtrans-agent.

cyrille-leclerc avatar cyrille-leclerc commented on June 3, 2024

@kerlandsson note: it may make sense to add a debug line to dump the new configuration with a TRACE log message at

this.config = configLoader.loadConfiguration();

The method JmxTransExporterConfiguration.toString() dumps everything.

what do you think?

from jmxtrans-agent.

kerlandsson avatar kerlandsson commented on June 3, 2024

@cyrille-leclerc Makes sense. I went ahead and added it: 47f8efb

from jmxtrans-agent.

cyrille-leclerc avatar cyrille-leclerc commented on June 3, 2024

@bl1nk we have deployed a new snapshot with @kerlandsson's improvement.

Could you test with it?

https://oss.sonatype.org/content/repositories/snapshots/org/jmxtrans/agent/jmxtrans-agent/1.2.4-SNAPSHOT/jmxtrans-agent-1.2.4-20160519.084523-1.jar

from jmxtrans-agent.

bl1nk avatar bl1nk commented on June 3, 2024

I've deployed a service with your new jmxtrans agent and with logging and diagnosis enabled. I removed a query from my jmxtrans config and it stopped reporting metrics for that query. After adding the query to my config jmxtrans started reporting metrics again, logs confirm both of this.

I would close this... for now. It didn't work with another query before, but I can't reproduce it.
Thanks for your help!

from jmxtrans-agent.

kerlandsson avatar kerlandsson commented on June 3, 2024

I'm happy it is resolved! It might have been that you used a too old version - the configuration reload functionality is quite new.

from jmxtrans-agent.

bl1nk avatar bl1nk commented on June 3, 2024

We have been using 1.2.0 before, I just updated to 1.2.3

from jmxtrans-agent.

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.