Metrics
Return the latest per-database metric values for a Postgres or MariaDB service.
Changed onPostgres: groups pg_stat_database and size metrics by datname (size, cache-hit ratio, commits, tuple activity). MariaDB: groups storage metrics by schema (data, index and free-space size, table count, estimated rows). The UI shows this as a breakdown table instead of collapsing every database into one value. Engines without per-database series get an empty list while the metrics store is available; without it the endpoint returns 503.
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)
- AuthHTTP bearer
Path parameters
idinteger required
External service ID
Response
Per-database metric breakdown; empty for engines without per-database series
Changes
- info
added the non-success response with the status
- info
- info
endpoint added
- info