flow-pie/chamaa.api

Prometheus (metrics collection)

Open

#74 opened on Nov 9, 2025

View on GitHub
 (0 comments) (0 reactions) (0 assignees)HTML (4 forks)auto 404
good first issue

Repository metrics

Stars
 (3 stars)
PR merge metrics
 (PR metrics pending)

Description

Setup Prometheus metrics collection for the API and infrastructure.

Requirements:

  • Add Prometheus client library to Node.js backend
  • Create custom metrics for API endpoints (requests, latency, errors)
  • Expose metrics endpoint (/metrics)
  • Configure Prometheus scrape targets
  • Add database query metrics
  • Monitor blockchain transaction metrics

Deliverables:

  • Prometheus client integration in backend
  • Custom metrics definitions
  • /metrics endpoint implementation
  • Prometheus configuration file with scrape configs
  • Verified metrics collection and export

Contributor guide