Skip to content

Conversation

@luweglarz
Copy link
Contributor

PR Description

Naive implementation of the opentelemetry-ebpf-rpfoler uprobe profiling.

Still a WIP as I am not able to make this work on a local setup yet, I am running it with the same uprobe link for opentelemetry-ebpf-profiler in the same environnement:
-Alloy with this PR never report any TraceOriginUProbe in reportProfile PPROF reporter, I cannot find the reason yet.
-The opentelemetry-ebpf-rpfoler reporter does get TraceOriginUProbe with the same setups and uprobes.

Which issue(s) this PR fixes

It fixes #4660

Notes to the Reviewer

Let me know if I am missing a piece in my implementation to make it work

PR Checklist

  • CHANGELOG.md updated
  • Documentation added
  • Tests updated
  • Config converters updated

@luweglarz luweglarz requested review from a team and clayton-cornell as code owners October 23, 2025 14:51
Comment on lines 76 to 77
| `load_probe` | `bool` | Enable loading uprobe dynamically during runtime. | `false` | no |
| `u_probe_links` | `list(string)` | List of user-space symbols links to attach the ebpf uprobe program to. | | no |
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
| `load_probe` | `bool` | Enable loading uprobe dynamically during runtime. | `false` | no |
| `u_probe_links` | `list(string)` | List of user-space symbols links to attach the ebpf uprobe program to. | | no |
| `load_probe` | `bool` | Enable loading uprobe dynamically during runtime. | `false` | no |
| `u_probe_links` | `list(string)` | List of user-space symbols links to attach the EBPF uprobe program to. | | no |

Prettyprint table and fix capitalization

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fixed indent and capitalized eBPF similar to previous mention of it in the doc

@clayton-cornell clayton-cornell added the type/docs Docs Squad label across all Grafana Labs repos label Oct 23, 2025
@luweglarz luweglarz force-pushed the otel-ebpf-uprobe-profiling branch from 0099e3a to 72e852c Compare October 24, 2025 07:51
@korniltsev-grafanista
Copy link
Contributor

@luweglarz let us know when the PR is ready

@clayton-cornell
Copy link
Contributor

Docs look good

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type/docs Docs Squad label across all Grafana Labs repos

Projects

None yet

Development

Successfully merging this pull request may close these issues.

uprobe profiling

3 participants