@readystack/otel-collector-drift-lint
v1.0.6
Published
Finds the removed components and renamed attributes in an OpenTelemetry Collector config before the upgrade does
Downloads
768
Maintainers
Readme
OTel Collector Drift Lint

Finds the removed components and renamed attributes in an OpenTelemetry Collector config before the upgrade does
Install
npx @readystack/otel-collector-drift-lint fileNode 18+. The same 39 rules as the VS Code extension, from a terminal or CI.
Free
- Lint the Collector config you have open and see every removed component and legacy attribute name in it, each with the line number and the replacement spelled out
--ruleslists every rule
With a licence ($29 once)
- Scan every YAML in the repo in one pass, export the findings as JSON or Markdown you keep, and fail a CI job on the blocking ones
@readystack/otel-collector-drift-lint --dir ./templates --report html --out report.htmlA freelance SRE or observability contractor bills $100-150 an hour; reading one gateway config line by line is most of that hour
Use from an AI agent (MCP)
Claude Code · Cursor · Windsurf · any MCP client - add to your MCP config:
{ "mcpServers": { "otel-collector-drift-lint": { "command": "npx", "args": ["-y", "@readystack/otel-collector-drift-lint", "--mcp"] } } }Tools: check_text and check_file (free) · check_dir (licence). The agent gets every finding with the line number.
Use in CI
- name: OTel Collector Drift Lint
run: npx -y @readystack/otel-collector-drift-lint --dir . --ci(container: docker run --rm -v "$PWD:/work" getreadystack/otel-collector-drift-lint --dir /work --ci)
The folder sweep, reports and CI mode need one licence — one payment, no subscription. Set READYSTACK_LICENSE=<key> or run --license <key> once.
