https://github.com/dmathieu/tmp-profiles-collector
https://github.com/dmathieu/tmp-profiles-collector
Last synced: 6 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/dmathieu/tmp-profiles-collector
- Owner: dmathieu
- Created: 2024-09-19T09:59:08.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2025-10-03T08:54:26.000Z (9 months ago)
- Last Synced: 2025-10-20T06:56:38.764Z (8 months ago)
- Language: Makefile
- Size: 137 KB
- Stars: 1
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Setup
### Rebuilding the collector from scratch
**Note**: You shouldn't need to do this, unless you want to retry a full rebuild.
Get the `ocb` tool (OTEL collector builder):
```
make ocb
```
Build a static version of the collector with glibc
```
make
```
### Updating the version in `builder-config.yaml`
If you want to build the collector from a remote branch, replace the ebpf profiler version
with the version you get from (example for branch `otel-receiver`):
```
go list -m -json github.com/dmathieu/opentelemetry-ebpf-profiler@collector-receiver | jq '.|.Version' | tr -d '"'
```
### Run the collector
The ebpf-profiler needs to be run as root. So we split building and running.
```
make run
```