feat(custom-issuer-go): add health check and Prometheus metrics#91
feat(custom-issuer-go): add health check and Prometheus metrics#91kpitapeersyst wants to merge 1 commit intomainfrom
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
Important Review skippedDraft detected. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
|
Review the following changes in direct dependencies. Learn more about Socket for GitHub.
|
|
Warning Review the following alerts detected in dependencies. According to your organization's Security Policy, it is recommended to resolve "Warn" alerts. Learn more about Socket for GitHub.
|
feat(custom-issuer-go): add health endpoints and Prometheus metrics
Changes 🛠️
apps/custom-issuer-go
/livez-> liveness probe, always returns 200 OK/readyz-> readiness probe, checks validation keys are loaded and KMS signing capability, returns 200 OK or 503 Service Unavailable/metricsendpoint serving all Prometheus-formatted metrics for scrapingcustom_issuer_go_tokens_issued_total(counter) -> total successfully issued tokenscustom_issuer_go_tokens_failed_total(counter) -> total failed token issuance attemptscustom_issuer_go_issue_duration_seconds(histogram) -> token issuance durationHasValidationKeys()method toIssuerServicePing(ctx)method toKMSServicefor health-check signing probe