refactor(config): rename 'known/unknown' to 'built-in/plugin' terminology#5214
Draft
MikeGoldsmith wants to merge 1 commit into
Draft
refactor(config): rename 'known/unknown' to 'built-in/plugin' terminology#5214MikeGoldsmith wants to merge 1 commit into
MikeGoldsmith wants to merge 1 commit into
Conversation
Update docstrings, comments, and test names to use clearer terminology for components that are built into the SDK vs loaded via entry points as plugins. Covers the already-merged sampler PR and shared infrastructure. The pending propagator, exporter, and resource detector PRs will need the same rename applied when they merge. Assisted-by: Claude Opus 4.6
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Description
Renames "known" and "unknown" to "built-in" and "plugin" in the declarative config plugin loading code. The old terms mapped to JSON Schema internals (
propertiesvsadditionalProperties), but "built-in" and "plugin" are clearer from a user's perspective.Suggested by @tammy-baylis-swi in #5128.
Scope
Docstrings, comments, and test names across:
_common.py—_additional_propertiesdecorator docstring_tracer_provider.py— sampler factory docstring and error messagecodegen/README.mdandcodegen/dataclass.jinja2— template commentstest_tracer_provider.py— test method namesNo functional changes — terminology only.
Closes #5195