Skip to content

Add ability to run as a service, metrics endpoint and dev helper scripts - #45

Open
richcq wants to merge 1 commit into
mrshu:masterfrom
richcq:feat/run-as-service-add-metrics
Open

Add ability to run as a service, metrics endpoint and dev helper scripts#45
richcq wants to merge 1 commit into
mrshu:masterfrom
richcq:feat/run-as-service-add-metrics

Conversation

@richcq

@richcq richcq commented Sep 10, 2026

Copy link
Copy Markdown

Adds the ability to run this a lightweight container with the addition of /metrics and /health endpoints as my goal was to expose some GitHub Component metrics to an observability platform; in my use-case Datadog so I can construct some custom dashboards and alerts around the live and previous state of GitHub components.

It made more sense to add it to this project than spin up a another project for what is essentially a metrics endpoint and running in a container, whilst retaining the existing deployment pattern of GitHub Pages intact.

The scripts/* are untouched, this adds a semi-lightweight server implementation and a few development helper scripts.

Note

I am aware that the atom feed is used as the source of truth using the git history, so obviously the flat and parse workflows will need to continue to run to keep the real git history for these correct/fresh. In theory as long as the container keeps running and the internal git history (never pushed) is updated it can keep running for quite some time without a re-publish/redeployment.

@richcq
richcq marked this pull request as ready for review September 10, 2026 17:12
@richcq
richcq force-pushed the feat/run-as-service-add-metrics branch from 202046e to 1d1c8ea Compare September 11, 2026 05:05
@richcq
richcq force-pushed the feat/run-as-service-add-metrics branch from 1d1c8ea to f7044c4 Compare September 11, 2026 05:09
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