Skip to content

rluisr/mackerel-plugin-mysqlrouter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

mackerel-plugin-mysqlrouter

Build Status

Supported version

check here

Usage

  1. Enable REST API on MySQL Router here
  2. Download binary from release page and put to /usr/local/bin
  3. Edit mackerel-agent.conf then restart.
[plugin.metrics.mysqlrouter]
command = ["/usr/local/bin/mackerel-plugin-mysqlrouter"]
env = { MYSQLROUTER_URL = "http://localhost:8080", MYSQLROUTER_USER = "luis", MYSQLROUTER_PASS = "luis", MYSQLROUTER_TLS_SKIP_VERIFY = "true" }

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