feat: enable Sentry OTLP export in smoke-otel-tracing#6064
Merged
Conversation
Adds the observability.otlp frontmatter block so the gh-aw framework injects OTEL_EXPORTER_OTLP_ENDPOINT and OTEL_EXPORTER_OTLP_HEADERS env vars into the mcpg container, enabling live trace export to Sentry. Requires GH_AW_OTEL_SENTRY_ENDPOINT and GH_AW_OTEL_SENTRY_AUTHORIZATION repo secrets to be configured. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Contributor
There was a problem hiding this comment.
Pull request overview
Enables live OTLP trace export (to Sentry) for the smoke-otel-tracing agentic workflow by adding observability.otlp frontmatter and recompiling the generated lock workflow so the gh-aw framework wires OTLP endpoint/auth into the run.
Changes:
- Added
observability.otlpfrontmatter tosmoke-otel-tracing.mdreferencing Sentry endpoint and auth secrets. - Regenerated
smoke-otel-tracing.lock.yml, introducing OTLP-related env vars, masking steps, and observability artifacts/summary steps.
Show a summary per file
| File | Description |
|---|---|
| .github/workflows/smoke-otel-tracing.md | Adds observability.otlp frontmatter pointing to Sentry OTLP endpoint + auth secrets. |
| .github/workflows/smoke-otel-tracing.lock.yml | Regenerated compiled workflow to include OTLP env wiring, masking, and observability reporting/artifacts. |
Copilot's findings
Tip
Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
- Files reviewed: 2/2 changed files
- Comments generated: 2
Comment on lines
1
to
3
| # gh-aw-metadata: {"schema_version":"v3","frontmatter_hash":"88f9fdf40fea1d075debddcfbead2dda19f22e6512f2ad8194cc293d9f6cf753","compiler_version":"v0.74.4","agent_id":"copilot"} | ||
| # gh-aw-manifest: {"version":1,"secrets":["COPILOT_GITHUB_TOKEN","GH_AW_GITHUB_MCP_SERVER_TOKEN","GH_AW_GITHUB_TOKEN","GH_AW_OTEL_SENTRY_AUTHORIZATION","GH_AW_OTEL_SENTRY_ENDPOINT","GITHUB_TOKEN"],"actions":[{"repo":"actions/cache","sha":"27d5ce7f107fe9357f9df03efb73ab90386fccae","version":"v5.0.5"},{"repo":"actions/checkout","sha":"de0fac2e4500dabe0009e67214ff5f5447ce83dd","version":"v6.0.2"},{"repo":"actions/download-artifact","sha":"3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c","version":"v8.0.1"},{"repo":"actions/github-script","sha":"3a2844b7e9c422d3c10d287c895573f7108da1b3","version":"v9.0.0"},{"repo":"actions/setup-go","sha":"4a3601121dd01d1626a1e23e37211e3254c1c06c","version":"v6.4.0"},{"repo":"actions/upload-artifact","sha":"043fb46d1a93c77aae656e7c1c64a875d1fc6a0a","version":"v7.0.1"},{"repo":"github/gh-aw-actions/setup","sha":"d3abfe96a194bce3a523ed2093ddedd5704cdf62","version":"v0.74.4"}],"containers":[{"image":"ghcr.io/github/gh-aw-firewall/agent:0.25.46"},{"image":"ghcr.io/github/gh-aw-firewall/api-proxy:0.25.46"},{"image":"ghcr.io/github/gh-aw-firewall/squid:0.25.46"},{"image":"ghcr.io/github/gh-aw-mcpg:v0.3.9","digest":"sha256:64828b42a4482f58fab16509d7f8f495a6d97c972a98a68aff20543531ac0388","pinned_image":"ghcr.io/github/gh-aw-mcpg:v0.3.9@sha256:64828b42a4482f58fab16509d7f8f495a6d97c972a98a68aff20543531ac0388"},{"image":"ghcr.io/github/github-mcp-server:v1.0.4"},{"image":"node:lts-alpine","digest":"sha256:01743339035a5c3c11a373cd7c83aeab6ed1457b55da6a69e014a95ac4e4700b","pinned_image":"node:lts-alpine@sha256:01743339035a5c3c11a373cd7c83aeab6ed1457b55da6a69e014a95ac4e4700b"}]} | ||
| # ___ _ _ |
Comment on lines
+12
to
+15
| observability: | ||
| otlp: | ||
| endpoint: ${{ secrets.GH_AW_OTEL_SENTRY_ENDPOINT }} | ||
| headers: ${{ secrets.GH_AW_OTEL_SENTRY_AUTHORIZATION }} |
Collaborator
Author
|
@copilot address the review feedback |
Contributor
Addressed. Updated the workflow docs to reflect Sentry OTLP dependency/behavior and bumped the smoke-otel-tracing MCP Gateway runtime to v0.3.11 with regenerated lock output. Latest commit: |
Copilot stopped work on behalf of
lpcox due to an error
May 20, 2026 03:36
This was referenced May 20, 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.
Adds
observability.otlpfrontmatter to the smoke-otel-tracing workflow so the gh-aw framework injects OTel env vars into the mcpg container for live Sentry trace export.Changes
observability.otlpblock withGH_AW_OTEL_SENTRY_ENDPOINTandGH_AW_OTEL_SENTRY_AUTHORIZATIONsecretsPrerequisites
GH_AW_OTEL_SENTRY_ENDPOINTandGH_AW_OTEL_SENTRY_AUTHORIZATIONmust be set ✅OTEL_EXPORTER_OTLP_HEADERSenv var support (PR feat: read OTEL_EXPORTER_OTLP_HEADERS env var as fallback for OTLP export headers #5849)