Technologies
Back
Software Development & Open Source

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

Dev.to
Advertisement468 × 90
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.to
Advertisement468 × 90
Share
Software Development & Open Source

Related stories

Advertisement970 × 250