-
Notifications
You must be signed in to change notification settings - Fork 78
Replace version in definition schema with file_format #1154
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
jsuereth
merged 23 commits into
open-telemetry:main
from
lmolkova:definition-file-format
Feb 26, 2026
Merged
Changes from all commits
Commits
Show all changes
23 commits
Select commit
Hold shift + click to select a range
5ce7e02
Change version -> file_format: definition/2.0.0
lmolkova fe0cdbe
changelog
lmolkova 2379e6c
up
lmolkova 9cad2e0
regenerate v2 json schema
lmolkova 3b3e3c2
definition/2.0.0 -> definition/2, semver does not make sense
lmolkova b369d9a
support version: 2 as well
lmolkova 9e5e2dd
cleanup
lmolkova 16a4fb6
Merge branch 'main' into definition-file-format
lmolkova 973d80f
add warning for version
lmolkova b492683
merge deserialization and from file logic
lmolkova 94409f6
Update CHANGELOG.md
lmolkova 081cc59
Merge branch 'main' into definition-file-format
lmolkova a8f7ddd
make SemConvSpec not deserializeable, refactor
lmolkova 2a09a95
Merge branch 'definition-file-format' of https://github.com/lmolkova/…
lmolkova b35d598
refactor more: remove SemConvSpec - not needed
lmolkova 86df809
a bit more cleanup
lmolkova 708e716
Merge branch 'main' into definition-file-format
lmolkova 9649a7c
don't escape formatted compound error message
lmolkova 6c6c36b
lint
lmolkova b14e1e2
Merge branch 'main' into definition-file-format
lmolkova a778a09
comments and changelog
lmolkova 8626f50
Merge branch 'main' into definition-file-format
jsuereth df096eb
Merge branch 'main' into definition-file-format
lmolkova File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,4 +1,4 @@ | ||
| version: "2" | ||
| file_format: definition/2 | ||
| attribute_groups: | ||
| - id: http.client.server_and_port | ||
| visibility: internal | ||
|
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -31,3 +31,4 @@ rand.workspace = true | |
|
|
||
| [dev-dependencies] | ||
| glob = "=0.3.3" | ||
| tempfile.workspace = true | ||
2 changes: 1 addition & 1 deletion
2
crates/weaver_resolver/data/registry-test-16-attr-conflict/registry/test-16.yaml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,4 +1,4 @@ | ||
| version: "2" | ||
| file_format: definition/2 | ||
| attributes: | ||
| - key: test.attr.one | ||
| stability: stable | ||
|
|
||
2 changes: 1 addition & 1 deletion
2
crates/weaver_resolver/data/registry-test-v2-1-everything/registry/http.yaml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,4 +1,4 @@ | ||
| version: "2" | ||
| file_format: definition/2 | ||
| attributes: | ||
| - key: server.port | ||
| stability: stable | ||
|
|
||
2 changes: 1 addition & 1 deletion
2
crates/weaver_resolver/data/registry-test-v2-2-multifile/registry/http.yaml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
crates/weaver_resolver/data/registry-test-v2-2-multifile/registry/network.yaml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,4 +1,4 @@ | ||
| version: "2" | ||
| file_format: definition/2 | ||
| attributes: | ||
| - key: network.protocol.name | ||
| stability: stable | ||
|
|
||
2 changes: 1 addition & 1 deletion
2
crates/weaver_resolver/data/registry-test-v2-2-multifile/registry/server.yaml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,4 +1,4 @@ | ||
| version: "2" | ||
| file_format: definition/2 | ||
| attributes: | ||
| - key: server.port | ||
| stability: stable | ||
|
|
||
2 changes: 1 addition & 1 deletion
2
crates/weaver_resolver/data/registry-test-v2-3-both-version/registry/http.yaml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
crates/weaver_resolver/data/registry-test-v2-3-both-version/registry/network.yaml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,4 +1,4 @@ | ||
| version: "1" | ||
| file_format: definition/1 | ||
| groups: | ||
| - id: registry.network | ||
| type: attribute_group | ||
|
|
||
2 changes: 1 addition & 1 deletion
2
crates/weaver_resolver/data/registry-test-v2-3-both-version/registry/server.yaml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,4 +1,4 @@ | ||
| version: "2" | ||
| file_format: definition/2 | ||
| attributes: | ||
| - key: server.port | ||
| stability: stable | ||
|
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.