Add nats module to Metricbeat#9825
Conversation
|
Since this is a community submitted pull request, a Jenkins build has not been kicked off automatically. Can an Elastic organization member please verify the contents of this patch and then kick off a build manually? |
|
Hi @ChrsMark Thank you for contributing to this! Few things are needed before merging this module, let's start with field count and naming conventions:
Let's start with those 2 things and keep pushing from there. |
|
Any chance we could split up this PR in 4 PR's? First PR introducing the module and 1 metricset and then 3 follow up PR's with 1 metricset each. This would make the review easier and should get each PR in quicker. Could you also add a changelog entry? |
|
Hey @ruflin, we will go along with your proposal on splitting the PR in 4 smaller. |
|
No standard way on doing this, whatever works best for you. You could also keep this one as the "foundation" PR for the module + 1 metricset and open 3 new ones. |
ruflin
left a comment
There was a problem hiding this comment.
Looks pretty good already. I especially like that you added most of the tests. It would be nice if you could also add a system tests that runs the beat and checks if all fields are documented. See here for an example: https://github.com/elastic/beats/blob/master/metricbeat/tests/system/test_haproxy.py
There was a problem hiding this comment.
Kind of surprised it's reported like this. I assume ES does the conversion automatically?
|
@ruflin we are done with the changes, could you check again? |
There was a problem hiding this comment.
Somehow duplicated here but we can fix this later.
|
I know I'm coming a bit late but I suggest to change the name of the metricset from What do you think @ruflin ? |
sayden
left a comment
There was a problem hiding this comment.
Some easy changes. In general looks very good. I have omitted every single change in the naming conventions but I have left you some ideas that should guide you with the rest of the names. Feel free to ask as much as you want. Good work 😉
|
I'm on board with renaming the metricset. The goal is to make the end document as easy as possible to consume. |
Signed-off-by: Stamatis Katsaounis <katsaouniss@gmail.com>
Signed-off-by: Stamatis Katsaounis <katsaouniss@gmail.com>
Signed-off-by: Chris <chrismarkou92@gmail.com>
Signed-off-by: Stamatis Katsaounis <katsaouniss@gmail.com> Co-Authored-By: Michael Katsoulis <michaelkatsoulis88@gmail.com>
Signed-off-by: MichaelKatsoulis <michaelkatsoulis88@gmail.com> Co-Authored-by: Chris <chrismarkou92@gmail.com>
Signed-off-by: MichaelKatsoulis <michaelkatsoulis88@gmail.com> Co-Authored-by: ChrisMark <chrismarkou92@gmail.com>
Signed-off-by: Chris <chrismarkou92@gmail.com>
Signed-off-by: Chris <chrismarkou92@gmail.com>
Signed-off-by: Chris <chrismarkou92@gmail.com>
Signed-off-by: Chris <chrismarkou92@gmail.com>
Signed-off-by: Michael Katsoulis <michaelkatsoulis88@gmail.com>
Signed-off-by: Chris <chrismarkou92@gmail.com>
Signed-off-by: Chris <chrismarkou92@gmail.com>
Signed-off-by: Chris <chrismarkou92@gmail.com>
Signed-off-by: MichaelKatsoulis <michaelkatsoulis88@gmail.com>
Signed-off-by: Chris <chrismarkou92@gmail.com>
Signed-off-by: Michael Katsoulis <michaelkatsoulis88@gmail.com>
Signed-off-by: Chris <chrismarkou92@gmail.com>
|
@ChrsMark To get CI green, I think you have to run |
ruflin
left a comment
There was a problem hiding this comment.
Change LGTM. Now let's get CI green :-)
sayden
left a comment
There was a problem hiding this comment.
Awesome, let's wait CI to get green
Signed-off-by: Chris <chrismarkou92@gmail.com>
|
jenkins, test this |
|
Is this failure relevant @ruflin? |
|
Cool @ruflin! |
|
Great, looking forward to it. |
This PR adds nats on top of Metricbeat as a module as proposed in #9674.
Tests need to be added, but an early review would be of benefit here.
cc: @ruflin, @exekias
Co-Authored-by: Stamatis Katsaounis katsaouniss@gmail.com, @skatsaounis
Co-Authored-By: Michael Katsoulis michaelkatsoulis88@gmail.com, @MichaelKatsoulis