Database and storage metrics
Tip
For the metrics endpoint, the export formats, and the conventions that apply to all the metrics, see the Metrics document.
TPOSS exposes the following database metrics:
Look at these metrics when TPOSS becomes slow. They show whether the database can handle the workload and whether TPOSS still has free connections to it.
The db_health_status metric provides the component value, which represents the status of the database health check procedure. The label may have the following values:
ping- Result of the MySQL protocol-level ping sent directly to the database host.queue- Specifies whether the database connection pool queue length is below the configured maximum.
The value of the metric is 1 if the check was successful, or 0 if not.
For more information, see the Database health check settings section.
CDR file storage
TPOSS writes CDRs to the MySQL database, to files that an external billing system fetches, or to both. The following metric counts the failures of the file-based storage: