feat(explorer): display semantic conventions as linked badges on inst…#220
Merged
jaydeluca merged 2 commits intoopen-telemetry:mainfrom Apr 11, 2026
Merged
Conversation
✅ Deploy Preview for otel-ecosystem-explorer ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
…rumentation detail page
5847027 to
6995c4f
Compare
jaydeluca
reviewed
Apr 11, 2026
There was a problem hiding this comment.
Pull request overview
Adds richer semantic convention display to the Java Agent instrumentation detail page by mapping raw semconv enum values to human-friendly labels and linking to OpenTelemetry spec documentation, addressing issue #210.
Changes:
- Introduces
getSemanticConventionInfoand a semconv-to-(label,url) mapping utility. - Updates the instrumentation detail page to render known semantic conventions as external links and keep a fallback for unknown values.
- Adds unit/UI tests covering known/unknown semantic convention rendering and section visibility.
Reviewed changes
Copilot reviewed 4 out of 4 changed files in this pull request and generated 2 comments.
| File | Description |
|---|---|
| ecosystem-explorer/src/features/java-agent/utils/format.ts | Adds SemanticConventionInfo, a mapping table, and getSemanticConventionInfo. |
| ecosystem-explorer/src/features/java-agent/utils/format.test.ts | Adds unit tests for getSemanticConventionInfo. |
| ecosystem-explorer/src/features/java-agent/instrumentation-detail-page.tsx | Renders semantic conventions as external links for known values with fallback rendering. |
| ecosystem-explorer/src/features/java-agent/instrumentation-detail-page.test.tsx | Adds page tests for linked badges, unknown fallback, and hidden section behavior. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
jaydeluca
reviewed
Apr 11, 2026
jaydeluca
reviewed
Apr 11, 2026
Contributor
|
Thank you for your contribution @adaumsilva! 🎉 We would like to hear from you about your experience contributing to OpenTelemetry by taking a few minutes to fill out this survey. |
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.
Summary
getSemanticConventionInfoutility that maps raw semantic conventionenum values (e.g.
HTTP_CLIENT_SPANS) to human-readable labels and links tothe official OpenTelemetry specification docs
detail page, with a plain monospace fallback for any unknown values
Test plan
getSemanticConventionInfo— known values, unknown values, empty stringnpm test)