Skip to content

proton-bridge: add Prometheus metrics endpoint#1

Closed
mgarratt wants to merge 3 commits into
mainfrom
feat/proton-bridge-metrics
Closed

proton-bridge: add Prometheus metrics endpoint#1
mgarratt wants to merge 3 commits into
mainfrom
feat/proton-bridge-metrics

Conversation

@mgarratt

Copy link
Copy Markdown
Owner

Summary

  • add a new supervised metrics service in the proton-bridge image
  • serve Prometheus metrics at /cgi-bin/metrics on CONTAINER_METRICS_PORT (default 9154)
  • export service/process/probe/restart metrics based on existing s6 and healthcheck signals
  • wire new service/files into the Dockerfile and require CONTAINER_METRICS_PORT at startup
  • extend healthcheck to verify metrics service and endpoint readiness
  • document metrics and current account sync-status limitation in README

Validation

  • sh syntax checks for changed scripts
  • ./scripts/lint.sh (shellcheck + hadolint)

@mgarratt

Copy link
Copy Markdown
Owner Author

Superseded by #4, which scrapes Bridge's gRPC API for real per-account login/auth state instead of external socat/CGI probes. Closing in favour of that approach.

@mgarratt mgarratt closed this Jun 26, 2026
@mgarratt mgarratt deleted the feat/proton-bridge-metrics branch June 26, 2026 10:35
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