information_schema.metrics_tables.promql

mysql

mariadb

tidb

type: VARCHAR(64) NULL
Note:
The working principle of the monitoring table is to map SQL statements to PromQL and convert Prometheus results into SQL query results. This field is the expression template of PromQL. When you query the data of the monitoring table, the query conditions are used to rewrite the variables in this template to generate the final query expression.
© 2022 PingCAP
4-6.1

postgres

cockroachdb

mssql