Skip to content

feat: add do11y edge function proxy for Axiom analytics#167

Draft
JakeSCahill wants to merge 1 commit into
mainfrom
feature/add-do11y-proxy
Draft

feat: add do11y edge function proxy for Axiom analytics#167
JakeSCahill wants to merge 1 commit into
mainfrom
feature/add-do11y-proxy

Conversation

@JakeSCahill
Copy link
Copy Markdown
Contributor

Summary

  • Add Netlify edge function to proxy do11y analytics requests to Axiom
  • Keeps API token server-side for security
  • Handles /api/do11y endpoint

Setup Required

After merging, set these environment variables in Netlify:

  • AXIOM_DO11Y_TOKEN - Axiom API ingest token
  • AXIOM_DO11Y_DATASET - Dataset name (defaults to redpanda-docs-analytics)

Related PR

Test plan

  • Deploy to preview environment
  • Verify /api/do11y endpoint responds
  • Verify events are proxied to Axiom
  • Verify token is not exposed in client

🤖 Generated with Claude Code

Add Netlify edge function to proxy do11y analytics requests to Axiom,
keeping the API token server-side for security.

Requires environment variables in Netlify:
- AXIOM_DO11Y_TOKEN: Axiom API ingest token
- AXIOM_DO11Y_DATASET: Dataset name (defaults to redpanda-docs-analytics)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@netlify
Copy link
Copy Markdown

netlify Bot commented Apr 22, 2026

Deploy Preview for redpanda-documentation ready!

Name Link
🔨 Latest commit 9576dad
🔍 Latest deploy log https://app.netlify.com/projects/redpanda-documentation/deploys/69e88bc3f1dabf00084078ab
😎 Deploy Preview https://deploy-preview-167--redpanda-documentation.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
Lighthouse
Lighthouse
1 paths audited
Performance: 89 (🟢 up 6 from production)
Accessibility: 96 (no change from production)
Best Practices: 100 (no change from production)
SEO: 83 (no change from production)
PWA: -
View the detailed breakdown and full score reports

To edit notification comments on pull requests, go to your Netlify project configuration.

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.

1 participant