otel-ottl SKILL.md skillA

otel-ottl from ollygarden/opentelemetry-agent-skills is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add ollygarden/opentelemetry-agent-skills/otel-ottl@git:20261026.7dc08b2

Pins git:20261026.7dc08b2 in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
ollygarden/opentelemetry-agent-skills
Path
skills/otel-ottl/SKILL.md
Versions recorded
8
Latest version
git:20261026.7dc08b2, committed Oct 26, 2026
First version recorded
Jul 30, 2026
Size
6,971 bytes
Repository stars
125
License
Apache-2.0

OpenTelemetry Transformation Language (OTTL) expert for writing and debugging telemetry transformations in the OpenTelemetry Collector. Use when authoring or reviewing `transform`, `filter`, `tail_sampling` processor configs or `routing` connector configs, debugging OTTL syntax or semantics, transforming traces, metrics, logs, or profiles, or converting data-processing requirements into OTTL statements.

Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.

What the file says

# OpenTelemetry Transformation Language (OTTL)

OTTL transforms or selects telemetry inside Collector components. This skill is pinned to
collector-contrib **v0.163.0**. Function, path, default, and feature-gate availability varies by
release; when the user's version differs, verify against the matching upstream tag.

Dated OTTL feature-gate status for v0.162.0 and v0.163.0 is in
[references/functions.md](references/functions.md#feature-gates-verified-2026-10-25).

## Workflow

1. **Choose the component.** `transform` rewrites, `filter` drops, `tail_sampling` decides whether
   to retain traces, and `routing` sends telemetry to pipelines. A component controls its available
   contexts and functions.
2. **Choose the lowest usable context.** Lower contexts can read their parents (for example, a span
   can read `resource.attributes`), but parents cannot read children. Use `datapoint` for point
   attributes instead of traversing `metric.data_points`.
3. **Verify every emitted function, then write the statement.** Confirm each function's exact
   identifier and signature in [references/functions.md](references/functions.md). If an identifier
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add ollygarden/opentelemetry-agent-skills/otel-ottl@sha256:ee9ce280829e38f9

The line at the top of this page pins the label git:20261026.7dc08b2, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_bfvjsxtusxxozbky.svg)](https://markdownregistry.com/a/art_bfvjsxtusxxozbky)

2 badge image fetches in 30 days. What the badge shows.

Versions

The registry has recorded 8 versions of this file, between Jul 30, 2026 and Oct 26, 2026, about one every 13 days.

versioncommittedcommitsizeaudit
git:20261026.7dc08b2 latest2026-10-26 7dc08b2 6,971 BA view · diff
git:20261015.16b62c52026-10-15 16b62c5 6,903 BA view · diff
git:20261003.81dadc92026-10-03 81dadc9 6,753 BA view · diff
git:20260903.903e7cb2026-09-03 903e7cb 6,555 BA view · diff
git:20260827.2bbc1d32026-08-27 2bbc1d3 6,364 BA view · diff
git:20260815.507b7a32026-08-15 507b7a3 5,762 BA view · diff
git:20260801.463a9b62026-08-01 463a9b6 5,504 BA view · diff
git:20260730.b46e8cd2026-07-30 b46e8cd 15,722 BA view

Audit of the latest version

A  17 of 17 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (6971 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address
  • pass: No script tag

Source

GitHub

ollygarden/opentelemetry-agent-skills · 125 stars · license Apache-2.0 · pushed 2026-11-07 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_bfvjsxtusxxozbky
GET https://markdownregistry.com/api/v1/resolve?ref=ollygarden/opentelemetry-agent-skills/otel-ottl
GET https://markdownregistry.com/api/v1/blob/ee9ce280829e38f99c0ad3241ea0677d242ef9eab47936c8df46d00c6e9f4095

Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.

More from ollygarden/opentelemetry-agent-skills

AGENTS.md AGENTS.md file
ollygarden/opentelemetry-agent-skills · AGENTS.md
git:20261015.ab1d155 · audit A · 125 stars
CLAUDE.md CLAUDE.md file
ollygarden/opentelemetry-agent-skills · CLAUDE.md
git:20260719.3c9a552 · audit B · 125 stars
otel-browser SKILL.md skill
ollygarden/opentelemetry-agent-skills · skills/otel-browser/SKILL.md · OpenTelemetry browser/RUM mechanics for SPAs and MPAs. Use for “browser OTel,” “frontend observability,” “Web Vitals,”…
git:20261026.126a1c6 · audit A · 125 stars
otel-collector-builder SKILL.md skill
ollygarden/opentelemetry-agent-skills · skills/otel-collector-builder/SKILL.md · Build custom OpenTelemetry Collector distributions with OCB (OpenTelemetry Collector Builder). Use when authoring or…
git:20261026.7dc08b2 · audit A · 125 stars
otel-collector SKILL.md skill
ollygarden/opentelemetry-agent-skills · skills/otel-collector/SKILL.md · OpenTelemetry Collector component configuration. Use when authoring, reviewing, or debugging Collector YAML for a…
git:20261031.506c013 · audit A · 125 stars
otel-declarative-config SKILL.md skill
ollygarden/opentelemetry-agent-skills · skills/otel-declarative-config/SKILL.md · OpenTelemetry declarative YAML configuration for SDK setup. Use when configuring OpenTelemetry SDK providers (tracer…
git:20261106.3791f23 · audit A · 125 stars
otel-dotnet SKILL.md skill
ollygarden/opentelemetry-agent-skills · skills/otel-dotnet/SKILL.md · OpenTelemetry in .NET — DI/builder SDK setup (OpenTelemetry.Extensions.Hosting, AddOpenTelemetry, UseOtlpExporter…
git:20261003.b99072b · audit A · 125 stars
otel-go SKILL.md skill
ollygarden/opentelemetry-agent-skills · skills/otel-go/SKILL.md · OpenTelemetry in Go — SDK setup, API surface, breaking changes, contrib instrumentation libraries (otelhttp, otelgrpc…
git:20261026.be344f2 · audit A · 125 stars
otel-java SKILL.md skill
ollygarden/opentelemetry-agent-skills · skills/otel-java/SKILL.md · OpenTelemetry in Java — Javaagent zero-code instrumentation, Spring Boot Starter, manual autoconfigure SDK, declarative…
git:20260827.e38e545 · audit A · 125 stars
otel-js SKILL.md skill
ollygarden/opentelemetry-agent-skills · skills/otel-js/SKILL.md · OpenTelemetry in Node.js / JavaScript / TypeScript — NodeSDK, declarative YAML configuration, auto-instrumentations…
git:20261026.126a1c6 · audit A · 125 stars
otel-profiles SKILL.md skill
ollygarden/opentelemetry-agent-skills · skills/otel-profiles/SKILL.md · OpenTelemetry profiles signal and the eBPF profiler (otelcol-ebpf-profiler, `profiling` receiver). Use when setting up…
git:20261105.43d7f5a · audit A · 125 stars
otel-python SKILL.md skill
ollygarden/opentelemetry-agent-skills · skills/otel-python/SKILL.md · OpenTelemetry in Python — SDK setup, declarative config, zero-code instrumentation (opentelemetry-instrument…
git:20261026.be344f2 · audit A · 125 stars

Every file in ollygarden/opentelemetry-agent-skills

Browse by kind, by grade A, or by owner.