-
Notifications
You must be signed in to change notification settings - Fork 5.6k
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
Add Jolokia proxy mode #473
Comments
Hi The plugin configuration could be something like
I'll provide an implementation on my fork as soon as possible. @panda87, I'll notify you when ready. |
Thanks @saiello this feature is super important for me and I believe for others that wan to use this plugin in their systems! |
Hi, You could find the source code at: https://github.com/saiello/telegraf/tree/feature/jolokia-as-proxy-mode even though I need to improve and write some test as well. @panda87 If you have some more suggestions or you figure out some issues... |
Thanks @saiello, I'll do my best to try the new feature in day or two and keep you updated with my findings. |
I made tests to the plugin and it looks very good.
The result is one big serializing json that instead of split it to many tags, im getting one long tag like this example: Do you think that you can make a change here or this related to the jolokia agent? Thanks |
@sparrc don't worry. @panda87 It is because the * at end of your mbean attribute. According to the jolokia docs:
Try with:
|
@saiello 0.10.0 (prev 0.3.0) has been merged to master, so feel free to forge ahead |
I want to use Jolokia proxy mode but i think latest release http://get.influxdb.org/telegraf/telegraf_0.12.0-1_amd64.deb doesn't have these changes. Which branch i should to build telegraf so that i can get all latest changes up to 0.12.0 along with Jolokia proxy mode? |
@darsh221 there are no changes, that's why this is an open issue |
Hi
The Jolokia plugin that @saiello wrote is very good, but for some cases is not help like the following,
Jolokia has 2 options agent and proxy modes. The current plugin is build for the agent mode, but for cases that I don't want to setup the agent as a dependency in my project or in case I have container that I dont want to add another articats inside, Jolokia is support the proxy mode.
For implementation design the only different is the proxy acting as POST request with body, like the example from the Jolokia documentation:
@saiello can you pls try to add this to the current plugin or maybe someone else?
Thanks
The text was updated successfully, but these errors were encountered: