-
Notifications
You must be signed in to change notification settings - Fork 51
Add Metrics Endpoint (Prometheus or JSON) #59
Copy link
Copy link
Closed
Labels
Stellar WaveIssues in the Stellar wave programIssues in the Stellar wave program
Description
Description
Expose GET /api/metrics (or /metrics) with request count, latency histogram, error count by route. Format: Prometheus text or JSON. Optional: use prom-client. Protect endpoint in production (e.g. internal only or API key).
Requirements and context
- Must not expose PII
- Use for monitoring and alerting
Suggested execution
- Fork the repo and create a branch
git checkout -b feature/metrics- Implement changes
- Add middleware to record request count and duration; GET /api/metrics returns metrics
- Example commit message:
feat: metrics endpoint for monitoring
Guidelines
- No PII in metrics
- Clear documentation
- Timeframe: 96 hours
- Project details: #
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Stellar WaveIssues in the Stellar wave programIssues in the Stellar wave program