Repository navigation
Conversation
…snippet The SDK docs snippet for JavaScript now defines its own resource and uses the OpenTelemetry JS 2.x spanProcessors option (grafana/sigil#2337). Drop the instruction to create a resource, and point learners at the 2.x packages listed under the snippet. Refs grafana/website#37281 Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Author
|
Depends on grafana/sigil#2337, which fixes the JavaScript snippet this step refers to ( |
This was referenced Nov 22, 2026
chri2547
approved these changes
Nov 23, 2026
chri2547
left a comment
Collaborator
There was a problem hiding this comment.
LGTM! Thanks for this update!
|
💻 Deploy preview available (fix(agento11y): align JavaScript telemetry step with the OTel JS 2.x snippet): Questions? Ask in #docs-platform. ( |
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.
What
Aligns the JavaScript row of the "Export traces and metrics" milestone in
connect-agent-to-agent-observability-ljwith the updated SDK docs snippet in grafana/sigil#2337.The row told learners the snippet uses a
resourceit doesn't define and to create one withresourceFromAttributes. The fixed snippet now defines the resource itself and uses the OpenTelemetry JS 2.xspanProcessorsoption instead of the removedaddSpanProcessor, so following both the snippet and this step no longer conflicts. The row now matches the Python row: install the 2.x packages listed under the snippet, and the snippet setsservice.nametomy-agentitself.Only
export-traces-and-metrics/content.jsonchanges (one table row).Issue
Refs grafana/website#37281.
Merge order
Merge after grafana/sigil#2337 is published to the docs site. Until then the linked snippet still lacks the
resourcedefinition.Checks
content.jsonstill parses as JSON.validate-json.yml), which CI runs. This edit only changes prose in an existing markdown block.🤖 Generated with Claude Code