-
Notifications
You must be signed in to change notification settings - Fork 197
[otel] Implement EDOT diagnostics extension #10052
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
Conversation
This pull request is now in conflicts. Could you fix it? 🙏
|
This pull request does not have a backport label. Could you fix it @VihasMakwana? 🙏
|
d29020f
to
351576b
Compare
9780cfd
to
a754e6a
Compare
a754e6a
to
55f5d4f
Compare
a5095e4
to
e40eb22
Compare
e7baf30
to
e3dbe0f
Compare
e3dbe0f
to
dd87904
Compare
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.
LGTM overall, had some more comments but they aren't blocking.
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.
This looks good and is ready to merge. I do have one request for an added comment.
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 adding the comment. Looks good.
v1.33.0:amd64:basic,slim,complete,service,elastic-otel-collector is timing out in CI to obtain a BK agent, but we don't see this as a blocker. Force merging. |
💛 Build succeeded, but was flaky
Failed CI StepsHistory
|
* edot diagnostics * revert otel.yml * add for supervised * cleanup * more fixes * spelling and comments * docs and comments * test case * diagram * fix test * fix CI * cleanup and npipe * comments * rename * go.mod and notice * go.mod and notice * restore otel-merged.yaml * refactor ZipArchiveEDOT * checkci * license * initial commit * timeout * fix tests * fix tests * comments * error handling * lint * test case * readme * gofmt * remove println * test * add cpu profile * remove telemetry for now. * remove redundant code * doc * fix npipe * Update internal/pkg/otel/extension/elasticdiagnostics/extension.go Co-authored-by: Craig MacKenzie <[email protected]> * readme * readme * Update internal/pkg/otel/extension/elasticdiagnostics/extension.go Co-authored-by: Panos Koutsovasilis <[email protected]> * mutex * comments * Update generated_component_test.go * Update generated_component_test.go * comments * test thorough * use eventuallyWith * update go.mod and notice * add cpu * comment * test * fix test * lint * lint * test * comments * cleanup * comments * fix test --------- Co-authored-by: Craig MacKenzie <[email protected]> Co-authored-by: Panos Koutsovasilis <[email protected]> (cherry picked from commit 47112bd) # Conflicts: # internal/pkg/agent/cmd/otel.go # internal/pkg/otel/components.go # internal/pkg/otel/extension/elasticdiagnostics/extension.go # internal/pkg/otel/manager/diagnostics.go # internal/pkg/otel/manager/diagnostics_test.go # internal/pkg/otel/manager/execution_embedded.go # internal/pkg/otel/manager/manager.go # internal/pkg/otel/manager/manager_test.go # internal/pkg/otel/translate/otelconfig.go # testing/integration/ess/diagnostics_test.go
* edot diagnostics * revert otel.yml * add for supervised * cleanup * more fixes * spelling and comments * docs and comments * test case * diagram * fix test * fix CI * cleanup and npipe * comments * rename * go.mod and notice * go.mod and notice * restore otel-merged.yaml * refactor ZipArchiveEDOT * checkci * license * initial commit * timeout * fix tests * fix tests * comments * error handling * lint * test case * readme * gofmt * remove println * test * add cpu profile * remove telemetry for now. * remove redundant code * doc * fix npipe * Update internal/pkg/otel/extension/elasticdiagnostics/extension.go Co-authored-by: Craig MacKenzie <[email protected]> * readme * readme * Update internal/pkg/otel/extension/elasticdiagnostics/extension.go Co-authored-by: Panos Koutsovasilis <[email protected]> * mutex * comments * Update generated_component_test.go * Update generated_component_test.go * comments * test thorough * use eventuallyWith * update go.mod and notice * add cpu * comment * test * fix test * lint * lint * test * comments * cleanup * comments * fix test --------- Co-authored-by: Craig MacKenzie <[email protected]> Co-authored-by: Panos Koutsovasilis <[email protected]> (cherry picked from commit 47112bd) # Conflicts: # internal/pkg/otel/components.go # internal/pkg/otel/extension/elasticdiagnostics/extension.go # internal/pkg/otel/manager/execution_embedded.go # internal/pkg/otel/manager/manager.go # internal/pkg/otel/manager/manager_test.go
…10597) * [otel] Implement EDOT diagnostics extension (#10052) * edot diagnostics * revert otel.yml * add for supervised * cleanup * more fixes * spelling and comments * docs and comments * test case * diagram * fix test * fix CI * cleanup and npipe * comments * rename * go.mod and notice * go.mod and notice * restore otel-merged.yaml * refactor ZipArchiveEDOT * checkci * license * initial commit * timeout * fix tests * fix tests * comments * error handling * lint * test case * readme * gofmt * remove println * test * add cpu profile * remove telemetry for now. * remove redundant code * doc * fix npipe * Update internal/pkg/otel/extension/elasticdiagnostics/extension.go Co-authored-by: Craig MacKenzie <[email protected]> * readme * readme * Update internal/pkg/otel/extension/elasticdiagnostics/extension.go Co-authored-by: Panos Koutsovasilis <[email protected]> * mutex * comments * Update generated_component_test.go * Update generated_component_test.go * comments * test thorough * use eventuallyWith * update go.mod and notice * add cpu * comment * test * fix test * lint * lint * test * comments * cleanup * comments * fix test --------- Co-authored-by: Craig MacKenzie <[email protected]> Co-authored-by: Panos Koutsovasilis <[email protected]> (cherry picked from commit 47112bd) # Conflicts: # internal/pkg/otel/components.go # internal/pkg/otel/extension/elasticdiagnostics/extension.go # internal/pkg/otel/manager/execution_embedded.go # internal/pkg/otel/manager/manager.go # internal/pkg/otel/manager/manager_test.go * conflitcs --------- Co-authored-by: Vihas Makwana <[email protected]> Co-authored-by: Vihas <[email protected]>
What does this PR do?
This PR add a new elasticdiagnsotics extension. This new extension will be used in hybrid mode and will perform diagnostics for running otel collector. It will:
runtime/pprof
.extensioncapabilities.ConfigWatcher
interface and stores the latest configuration of the running collector.Checklist
./changelog/fragments
using the changelog toolDisruptive User Impact
None that i can think of. I have to do some final testing on windows to verify this.
Related issues