-
Notifications
You must be signed in to change notification settings - Fork 38
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Registry manifest and Schema diff (#400)
* feat(semconv): create registry manifest * feat(schema): Parse OTEL schema 1.1 * feat(cli): Add registry diff command (WIP) * feat(schema): Support new deprecated field format * feat(diff): Add registry diff command. * feat(diff): Add diff for metrics * feat(diff): Add diff for events, spans, and resources * feat(diff): Add template rendering capability * feat(diff): Add diff-format for ansi, ansi-stats, json, and yaml * feat(diff): Add diff-format for markdown * chore(diff): Fix unit tests * feat(cli): Prepare registry update-schema command * feat(cli): Prepare registry update-schema command * feat(cli): Prepare registry update-schema command * chore(typo): fix typo in comment * chore(build): Resolve merging with main upstream * chore(build): Clean up code to prepare PR * chore(build): Clean up code to prepare PR * chore(build): Prepare resolve_telemetry_schema to return WResult * chore(build): Fix `registry diff` to return a diff even when there are warnings * chore(merge): Merge with main branch * feat(diff): Test schema diff feature * feat(diff): Remove complex logic infering the type of deprecation based on the message * feat(diff): Rename the field Deprecated::Renamed::new_name into Deprecated::Renamed::renamed_to * chore(doc): Fix documentation of the ResolvedTelemetrySchema::groups method * chore(doc): Fix documentation based on @jsuereth feedback * chore(merge): Merge with upstream main branch * feat(diff): Documentation of the schema diff command and the underlying data model. * feat(diff): Compute a diff only on the registry attributes. * feat(diff): Use the group.id as unique identifier for the groups. * feat(diff): Update unit tests to check deprecated attributes * Update crates/weaver_resolved_schema/src/lib.rs Co-authored-by: Jeremy Blythe <[email protected]> * Update crates/weaver_resolved_schema/src/lib.rs Co-authored-by: Jeremy Blythe <[email protected]> * chore: Merge with main upstream * chore(build): Update allowed_external_types to allow classic dependencies to be part of the public API. * chore(build): Update allowed_external_types to allow classic dependencies to be part of the public API. * chore(merge): Fix merge issue with main with main branch. * feat(schema-diff): Describe various situations of schema changes. * feat(schema-diff): Describe various situations of schema changes. * feat(schema-diff): Update schema changes intro * feat(schema-diff): Update schema changes intro * chore(doc): Update document talking about schema changes * chore(doc): Update schema-changes.md * feat(diff): Update schema diff based on SIG meeting decision * feat(diff): Fix diff templates to use registry_attributes instead of attributes * feat(diff): Fix merge * feat(diff): Update the code to take into account PR feedbacks. * feat(diff): Add a todo based on PR feedback and update of the CHANGELOG.md * feat(diff): Add `is_registry_attribute_group` method in Group * feat(diff): Update deprecated and schema change event based on last feedback. * feat(diff): Improve CHANGELOG.md * feat(diff): Improve CHANGELOG.md * Update crates/weaver_semconv/src/deprecated.rs Co-authored-by: Jeremy Blythe <[email protected]> * Update schemas/semconv.schema.json Co-authored-by: Jeremy Blythe <[email protected]> * feat(diff): Fix templates and add unit tests * feat(diff): Fix fmt issues --------- Co-authored-by: Jeremy Blythe <[email protected]>
- Loading branch information
Showing
79 changed files
with
4,468 additions
and
325 deletions.
There are no files selected for viewing
This file contains 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 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 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 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 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 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.