yz-cloud-ops

api docs / small services / utilities

Metrics

GET /v1/metrics

A compact JSON view of operational metrics. For Prometheus, you would typically expose a text format; JSON is sufficient for small environments.

curl -sS https://api.example.tld/v1/metrics

# Example response
{
  "uptime_sec": 123456,
  "requests_total": 98765,
  "errors_total": 12
}