[experiment][do not merge] ebpf-profiler receiver in ECS EC2 with ecsattributes processor#746
Draft
douglascamata wants to merge 6 commits intomasterfrom
Draft
[experiment][do not merge] ebpf-profiler receiver in ECS EC2 with ecsattributes processor#746douglascamata wants to merge 6 commits intomasterfrom
ebpf-profiler receiver in ECS EC2 with ecsattributes processor#746douglascamata wants to merge 6 commits intomasterfrom
Conversation
With current task settings we can profile processes inside the container (dockerd/containerd), but host processes like systemd and ssm-agent-worker are still missing. Signed-off-by: Douglas Camata <159076+douglascamata@users.noreply.github.com>
Restored host mounts and perf_event_paranoid to capture out-of-container processes (e.g., systemd/ssm-agent-worker) in addition to container workloads. Signed-off-by: Douglas Camata <159076+douglascamata@users.noreply.github.com>
Signed-off-by: Douglas Camata <159076+douglascamata@users.noreply.github.com>
Signed-off-by: Douglas Camata <159076+douglascamata@users.noreply.github.com>
Signed-off-by: Douglas Camata <159076+douglascamata@users.noreply.github.com>
Signed-off-by: Douglas Camata <159076+douglascamata@users.noreply.github.com>
ebpf-profiler receiver in ECS EC2 with ecsattributes processorebpf-profiler receiver in ECS EC2 with ecsattributes processor
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Fixes CX-26274.
I got this working with a custom CDOT image I built from https://github.com/coralogix/coralogix-otel-collector/pull/107 and all the manual config manipulation that is included in this PR.
I'm not sure if I'm doing it in the correct way. Probably will have to ask someone from IDO to review this. At least we know it works!
If you want to deploy this, you'll need to use my custom CDOT image (which is arm64-only) and a more up-to-date ECS-optimized AMI image (which is arm64 too):
How Has This Been Tested?
I ran it and sent profiles to CX, see the pic below.
Checklist: