-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
Coredns metricbeat module #10585
Coredns metricbeat module #10585
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? |
54a01b5
to
4617c08
Compare
@ruflin , could you have a look on this, especially on fields declaration? We follow the apiserver's metricset approach (from Kuberentes module), however it was a little bit confusing the fact that every "fetch" is split into multiple events, according to the label matching. This leads into not being able to provide a sample |
For the I think the label matching is expected but @jsoriano might be a better person to comment on this. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks already pretty good:
- Changelog?
- Add a system check for field documentation (I think it's off at the moment)
- How is the
data.json
generated at the moment
Glad to see you could use the prometheus metricset wrapper.
You can find examples of conditional events writting in rabbitmq and system socket metricsets. |
2a9534a
to
8dee1bf
Compare
Hey @ruflin, @jsoriano! We have added almost everything except for the As far as the @exekias might know more on this since he had done the same for |
8dee1bf
to
679810a
Compare
We got around the issue of auto-generating the expected metrics by using the |
Hey, just a heads-up on the current state: we have done most of the work described in #10432 and removed WIP from the PR title, so you might want to have a second review of this when you have time. Let us know for any further changes, as we consider some minor commits to finalize the format of the metrics and the CoreDNS module. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks! this is looking quite good, I have added some comments, mainly about the fields mappings. Let me know what you think.
Also, do you happen to have a dashboard for this? 😇
metricbeat/module/coredns/stats/_meta/data_request_duration_sec_event.json
Outdated
Show resolved
Hide resolved
metricbeat/module/coredns/stats/_meta/data_request_size_bytes_event.json
Outdated
Show resolved
Hide resolved
Thanks for reviewing @jsoriano . We will iterate over the comments soon! As far as the dashboard is concerned, sure thing in a follow up PR! |
894ae81
to
46af5c0
Compare
Signed-off-by: Chris Mark <chrismarkou92@gmail.com>
Signed-off-by: Chris Mark <chrismarkou92@gmail.com>
Signed-off-by: Chris <chrismarkou92@gmail.com> Co-Authored-By: Ioannis Androulidakis <ioannis@arrikto.com>
Signed-off-by: Chris Mark <chrismarkou92@gmail.com>
Signed-off-by: Ioannis Androulidakis <ioannis@arrikto.com>
Signed-off-by: Ioannis Androulidakis <ioannis@arrikto.com>
* Enable DO bit metrics with dnssec in DNS request * Merge request and response size bytes metric * Generate updated JSON files and fix integration test * Generate updated metrics and metrics.expected files Signed-off-by: Ioannis Androulidakis <ioannis@arrikto.com>
Signed-off-by: Chris <chrismarkou92@gmail.com>
Signed-off-by: Chris Mark <chrismarkou92@gmail.com>
Signed-off-by: Ioannis Androulidakis <ioannis@arrikto.com>
Signed-off-by: Chris Mark <chrismarkou92@gmail.com>
Signed-off-by: Chris Mark <chrismarkou92@gmail.com>
Signed-off-by: Chris Mark <chrismarkou92@gmail.com>
Signed-off-by: Chris <chrismarkou92@gmail.com>
e639a70
to
1c81377
Compare
1c81377
to
cc34863
Compare
Signed-off-by: Chris Mark <chrismarkou92@gmail.com>
jenkins, test this |
@jsoriano thanks for triggering Jenkins again, we forced-pushed to rebase on the latest master |
Failing test seems to be irrelevant. (wished for a greeny Jenkins 😞 , but not this time) |
Well, failing test looks irrelevant to this, yes, shipping it. Thanks for your work here! |
@jsoriano 👍 . |
@ChrsMark Would be great. You can also directly open a PR if you already have something in mind, no need for an issue. |
This PR implements CoreDNS module described on #10432.
Co-Authored-By: Ioannis Androulidakis ioannis@arrikto.com