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

Add a output writer for open-falcon agent. #670

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

hsqlu
Copy link

@hsqlu hsqlu commented May 7, 2018

I had created a pr #440 but didn't done it. As it was coded on master branch so I made this pr sepeartely.

@AppVeyorBot
Copy link

Build jmxtrans 177 completed (commit 6abb40e9c0 by @hsqlu)


String json = writer.toString();

assertThatJson(json).isArray().ofLength(1);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please, check the content of the JSON: expected fields and their values...
Test with different result value types

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I‘ve added some more test assertions

@hsqlu
Copy link
Author

hsqlu commented Jun 26, 2018

@gquintana I've added some more test cases, please take a review. Thx

@gquintana
Copy link
Member

@gehel Should this writer be placed in its own Maven module?

@gehel
Copy link
Member

gehel commented Jul 4, 2018

@gquintana: Maven modules are used mainly to manage dependencies. So that if someone wants a version of jmxtrans that is < 20Mb, it is possible to do. Since this OutputWriter does not add any dependency that isn't already in output-core, I'm fine with having it there.

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

Successfully merging this pull request may close these issues.

None yet

4 participants