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

test: apm server managed by EA should not require Fleet anymore #10467

Closed
4 of 6 tasks
simitt opened this issue Mar 9, 2023 · 5 comments
Closed
4 of 6 tasks

test: apm server managed by EA should not require Fleet anymore #10467

simitt opened this issue Mar 9, 2023 · 5 comments
Assignees
Milestone

Comments

@simitt
Copy link
Contributor

simitt commented Mar 9, 2023

In 8.7, the sourcemap and agent config logic were reworked to not depend on Fleet anymore. After this, there shouldn't be any technical requirements left why Fleet would be a required component when managed by Elastic Agent. Before we can officially support standalone Elastic Agent, we need to do some manual testing.
Setting up a standalone Elastic Agent and configure the apm server as integration, and test that

  • configuration and confg changes are picked up correctly by the apm-server
  • core features are working (data ingestion)
  • sourcemap works
  • apm agent configuration is working
  • test whether output to logstash is working (not a hard requirement, but good to be aware if there are issues)
  • test whether output to kafka is working (not a hard requirement, but good to be aware if there are issues)

If time permits, also add an automated smoke test for standalone Elastic agent with apm.

@simitt
Copy link
Contributor Author

simitt commented Apr 27, 2023

@kruskall afair from our sync, this is done - could you tick the boxes and close the issue, except if there is anything else left to do.

@kruskall
Copy link
Member

kruskall commented May 2, 2023

Ok, I can confirm everything is working and we now have a systemtest for EA managed APM Server.

I haven't tested the kafka/logstash output

@kruskall
Copy link
Member

kruskall commented May 2, 2023

Ok, I can confirm everything is working and we now have a systemtest for EA managed APM Server.

FWIW I thought this was an issue with the agentcfg default credentials but there seems to be some strange issue with the go agent.
To expand on this: I used the go agent and the capture headers option to quickly send requests with curl to a small go program to make sure remote agent config was being applied.

After some investigation, debug logging and changing agent option I confirmed the feature was working but here's the debug log from the APM Go agent:

{"level":"debug","message":"central config update: updated capture_body to all"}
{"level":"warning","message":"central config failure: unsupported config: capture_headers"}
{"level":"debug","message":"central config update: updated log_level to debug"}

The capture headers doesn't seem to be recognized so the settings in the APM tab has no effect. I don't think this is an issue with the Elastic agent managed APM Server but I don't think this is intended.

@simitt
Copy link
Contributor Author

simitt commented May 3, 2023

@kruskall can you bring the go-agent observations to some other format (slack, dedicated issue, etc)?

Thanks for the update, closing this issue then.

@kruskall
Copy link
Member

kruskall commented May 4, 2023

@kruskall can you bring the go-agent observations to some other format (slack, dedicated issue, etc)?

Opened elastic/apm-agent-go#1427

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

No branches or pull requests

2 participants