Skip to content

[experiment][do not merge] ebpf-profiler receiver in ECS EC2 with ecsattributes processor#746

Draft
douglascamata wants to merge 6 commits intomasterfrom
ebpf-profiler-receiver
Draft

[experiment][do not merge] ebpf-profiler receiver in ECS EC2 with ecsattributes processor#746
douglascamata wants to merge 6 commits intomasterfrom
ebpf-profiler-receiver

Conversation

@douglascamata
Copy link
Member

@douglascamata douglascamata commented Dec 31, 2025

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):

export ECS_AMI_SSM_PARAMETER=/aws/service/ecs/optimized-ami/amazon-linux-2023/arm64/recommended
export CDOT_IMAGE=douglascamata/cdot:latest

How Has This Been Tested?

I ran it and sent profiles to CX, see the pic below.

image

Checklist:

  • I have updated the relevant Helm chart(s) version(s)
  • I have updated the relevant component changelog(s)
  • This change does not affect any particular component (e.g. it's CI or docs change)

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>
@douglascamata douglascamata changed the title [experiment] ebpf-profiler receiver in ECS EC2 with ecsattributes processor [experiment][do not merge] ebpf-profiler receiver in ECS EC2 with ecsattributes processor Dec 31, 2025
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

Successfully merging this pull request may close these issues.

1 participant