Traces
Database Monitoring: table size, bloat and vacuum state
Newest snapshot per relation from the table-stats server-vantage feed (pg_table_stats / mysql_table_stats / mariadb_table_stats). Scan and vacuum counters are LIFETIME totals since the last statistics reset; tuple counts and bloat percentage are planner estimates. Postgres, MySQL and MariaDB.
get/api/{org_id}/db_monitoring/table_health
Request
- Base URLhttps://api.openobserve.ai (the document declares no server; this is the origin it was published from)
- AuthAPI key in header Authorization
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
org_idstring required
Organization name
Query parameters
start_timeinteger
Start time (microseconds)
end_timeinteger
End time (microseconds)
streamstring
Server-vantage logs stream: '_o2_dbm_server' (default) or 'dbm_server_logs'; any other value is a 400
systemstring
Database engine filter
instancestring
Database instance filter
limitinteger
Max relations returned (default 100)
include_indexesboolean
Also return the index-health section (index_hits, disclosures) in the same response
Response
Success
object required
Changes
No recorded changes to this operation across all 1 revision of this API.