[docs] Update documentation for features from 2026-05-22#33984
Merged
Conversation
Document the new observability.otlp.attributes frontmatter field introduced in #33846. Adds a reference row in the OpenTelemetry Fields table, a dedicated "Custom span attributes" section with an example using GitHub Actions expressions, a note about runner log masking, and a corresponding mention in the frontmatter reference. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
pelikhan
approved these changes
May 22, 2026
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
Documentation update for OpenTelemetry custom span attributes feature. This PR adds comprehensive documentation for the
observability.otlp.attributesconfiguration field and theattributesfrontmatter field, enabling users to attach custom key-value metadata to OTLP spans using GitHub Actions expressions.Change Classification
Files Changed
Modified Files (2)
docs/src/content/docs/reference/frontmatter.md
attributesfield supporting custom span attributes with GitHub Actions expressionsattributesfrontmatter fielddocs/src/content/docs/reference/open-telemetry.md
observability.otlp.attributesconfiguration field, added environment variableGH_AW_OTLP_ATTRIBUTES, and created a new "Custom span attributes" section with usage examplesobservability.otlp.attributesconfiguration field documentationGH_AW_OTLP_ATTRIBUTESenvironment variableTechnical Details
Feature Documentation Added
observability.otlp.attributesattributesGH_AW_OTLP_ATTRIBUTESDocumentation Structure
Commit History
38e543737- docs: document observability.otlp.attributes custom span attributesMetadata
Agentic Analysis Tags
{ "category": "documentation", "subcategory": "reference", "features_documented": ["observability.otlp.attributes", "frontmatter.attributes"], "components_affected": ["opentelemetry", "frontmatter"], "requires_code_review": false, "requires_test_validation": false, "breaking_change": false, "api_changes": false, "config_changes_documented": true, "user_facing": true, "observability_related": true }