pmm-client/qan-agent 安装
安装过程 见 #15
qan-api 安装
下载这里的 qan-api-src.zip ,是修改版本,修改内容详情见 #14
qan-api-1.5.2.zip 和 qan-api-src.zip 解压到 /opt/percona-qan-api, 运行方式
export PERCONA_DATASTORE_CONF='/opt/percona-qan-api/src/github.com/percona/qan-api/conf/prod.conf'
export PERCONA_DATASTORE_BASEDIR='/opt/percona-qan-api/src/github.com/percona/qan-api/'
# run as daemon
nohup /opt/percona-qan-api/qan-api \
-srcPath /opt/percona-qan-api/src \
-importPath github.com/percona/qan-api \
-runMode prod 2>&1 >> /data0/logs/qan-api.log &
landing-page
git clone https://github.com/percona/pmm-server.git