Skip to content

Entity association materialized provenance and lookup - #1710

Merged
jerbly merged 2 commits into
open-telemetry:mainfrom
jerbly:expansion-helper-for-entity-lookup
Aug 19, 2026
Merged

jerbly merged 2 commits into
open-telemetry:mainfrom
jerbly:expansion-helper-for-entity-lookup

Conversation

@jerbly

@jerbly jerbly commented Aug 17, 2026

Copy link
Copy Markdown
Member
  1. An entity association in the materialized schema now says which registry defines the entity, the same way the published schema already did. A leaf that used to be the bare name host is now { type: host, provenance: { source: <schema url> } }, and a leaf with no provenance means this registry defines it.
  2. A new lookup_entity gives consumers the entity definition a leaf points at, including one that a dependency owns, or an error naming what was not found. Nothing calls it yet: the following PRs add this for templates, policies and live-check from the Entity Resolution Tracking IssueΒ #1692 plan.
  3. Breaking for anyone reading the leaf as a string: templates, jq filters and Rego policies read .type instead. The serve UI and its API are updated too.

@jerbly
jerbly requested a review from a team as a code owner August 17, 2026 18:55
@opentelemetry-pr-dashboard

opentelemetry-pr-dashboard Bot commented Aug 17, 2026 •

Copy link
Copy Markdown

Pull request dashboard status

Merged Β· refreshed 2026-08-19 23:15 UTC

Status above doesn't look right?
  • Anything look wrong? Report it with what you expected; it helps us improve the dashboard.

@jerbly jerbly mentioned this pull request Aug 17, 2026
8 tasks done
@codecov

codecov Bot commented Aug 17, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 94.33962% with 6 lines in your changes missing coverage. Please review.
βœ… Project coverage is 82.6%. Comparing base (a3db0b7) to head (5e10481).

Files with missing lines Patch % Lines
crates/weaver_semconv_gen/src/v2.rs 76.9% 3 Missing ⚠️
...rates/weaver_live_check/src/advice/type_advisor.rs 93.5% 2 Missing ⚠️
crates/weaver_forge/src/v2/registry.rs 96.7% 1 Missing ⚠️
Additional details and impacted files
@@          Coverage Diff          @@
##            main   #1710   +/-   ##
=====================================
  Coverage   82.6%   82.6%           
=====================================
  Files        133     134    +1     
  Lines      11893   11959   +66     
=====================================
+ Hits        9824    9885   +61     
- Misses      2069    2074    +5     

β˜” View full report in Codecov by Harness.
πŸ“’ Have feedback on the report? Share it here.

πŸš€ New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • πŸ“¦ JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@jerbly
jerbly merged commit 22081e4 into open-telemetry:main Aug 19, 2026
30 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants