Skip to content

Delete generated comments from examples#414

Merged
jack-berg merged 3 commits intoopen-telemetry:mainfrom
jack-berg:delete-example-generated-comments
Nov 17, 2025
Merged

Delete generated comments from examples#414
jack-berg merged 3 commits intoopen-telemetry:mainfrom
jack-berg:delete-example-generated-comments

Conversation

@jack-berg
Copy link
Copy Markdown
Member

The files in /examples contain generated descriptions based on meta_schema.yaml. This has been necessary because examples functioned as the only source of documentation for important information about semantics and default behavior, for both implementers and end users.

With schema-docs.md we no longer need examples to document semantics and default behavior. And they now increasingly seem like annoying clutter.

This PR deletes the description comments and build tooling which automatically maintained them. I've added links to /schema-docs.md to the top of each example file.

#397 further improves schema-docs.md and makes this a no brainer.

Inspired by #402 (comment)

@jack-berg jack-berg requested a review from a team as a code owner November 15, 2025 18:24
@jack-berg jack-berg merged commit a19982a into open-telemetry:main Nov 17, 2025
12 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.

3 participants