prometheus_exporter serves the /metrics endpoint
from inside the server instead, so there is one fewer process to deploy,
authenticate, and keep alive.
A third party writes and maintains this extension. VillageSQL does not build,
test, or ship it, and the description below follows the maintainer’s own
documentation. Read that documentation before you rely on it.
Install
Build it from that branch against a VillageSQL build tree (VillageSQL_BUILD_DIR), copy the .veb file into the server’s veb_dir, then install it:
What it adds
It adds an HTTP listener and three settings, and no SQL functions.
Five families of metric are exported, each named after where it came from.
The exporter also reports on itself through
requests_total,
scrape_duration_us, and errors_total.
Example
The maintainer’s quick start turns it on and picks a port:http://127.0.0.1:9104/metrics. If another process, such as a standalone mysqld_exporter, already holds port 9104, enabled still reads ON and nothing answers, so check the endpoint with curl.
See also
- Available extensions — the full catalog
- ProxySQL/vsql-prometheus-exporter — source, the metric list, and the test suite

