Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Jolokia agent configuration #312

Closed
kikogolk opened this issue Sep 8, 2020 · 4 comments
Closed

Jolokia agent configuration #312

kikogolk opened this issue Sep 8, 2020 · 4 comments

Comments

@kikogolk
Copy link

kikogolk commented Sep 8, 2020

Hi!

I would like to know how to configure the JVM Jolokia Agent. Checking the code it seems the parameters are hardcoded I am not sure if there is any way to pass by configuration files the conf options described here: https://jolokia.org/reference/html/agents.html#agents-jvm

This is the code how the JolokiaService is created:

  public JolokiaService(Map<String, Object> props, String name) throws Exception {
    _name = name;
    _jolokiaServer = new JolokiaServer(new JvmAgentConfig("host=*,port=8778"), false);
    _isRunning = new AtomicBoolean(false);
  }

Thanks a lot!

@github-actions
Copy link

github-actions bot commented Sep 8, 2020

This is your first issue in the repository. Thank you for raising this issue.' first issue

@andrewchoi5
Copy link

Hi kikogolk, in the past, we have removed some unneeded dependencies on Jetty.
Jetty is only needed for the JolokiaService, but it will start its own embedded webserver should someone want to run that service.

For more information on this commit, attempt running git show fcb8b27e40b7f5ab77254c54ca5ee33d81b816f9

Sean: do we want to support Jolokia? cc: @smccauliff

@andrewchoi5
Copy link

#315

@andrewchoi5
Copy link

README file also be updated accordingly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants