/mackerel-plugin-mysqlrouter

Mackerel Plugin for MySQL Router

Primary LanguageGo

mackerel-plugin-mysqlrouter

Build Status

Usage

  1. Download binary from release page and put to /usr/local/bin
  2. Edit mackerel-agent.conf then restart.
[plugin.metrics.mysqlrouter]
command = "MYSQLROUTER_URL=http://localhost:8080 MYSQLROUTER_USER=luis MYSQLROUTER_PASS=luis /usr/local/bin/mackerel-plugin-mysqlrouter"

FYI

You should set alert of health per route like below.

This 0.1 is no meaning. If route is no heath return 0.

Todo

  • Show graph per route connections