Status subcommand reporting agent status for otel mode - Phase 2#4047
Status subcommand reporting agent status for otel mode - Phase 2#4047cmacknz merged 11 commits intoelastic:mainfrom
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. |
|
|
status check added to |
|
Force merging, ignoring the code coverage complaint because this is now covered in the integration tests. |

0.0% Coverage on New Code
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