I contribute to OpenTelemetry and still shipped two retired attribute names, so I built Attrition

OpenTelemetry contributor Vignesh has launched 'Attrition,' a new tool designed to detect retired attribute names, metric names, and event values in instrumentation code. Despite his involvement in the project, Vignesh encountered issues where deprecated OpenTelemetry conventions persisted in his own code, leading to silent failures in dashboards and alerts. Attrition addresses this by scanning codebases against a structured dataset of over 1,500 names spanning 26 releases. Unlike simple keyword searches, the tool provides context-aware guidance, identifying necessary replacements based on span types and unit changes. It supports multiple languages, including Go, Rust, and Python, and offers automated patching for safe renames. By integrating a Knowledge Base built with Sanity, the tool resolves ambiguities where registry data and migration guides conflict, ensuring developers maintain accurate telemetry as the OpenTelemetry specification evolves. The project is open-source and available for integration into CI/CD pipelines.
This is a summary. Read the full article at the original source:
Dev.toRelated stories
DOCX Report Generation in FARA CRM: From Templates to PDF Conversion
The FARA CRM team has introduced a document automation solution that enables the creation of invoices, contracts, and reports using DOCX templates. Th…
System76 bans AI-generated code across many of its COSMIC codebases
System76, the company behind the Linux-based Pop!_OS, has officially implemented a policy prohibiting the use of AI-generated code in several of its c…
Developer Reporails has introduced a custom Minesweeper game built as a mod for Claude Code, the AI-powered coding agent. Since version 2.1.287, Claud…


