Metrics

Return the latest per-database metric values for a Postgres service.

Groups pg_stat_database / size metrics by datname so the UI can show a breakdown table (each database with its own size, cache-hit ratio, etc.) rather than collapsing every database into one value.

get/external-services/{id}/metrics/by-database

Request

  • Base URL: /api (relative, and the document was published on a file host, not at the API’s origin)
  • URL: /api/external-services/{id}/metrics/by-database
  • Auth: HTTP bearer

Path parameters

idinteger required

External service ID

Response

Per-database metric breakdown

Changes