-
Notifications
You must be signed in to change notification settings - Fork 154
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
Status subcommand reporting agent status for otel mode - Phase 2 #4047
Conversation
Pinging @elastic/elastic-agent-control-plane (Team:Elastic-Agent-Control-Plane) |
Failure related to #3342 |
@michalpristas Just to clarify, phase 1 was implemented as part of #3800, right? |
Also, I'm confused by this:
What is the difference (indicated by the bolding in Phase 2)? |
my bad |
I built Agent from this PR's branch, extracted it, and ran
Is this expected behavior, even with the changes in this PR? Please ignore the BTW, I re-wrote the issue that this PR is supposed to resolve to include more details: #3872. Not sure if that changes the requirements for this PR or if a follow up PR will be needed to completely resolve that issue. Apologies if the original issue description was not clear enough. |
the workflow i tested
what are your expectations of running |
None, I had a brain fade 😊. Of course this cannot expected to work as we need a running Agent + GRPC server for Your workflow makes sense for running Agent in OTel mode. I will test it with this PR. Thanks. |
Confirmed that the steps listed in #4047 (comment) work as expected. Reviewing the implementation now... |
I think this is probably mostly covered by integration tests and the SonarQube complaint can be bypassed.
It seems to me like the integration test coverage could be improved to cover at least this, by running Right now you have no net new test coverage at all, but there is actually added functionality to cover here. |
Quality Gate failedFailed conditions0.0% Coverage on New Code (required ≥ 40%) |
status check added to |
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 for the test!
Force merging, ignoring the code coverage complaint because this is now covered in the integration tests. |
This is a phase 2 of making status for otel work properly
Bolds are differences with previous Phase
Phase 1:
Phase 2: We are here
Fixes partially: #3872