Skip to content

Fix metadata generator crash#2943

Merged
breedx-splk merged 1 commit into
signalfx:mainfrom
breedx-splk:fix_metadata_gen
Jul 15, 2026
Merged

Fix metadata generator crash#2943
breedx-splk merged 1 commit into
signalfx:mainfrom
breedx-splk:fix_metadata_gen

Conversation

@breedx-splk

Copy link
Copy Markdown
Contributor

Upstream PR open-telemetry/opentelemetry-java-instrumentation#19150 added some metadata for configuration items that only exist in declarative config. We expect each config item to have a name field so that we can populate it in the docs table or whatever...but now that's inconsistent/broken.

I first tried falling back to the declarative name when name is missing, but that will end up fabricating false env vars in the docs, which I thought was bad.

So this seems like a minimally stupid way of preventing the metadata gen from crashing, at least until we can figure out how we think we want to generate docs for declarative config.

@breedx-splk breedx-splk requested review from a team as code owners July 14, 2026 18:12
@signalfx signalfx deleted a comment from mergify Bot Jul 14, 2026
@breedx-splk breedx-splk merged commit eab67e0 into signalfx:main Jul 15, 2026
30 checks passed
@github-actions github-actions Bot locked and limited conversation to collaborators Jul 15, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants