Skip to content

Weaver: document undocumented produced attributes + violate on extends_namespace#2526

Open
NimrodAvni78 wants to merge 3 commits into
open-telemetry:mainfrom
coralogix:nimrodavni78/weaver-fixes
Open

Weaver: document undocumented produced attributes + violate on extends_namespace#2526
NimrodAvni78 wants to merge 3 commits into
open-telemetry:mainfrom
coralogix:nimrodavni78/weaver-fixes

Conversation

@NimrodAvni78

@NimrodAvni78 NimrodAvni78 commented Jun 28, 2026

Copy link
Copy Markdown
Contributor

Summary

OBI produces a few attributes which are not part of the semconv. weaver does not take it as a violation since its under a known namespace. this both fixes this and adds extends_namespace advisories to produce weaver errors. and adds the undocumented attributes to OBIs schema registry

Validation

weaver updates

weaver updates

fix tests

fixes

fixes
@NimrodAvni78 NimrodAvni78 requested a review from a team as a code owner June 28, 2026 11:38
@codecov

codecov Bot commented Jun 28, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 69.11%. Comparing base (914ffa4) to head (fcfa9a1).
⚠️ Report is 19 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2526      +/-   ##
==========================================
- Coverage   69.24%   69.11%   -0.14%     
==========================================
  Files         345      348       +3     
  Lines       46747    47380     +633     
==========================================
+ Hits        32372    32748     +376     
- Misses      12330    12573     +243     
- Partials     2045     2059      +14     
Flag Coverage Δ
integration-test 51.26% <ø> (+0.34%) ⬆️
integration-test-arm 26.53% <ø> (-1.77%) ⬇️
integration-test-vm-5.15-lts 26.92% <ø> (-0.91%) ⬇️
integration-test-vm-6.18-lts 27.76% <ø> (+0.51%) ⬆️
k8s-integration-test 36.04% <ø> (+0.34%) ⬆️
oats-test 35.31% <ø> (-0.05%) ⬇️
unittests 63.62% <ø> (+0.30%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ 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.

@mariomac mariomac left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👌🏻

@MrAlias MrAlias left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for tightening the weaver validation path and adding the missing OBI registry attributes. I found one issue in the new enforcement logic that keeps the extends_namespace advisory from becoming actionable.

Comment thread internal/test/integration/weaver.go Outdated
@NimrodAvni78 NimrodAvni78 requested a review from MrAlias June 30, 2026 12:12
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.

3 participants