-
Notifications
You must be signed in to change notification settings - Fork 528
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
Support benchmarking an unreleased locally built APM Server #7986
Comments
@marclop could you summarize the road bumps you hit here please. |
My approach for this issue has been to reuse and extend some of the code that we use to build the APM Server for the system tests and re-use the same packaging to produce a Docker Image that would be able to run in ESS or ECE. For that purpose I introduced a new I also introduced a new As documented in the Observability-dev documentation PR, the packaging should work and it's a fairly easy experience to do build, package and build a docker image which is then uploaded to a repository which is allowed to run in ESS / ECE. When using
The code that returns that error is: https://github.com/elastic/beats/blob/ff1041fc099ec69caea11c5c9c83d6ca59170ee7/libbeat/cmd/instance/beat.go#L387 Which is run before the APM Server's Creator func. It's unclear to me how to debug this further and make headway since debugging is not straightforward. |
I haven't gotten to the bottom of why, but commenting out Lines 57 to 67 in e960ca3
apm-server/elasticsearch/config.go Line 76 in e960ca3
|
Verified that the internal docs work while testing the automaxprocs change (#8278). Since @axw removed the problematic code snipped in 8.3.0, I am going to close off this issue. I am unsure how to best point APM Server developers to the internal docs, since we aren't referencing those anywhere in this repository. I am open to suggestions as to how to best do that. https://github.com/elastic/apm-server/blob/main/TESTING.md#manual-testing asks readers to consult the internal docs, but no references as to how to find these. |
Description
We should document or automate (if it proves easy enough) how to package and run a locally built version of APM Server with some changes in ESS / ECE.
The text was updated successfully, but these errors were encountered: