otel-span-events-to-logs-migration SKILL.md skillA
otel-span-events-to-logs-migration from ollygarden/opentelemetry-agent-skills is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.
mdr add ollygarden/opentelemetry-agent-skills/otel-span-events-to-logs-migration@git:20261026.86eb932Pins git:20261026.86eb932 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-span-events-to-logs-migration/SKILL.md- Versions recorded
- 7
- Latest version
- git:20261026.86eb932, committed Oct 26, 2026
- First version recorded
- Jul 30, 2026
- Size
- 7,340 bytes
- Repository stars
- 125
- License
- Apache-2.0
Migrate OpenTelemetry Span Events (AddEvent, RecordException, and language equivalents) to the Logs API following the accepted OTEP 4430 migration plan. Use when migrating instrumentation from span events to log-based events, reviewing code that still uses AddEvent or RecordException, or planning a codebase migration while preserving trace correlation.
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
# Span Events to Logs Migration Use this skill to migrate instrumentation from the Span Event API (`AddEvent`, `RecordException`, and language equivalents) to the Logs API, following the accepted [OTEP 4430 deprecation plan](https://github.com/open-telemetry/opentelemetry-specification/blob/v1.62.0/oteps/4430-span-event-api-deprecation-plan.md). ## Background The OpenTelemetry project accepted a plan to deprecate `Span.AddEvent` and `Span.RecordException` in favor of emitting events and exceptions through the Logs API. Span Events as a concept remain valid -- they can be emitted via logs that correlate to the active span, and optionally bridged back into the span proto. Status as of 2026-10-25 (specification v1.62.0): OTEP 4430 is accepted, log-based event/exception emission is specified in the Logs API, and the SDK "event to span event bridge" is specified with Development status. The trace API methods `AddEvent`/`RecordException` are not yet formally marked Deprecated in the specification -- that step is still pending. Treat existing span-event calls as migration candidates, not automatically invalid code; some SDK-specific equivalents have already changed status (for… …
Read the whole file at its exact version.
How to install
mdr add ollygarden/opentelemetry-agent-skills/otel-span-events-to-logs-migration@sha256:5c221276670fb89eThe line at the top of this page pins the label git:20261026.86eb932, 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.
[](https://markdownregistry.com/a/art_as4qnaatbg3vphn5)
2 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 7 versions of this file, between Jul 30, 2026 and Oct 26, 2026, about one every 15 days.
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| git:20261026.86eb932 latest | 2026-10-26 | 86eb932 | 7,340 B | A | view · diff |
| git:20261003.9955338 | 2026-10-03 | 9955338 | 7,316 B | A | view · diff |
| git:20260913.c83c208 | 2026-09-13 | c83c208 | 6,868 B | A | view · diff |
| git:20260903.97e92a9 | 2026-09-03 | 97e92a9 | 6,699 B | A | view · diff |
| git:20260827.e38e545 | 2026-08-27 | e38e545 | 6,699 B | A | view · diff |
| git:20260815.474f624 | 2026-08-15 | 474f624 | 6,688 B | A | view · diff |
| git:20260730.1a071a4 | 2026-07-30 | 1a071a4 | 6,685 B | A | view |
Audit of the latest version
- pass: Frontmatter block present
- pass: Frontmatter declares a name
- pass: Frontmatter declares a description
- pass: Size between 200 bytes and 200 KB (7340 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
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_as4qnaatbg3vphn5 GET https://markdownregistry.com/api/v1/resolve?ref=ollygarden/opentelemetry-agent-skills/otel-span-events-to-logs-migration GET https://markdownregistry.com/api/v1/blob/5c221276670fb89e6fd708b4daf2fd38465b056bb131875800cc28fc3f686f2e
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.