TiDB Monitoring API Overview
The TiDB monitoring framework uses two open-source projects: Prometheus and Grafana. TiDB uses Prometheus to store monitoring and performance metrics and Grafana to visualize these metrics. TiDB also provides the built-in TiDB Dashboard for monitoring and diagnosing TiDB clusters.
You can use the following interfaces to monitor TiDB cluster status:
- Status interface: monitor the running status of the current TiDB server and the storage information of a table.
- Metrics interface: get detailed information about various operations in components and view these metrics using Grafana.
For more information about each API, including request parameters, response examples, and usage instructions, see TiDB Monitoring API.