Repository navigation
Profiles
github-actions[bot] edited this page Oct 18, 2026
·
3 revisions
OTLP Profiles are in public Alpha, and the wire format still changes between Collector releases. Go has no profiles SDK yet,
so both sources run as Collectors and send OTLP profiles to a backend that accepts them (Pyroscope, or a Collector
started with --feature-gates=service.profilesSupport).
| Source | Profiles | How |
|---|---|---|
| pprof receiver | the exporter itself (CPU, heap, goroutines) |
mcp-exporter -pprof :6060, scraped at /debug/pprof/profile?seconds=10
|
| eBPF profiler | every process on a Linux host, MCP servers in any language | privileged, host PID; labels processes by their OTEL_SERVICE_NAME
|
PROFILES=1 deploy/compose/demo.sh # Grafana → Explore → Profiles (Pyroscope)deploy/compose/profiling.yaml holds both Collector configs, and
CI's end-to-end test checks that profiles from both arrive.
-
Keep versions aligned.
grafana/otel-lgtm0.11 (Collector 0.134) rejected profiles from Collector 0.163 withproto: wrong wireType. The repo pins the profilers to 0.162.0, matchingotel-lgtm:0.36.0.deploy/compose/check-profiles-versions.sh(run in CI) reads the Collector version bundled in the pinnedotel-lgtmand fails, printing the versions to set, if any profiler pin differs. Dependabot bumpsotel-lgtm, and the profilers are bumped in the same PR. -
-pprofexposes process internals. It's off by default, never on the proxy port, and should be bound to localhost or pod-internal addresses (Helm:exporter.pprof.enabledplus a NetworkPolicy). - Correlation with traces is by service, instance and time window. Samples aren't tagged with span ids.
-
eBPF in Kubernetes:
deploy/kubernetes/ebpf-profiler.yaml(DaemonSet withk8s_attributes). Point its exporter at your profiles backend.
This wiki is generated from docs/wiki/ in the repository. Edit it there with a pull request; changes made here are overwritten.
Use it
Reference
Operate