otel-profiles
OpenTelemetry profiles signal and the eBPF profiler (otelcol-ebpf-profiler, `profiling` receiver).
Skill by ollygarden
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/ollygarden-otel-profiles
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: backend, devops, data
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/otel-profiles
What's inside
- Skill name
otel-profiles- Description
- OpenTelemetry profiles signal and the eBPF profiler (otelcol-ebpf-profiler, `profiling` receiver). Use when setting up continuous profiling with OpenTelemetry, deploying the eBPF profiler on Linux hosts, Docker, or Kubernetes (DaemonSet, kind, k3d), building a profiles pipeline, sending OTLP profiles to Pyroscope, Grafana Cloud Profiles, or another backend, getting flame graphs from OTel, enabling off-CPU profiling, or debugging profiler errors about tracefs, PID namespaces, missing pods, or the service.profilesSupport feature gate. Not for SDK tracing or metrics setup.
- License
- Apache-2.0
- Instructions
- 77 lines in SKILL.md · view on GitHub
Files (7)
- SKILL.md
- evals.json · evals/
- backends.md · references/
- kubernetes.md · references/
- nested-containers.md · references/
- receiver.md · references/
- troubleshooting.md · references/
SKILL.md (first lines)
# OpenTelemetry Profiles
The main OpenTelemetry producer is the [eBPF profiler](https://github.com/open-telemetry/opentelemetry-ebpf-profiler), shipped as the `profiling` receiver in the [`otelcol-ebpf-profiler`](https://github.com/open-telemetry/opentelemetry-collector-releases/tree/main/distributions/otelcol-ebpf-profiler) Collector distribution. It profiles every process on a Linux host with no application changes.
Maturity: the signal entered [public Alpha](https://opentelemetry.io/blog/2026/profiles-alpha/) in March 2026, the OTLP profiles proto (`v1development`) is Development, the `profiling` receiver is Development, and the Collector gate `service.profilesSupport` is alpha. Expect breaking changes; pin the profiler, Collector, and backend versions together.
Collector-side component facts (OTLP receiver/exporter profile support, the fixed `/v1development/profiles` HTTP path, `k8s_attributes`, `memory_limiter`, `filter` `profile_conditions`) live in the `otel-collector` skill's component pages; OTTL `profile`/`profilesample` contexts live in `otel-ottl`.
`otelcol-ebpf-profiler` `0.163.2` bundles only: receivers `profiling`, `nop`; processors `memory_limiter`, `k8s_attributes`, `resource_detection`, `resource`, `transform` (plus `batch`, which does not support profiles); exporters `otlp_grpc`, `otlp_http`, `debug`, `file`, `nop`; extensions `health_check`, `pprof`, `opamp`, `offcpu`. For anything else (`filter`, the `basicauth` extension, vendor exporters), relay to a regular Collector or build a distribution (`otel-collector-builder` skill).
## Version matrix (Verified 2026-10-25)
| Artifact | Version | What it means |
|---|---|---|
| `otel/opentelemetry-collector-ebpf-profiler` | `0.163.0`, `0.163.1`, `0.163.2` (newest release at verification, 2026-10-21) | Pins ebpf-profiler `v0.0.202640`: `pid_namespace_translation_mode` ([#1801](https://github.com/open-telemetry/opentelemetry-ebpf-profiler/pull/1801)); bundles the `offcpu` extension. Components unchanged from `0.163.0`. |
| Same image, `0.162.0` | last release before the change | Pins ebpf-profiler `v0.0.202636`: boolean `pid_namespace_translation`; does not bundle `offcpu`. |
Evidence: [Docker Hub tags](https://hub.docker.com/r/otel/opentelemetry-collector-ebpf-profiler/tags), the [`v0.163.0`](https://github.com/open-telemetry/opentelemetry-collector-releases/blob/v0.163.0/distributions/otelcol-ebpf-profiler/manifest.yaml), [`v0.163.1`](https://github.com/open-telemetry/opentelemetry-collector-releases/blob/v0.163.1/distributions/otelcol-ebpf-profiler/manifest.yaml), and [`v0.163.2`](https://github.com/open-telemetry/opentelemetry-collector-releases/blob/v0.163.2/distributions/otelcol-ebpf-profiler/manifest.yaml) distribution manifests; the [`v0.163.2` changelog](https://github.com/open-telemetry/opentelemetry-collector-releases/blob/v0.163.2/CHANGELOG.md).
Read [references/receiver.md](references/receiver.md) when setting keys beyond `samples_per_second`, enabling off-CPU or OBI correlation, or pinning a release not in this table (keys follow the pinned ebpf-profiler, not the Collector version).
## Workflow
1. **Pick the image and pin.** Use the latest release unless a needed key or component is missing from it (see the matrix). Alternative: an OCB build (`otel-collector-builder` skill) based on the [distribution manifest](https://github.com/open-telemetry/opentelemetry-collector-releases/blob/main/distributions/otelcol-ebpf-profiler/manifest.yaml).
2. **Pick the environment.**
- Linux host or plain Docker: [Run on a host](#run-on-a-host) below.
- Kubernetes: [references/kubernetes.md](references/kubernetes.md) (DaemonSet, RBAC, Kubernetes metadata, memory sizing).
- Kubernetes nodes that are themselves containers (kind, k3d, Docker-in-Docker, minikube with the docker driver): also [references/nested-containers.md](references/nested-containers.md).
3. **Wire the pipeline.** `profiles` pipeline: `profiling` receiver, `memory_limiter` first, enrichment processors, then `otlp_grpc` or `otlp_http`. Start the Collector with `--feature-gates=+service.profilesSupport`. Run `validate --config=<file> --feature-gates=+service.profilesSupport` with the target image; it catches wrong keys for the pinned version.
4. **Export and verify.** Add `debug` (`verbosity: basic`) first: each `reporter_interval` it logs `"resource profiles": N, "sample records": M`; no lines or zero counts mean the receiver is not producing (see troubleshooting). `verbosity: detailed` shows resource attributes. Then add the backend: [references/backends.md](references/backends.md) for endpoints, auth, and per-backend label behavior.
5. **Troubleshoot** by exact error string: [references/troubleshooting.md](references/troubleshooting.md).
## Run on a host
The profiler needs root or `CAP_SYS_ADMIN`/`CAP_BPF`/`CAP_PERFMON`, the host PID namespace, and a mounted tracefs. A container gets a fresh `/sys` without tracefs even when privileged, so bind-mount it:
```bash
docker run -d --name otel-ebpf-profiler --privileged --pid=host \
-v /sys/kernel/tracing:/sys/kernel/tracing \
-v "$PWD/config.yaml:/etc/otelcol/config.yaml:ro" \
otel/opentelemetry-collector-ebpf-profiler:0.163.2 \
--config=/etc/otelcol/config.yaml --feature-gates=+service.profilesSupport
```
```yaml
receivers:
profiling:
samples_per_second: 20 # default
processors:
memory_limiter:
check_interval: 1s
limit_mib: 800
spike_limit_mib: 200
exporters:
debug:
verbosity: basic
otlp_grpc:
endpoint: profiles-backend:4317 # backend-specific, see references/backends.md
tls:
insecure: true
service:
pipelines:
profiles:
receivers: [profiling]
processors: [memory_limiter]
exporters: [otlp_grpc, debug]
```
The image is built `FROM scratch`: no shell, so debug from logs, not `exec`. Expected startup lines: `eBPF tracer loaded`, `Attached sched monitor`, `Everything is ready`.
## Known limitations
- The receiver profiles every process; it has no process, container, or namespace selection, and upstream declined to add one ([#358](https://github.com/open-telemetry/opentelemetry-ebpf-profiler/issues/358)). To keep a subset, filter on enrichment attributes with `filter` `profile_conditions`; see "Keep only some workloads" in [references/kubernetes.md](references/kubernetes.md). Sampling cost on the node stays the same; only exported volume drops.
- Linux `amd64`/`arm64`, kernel 5.10+ (checked at config validation; `no_kernel_version_check` bypasses it). Backends may lag the proto; check which OTLP profiles version they accept.
- Trace-to-profile correlation is partial: OTLP profiles can link samples to `trace_id`/`span_id`, but the profiler fills them only from a context producer (OBI via `obi_process_ctx`; the [thread-context OTEP](https://github.com/open-telemetry/opentelemetry-specification/blob/v1.62.0/oteps/profiles/4947-thread-ctx.md) is accepted, but the receiver's `thread_context` support in `v0.0.202640` is a stub). Go pprof labels are read as custom labels.From ollygarden/opentelemetry-agent-skills, Apache-2.0.
More from ollygarden/opentelemetry-agent-skills
- 0.784score
otel-upgrade
ollygarden
Assess OpenTelemetry package and Collector upgrades across ecosystems.
SkillAFreshness: A★ 116Claude Code +9 - 0.784score
otel-browser
ollygarden
OpenTelemetry browser/RUM mechanics for SPAs and MPAs.
SkillAFreshness: A★ 116Claude Code +9 - 0.784score
otel-collector-builder
ollygarden
Build custom OpenTelemetry Collector distributions with OCB (OpenTelemetry Collector Builder).
SkillAFreshness: A★ 116Claude Code +9 - 0.784score
otel-dotnet
ollygarden
OpenTelemetry in .NET — DI/builder SDK setup (OpenTelemetry.Extensions.Hosting, AddOpenTelemetry, UseOtlpExporter, OpenTelemetrySdk.Create), native .NET…
SkillAFreshness: A★ 116Claude Code +9 - 0.784score
otel-sdk-versions
ollygarden
OpenTelemetry release version lookup for SDKs across languages and for the Collector (core, contrib, distributions, builder/OCB), the declarative…
SkillAFreshness: A★ 116Claude Code +9 - 0.784score
otel-semantic-conventions
ollygarden
OpenTelemetry semantic convention lookup and naming guidance.
SkillAFreshness: A★ 116Claude Code +9 - 0.784score
otel-span-events-to-logs-migration
ollygarden
Migrate OpenTelemetry Span Events (AddEvent, RecordException, and language equivalents) to the Logs API following the accepted OTEP 4430 migration plan.
SkillAFreshness: A★ 116Claude Code +9 - 0.784score
otel-telemetrygen
ollygarden
Build safe, version-pinned telemetrygen commands for synthetic OTLP traces, metrics, and logs.
SkillAFreshness: A★ 116Claude Code +9 - 0.784score
otel-weaver
ollygarden
OpenTelemetry Weaver registry authoring, codegen, and CI enforcement.
SkillAFreshness: A★ 116Claude Code +9 - 0.784score
otel-java
ollygarden
OpenTelemetry in Java — Javaagent zero-code instrumentation, Spring Boot Starter, manual autoconfigure SDK, declarative YAML configuration, BOM dependency…
SkillAFreshness: A★ 116Claude Code +9 - 0.784score
otel-js
ollygarden
OpenTelemetry in Node.js / JavaScript / TypeScript — NodeSDK, declarative YAML configuration, auto-instrumentations, ESM vs CJS import patterns.
SkillAFreshness: A★ 116Claude Code +9 - 0.784score
otel-ottl
ollygarden
OpenTelemetry Transformation Language (OTTL) expert for writing and debugging telemetry transformations in the OpenTelemetry Collector.
SkillAFreshness: A★ 116Claude Code +9
Signals
- Stars
- 116
- Forks
- 13
- Open issues
- 5
- Last commit (this folder)
- Oct 19, 2026 (9 days ago)
- Last release
- Oct 3, 2026 (25 days ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- Apache-2.0
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from ollygarden
- 0.784score
otel-js
ollygarden
OpenTelemetry in Node.js / JavaScript / TypeScript — NodeSDK, declarative YAML configuration, auto-instrumentations, ESM vs CJS import patterns.
SkillAFreshness: A★ 116Claude Code +9 - 0.784score
otel-collector-builder
ollygarden
Build custom OpenTelemetry Collector distributions with OCB (OpenTelemetry Collector Builder).
SkillAFreshness: A★ 116Claude Code +9 - 0.784score
otel-dotnet
ollygarden
OpenTelemetry in .NET — DI/builder SDK setup (OpenTelemetry.Extensions.Hosting, AddOpenTelemetry, UseOtlpExporter, OpenTelemetrySdk.Create), native .NET…
SkillAFreshness: A★ 116Claude Code +9 - 0.784score
otel-browser
ollygarden
OpenTelemetry browser/RUM mechanics for SPAs and MPAs.
SkillAFreshness: A★ 116Claude Code +9 - 0.784score
otel-java
ollygarden
OpenTelemetry in Java — Javaagent zero-code instrumentation, Spring Boot Starter, manual autoconfigure SDK, declarative YAML configuration, BOM dependency…
SkillAFreshness: A★ 116Claude Code +9 - 0.784score
otel-ottl
ollygarden
OpenTelemetry Transformation Language (OTTL) expert for writing and debugging telemetry transformations in the OpenTelemetry Collector.
SkillAFreshness: A★ 116Claude Code +9
Cite this page
otel-profiles skill. Agent Mart. https://agentmart.dev/skills/ollygarden-otel-profiles (last updated 2026-10-24)