-
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
[Metricbeat] Release Golang module as GA. #10312
Conversation
ruflin
commented
Jan 24, 2019
- Add integration tests. Use metricbeat as Golang example app.
- Add data.json
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.
It LGTM, but I'd suggest to use a smaller image, or would it be an option to start an http listener with pprof in the test itself?
9790b79
to
02deb7f
Compare
a4bd397
to
430f254
Compare
I'm getting the following error on CI:
I wonder if the healthcheck is wrong or not waiting long enough. At the same time there seems to be something odd with the host? |
@@ -50,7 +50,7 @@ func WriteEvent(f mb.EventFetcher, t testing.TB) error { | |||
} | |||
|
|||
fullEvent := CreateFullEvent(f, event) | |||
WriteEventToDataJSON(t, fullEvent, "") | |||
WriteEventToDataJSON(t, fullEvent, ".") |
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.
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.
Yes, this is related for sure 🙁 I'll make ""
to behave as "."
for BC.
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.
For some reason it seems the http pprof endpoint and starts and stops again inside the container. |
* Add integration tests. Use metricbeat as Golang example app. * Add data.json
Failing tests are related |
Yes, and I can't really figure out what happens :-( |
@ruflin
|
@jsoriano Exactly what I was looking for. For now I event set it to |