Skip to content

Grafana-GitHub bridge: add Dockerfile and convert to Node.js#3249

Open
x3c41a wants to merge 1 commit into
masterfrom
grafana-github-bridge-dockerfile
Open

Grafana-GitHub bridge: add Dockerfile and convert to Node.js#3249
x3c41a wants to merge 1 commit into
masterfrom
grafana-github-bridge-dockerfile

Conversation

@x3c41a
Copy link
Copy Markdown
Contributor

@x3c41a x3c41a commented Mar 4, 2026

Summary

  • Converts the Grafana→GitHub alert bridge from a Cloudflare Worker to a standard Node.js HTTP server (zero external dependencies, stdlib only)
  • Adds a Dockerfile for container deployment
  • Adds /health endpoint for liveness probes
  • Adds smoke test (test.js)

Addresses feedback in paritytech/devops#5019 (comment) on #3224.

Deployment

docker build -t grafana-github-bridge .
docker run -p 3000:3000 \
  -e GITHUB_TOKEN=ghp_xxx \
  -e WEBHOOK_SECRET=optional-secret \
  grafana-github-bridge

Test plan

  • Smoke test passes (node test.js)
  • Docker build and run
  • Verify webhook POST creates GitHub issue with correct labels

@cla-bot-2021
Copy link
Copy Markdown

cla-bot-2021 Bot commented Mar 4, 2026

User @claude, please sign the CLA here.

Convert from Cloudflare Worker to a plain Node.js HTTP server so it can
be deployed to any container infrastructure. No external dependencies —
uses only Node.js stdlib (node:http).

Adds Dockerfile, health endpoint, smoke tests, and deployment docs.

Addresses paritytech/devops#5019 feedback on PR #3224.
@x3c41a x3c41a force-pushed the grafana-github-bridge-dockerfile branch from b50d420 to 47411e0 Compare March 4, 2026 13:07
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