A Prometheus exporter for MySQL InnoDB Cluster status
This is not for production use - it's crude. I created this to learn the basics of using the Go Prometheus Client.
This is a simple server that scrapes MySQL InnoDB Cluster status and exports them via HTTP for Prometheus consumption.
- Testing a bad command is failing.
- Add replica set size metric.
To run it:
make run
Tests:
make test
Run with Docker:
make up
The Docker Compose uses an external Docker network. You can use this Docker Compose to run an InnoDB Cluster to check with the Exporter.