Skip to content
This repository has been archived by the owner on Jun 24, 2020. It is now read-only.

luther7/mysql-innodb-cluster-prometheus-exporter

Repository files navigation

MySQL InnoDB Cluster Prometheus Exporter

Build Status

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.

To do

  • Testing a bad command is failing.
  • Add replica set size metric.

Getting Started

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.

About

A Prometheus exporter for MySQL InnoDB Cluster status

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published