Skip to content

feat: enable Sentry OTLP export in smoke-otel-tracing#6064

Merged
lpcox merged 3 commits into
mainfrom
feat/smoke-otel-sentry-export
May 20, 2026
Merged

feat: enable Sentry OTLP export in smoke-otel-tracing#6064
lpcox merged 3 commits into
mainfrom
feat/smoke-otel-sentry-export

Conversation

@lpcox

@lpcox lpcox commented May 20, 2026

Copy link
Copy Markdown
Collaborator

Adds observability.otlp frontmatter 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

  • Added observability.otlp block with GH_AW_OTEL_SENTRY_ENDPOINT and GH_AW_OTEL_SENTRY_AUTHORIZATION secrets
  • Recompiled lock file

Prerequisites

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>
Copilot AI review requested due to automatic review settings May 20, 2026 01:50

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.otlp frontmatter to smoke-otel-tracing.md referencing 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 }}
@lpcox

lpcox commented May 20, 2026

Copy link
Copy Markdown
Collaborator Author

@copilot address the review feedback

Copilot AI commented May 20, 2026

Copy link
Copy Markdown
Contributor

@copilot address the review feedback

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: d6c959d (with 916fa94 also part of this fix set).

@lpcox lpcox merged commit 2b301a4 into main May 20, 2026
3 checks passed
@lpcox lpcox deleted the feat/smoke-otel-sentry-export branch May 20, 2026 03:35
Copilot stopped work on behalf of lpcox due to an error May 20, 2026 03:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants