Skip to content

edot: add profilingreceiver#9888

Merged
florianl merged 6 commits intomainfrom
edot-profilingreceiver
Sep 23, 2025
Merged

edot: add profilingreceiver#9888
florianl merged 6 commits intomainfrom
edot-profilingreceiver

Conversation

@florianl
Copy link
Member

What does this PR do?

Adds the profiling receiver OTel component.

Why is it important?

We want to distribute the profiling receiver as part of EDOT.

Checklist

  • I have read and understood the pull request guidelines of this project.
  • My code follows the style guidelines of this project
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • I have made corresponding change to the default configuration files
  • I have added tests that prove my fix is effective or that my feature works
  • I have added an entry in ./changelog/fragments using the changelog tool
  • I have added an integration test or an E2E test

Disruptive User Impact

How to test this PR locally

TBA

Signed-off-by: Florian Lehner <florian.lehner@elastic.co>
@florianl florianl requested a review from a team as a code owner September 11, 2025 13:07
@florianl florianl added enhancement New feature or request backport-skip labels Sep 11, 2025
@florianl
Copy link
Member Author

Blocked until #9858 got merged.

@florianl florianl marked this pull request as draft September 11, 2025 15:16
@mergify
Copy link
Contributor

mergify bot commented Sep 14, 2025

This pull request is now in conflicts. Could you fix it? 🙏
To fixup this pull request, you can check out it locally. See documentation: https://help.github.com/articles/checking-out-pull-requests-locally/

git fetch upstream
git checkout -b edot-profilingreceiver upstream/edot-profilingreceiver
git merge upstream/main
git push upstream edot-profilingreceiver
@pierrehilbert pierrehilbert added the Team:Elastic-Agent-Control-Plane Label for the Agent Control Plane team label Sep 17, 2025
@florianl florianl marked this pull request as ready for review September 22, 2025 10:08
@elasticmachine
Copy link
Contributor

Pinging @elastic/elastic-agent-control-plane (Team:Elastic-Agent-Control-Plane)

Signed-off-by: Florian Lehner <florian.lehner@elastic.co>
Signed-off-by: Florian Lehner <florian.lehner@elastic.co>
Signed-off-by: Florian Lehner <florian.lehner@elastic.co>
@elasticmachine
Copy link
Contributor

💛 Build succeeded, but was flaky

Failed CI Steps

History

cc @florianl

@florianl florianl merged commit ab68480 into main Sep 23, 2025
23 checks passed
@florianl florianl deleted the edot-profilingreceiver branch September 23, 2025 15:37
intxgo pushed a commit to intxgo/elastic-agent that referenced this pull request Sep 24, 2025
* edot: add profilingreceiver

Signed-off-by: Florian Lehner <florian.lehner@elastic.co>

* fixup: limit profiling to linux

Signed-off-by: Florian Lehner <florian.lehner@elastic.co>

* fiuxp: use build tags

Signed-off-by: Florian Lehner <florian.lehner@elastic.co>

* mage notice

Signed-off-by: Florian Lehner <florian.lehner@elastic.co>

---------

Signed-off-by: Florian Lehner <florian.lehner@elastic.co>
swiatekm pushed a commit that referenced this pull request Sep 24, 2025
* edot: add profilingreceiver

Signed-off-by: Florian Lehner <florian.lehner@elastic.co>

* fixup: limit profiling to linux

Signed-off-by: Florian Lehner <florian.lehner@elastic.co>

* fiuxp: use build tags

Signed-off-by: Florian Lehner <florian.lehner@elastic.co>

* mage notice

Signed-off-by: Florian Lehner <florian.lehner@elastic.co>

---------

Signed-off-by: Florian Lehner <florian.lehner@elastic.co>
florianl added a commit that referenced this pull request Sep 25, 2025
#9888 added profiling as an receiver to EDOT. Fix tooling to add this receiver to autogenerated list of components for EDOT.

Signed-off-by: Florian Lehner <florian.lehner@elastic.co>
florianl added a commit that referenced this pull request Sep 30, 2025
* dev-tools: add profiling special case for edot

#9888 added profiling as an receiver to EDOT. Fix tooling to add this receiver to autogenerated list of components for EDOT.

Signed-off-by: Florian Lehner <florian.lehner@elastic.co>

* fixup

```
  Error: dev-tools/mage/otel/deps.go:52:3: QF1003: could use tagged switch on dependency.ComponentType (staticcheck)
  		if dependency.ComponentType == "connector" {
  		^
  1 issues:
  * staticcheck: 1
  ```

Signed-off-by: Florian Lehner <florian.lehner@elastic.co>

* Update dev-tools/mage/otel/deps.go

Co-authored-by: Christos Kalkanis <christos.kalkanis@elastic.co>

---------

Signed-off-by: Florian Lehner <florian.lehner@elastic.co>
Co-authored-by: Christos Kalkanis <christos.kalkanis@elastic.co>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport-skip enhancement New feature or request Team:Elastic-Agent-Control-Plane Label for the Agent Control Plane team

4 participants