Weaver This Week: Live Check Coverage Gates, OTLP Input and MCP Tools

OpenTelemetry Weaver, the Rust tool for managing semantic convention registries, had a busy week: 12 commits touched 103 files. The headline work is in live check, the mode that checks emitted telemetry against your registry. Coverage scoring, OTLP input and a batch of flag fixes all landed in two days. The repo lives at open-telemetry/weaver.

Coverage gates for live check

The biggest change is the coverage scope and spans PR (#1913). Live check can now score coverage per scope and count spans, not just attributes. That matters if you run live check in CI: you can fail the build when your services emit less than a required share of the registry.

  • New --fail-on-coverage-below flag to gate builds on a coverage threshold
  • Coverage grouped by scope, with spans included in the score
  • Config keys added under the live check section of weaver-config.json

Two smaller PRs round out the CLI: allowing --advice-policies more than once (#1911) lets you pass several Rego policy files on one command line, and making --fail-on work with --no-stats (#1907) fixes a combination where the exit code logic ignored stats suppression. Both are quality of life fixes for anyone wiring this into a pipeline.

Rego policies get more input

PR #1910 adds attributes_by_key to the Rego input and reuses the shared resource and scope objects. If you write advice policies, you can now index attributes by their key directly instead of iterating the whole list and building the map yourself. The changes sit in rego_advisor.rs and the live check README documents the shape.

It is a small surface change, but it removes a common boilerplate pattern from user policies.

OTLP/HTTP input and a resolver fix

Live check now accepts OTLP/HTTP protobuf as input, per PR #1912. Previously you had to convert your traces into another format first. The work is concentrated in otlp_ingester.rs. If you already have an OTLP collector endpoint you can point the ingester at, checking real production traffic against the registry gets simpler.

On the registry side, the resolver fix (#1877) makes --registry . load definition files from the local directory correctly. That sounds trivial until you run weaver from inside a registry checkout and get missing definition errors.

MCP tools and forge filters

Two additions for tooling integrations:

  • PR #1890 adds load_registry and get_registry_info tools to the MCP service, so an MCP client can inspect a registry on disk
  • PR #1659 adds a regex_captures filter to forge, letting templates extract capture groups from values during generation

Housekeeping: Rust 1.100 and dependency bumps

The maintainers bumped Rust to 1.100.0 and merged two patch version sweeps from renovate (#1915 and #1919). Clap moved to 4.6.9 and the cargo deny action in the audit workflow moved to v2.1.3. Nothing operator visible here, just keep your toolchain current if you build from source.

What to watch

  • The coverage scoring model is new. If you rely on live check output in CI, read the updated docs/usage.md before wiring --fail-on-coverage-below into a pipeline, since defaults may still move.
  • The MCP tools are a young surface. Expect more registry inspection tools to follow in src/registry/mcp.rs.
  • Expect a release cutting these live check features into a tagged version soon; the CHANGELOG is accumulating fast.

← All updates