Percona Query Analytics (QAN) Agent is part of Percona Monitoring and Management (PMM). See the PMM docs for more information.
- Setup
GOPATH
. - Clone repository to
GOPATH
:go get -v github.com/percona/qan-agent
. - Install
glide
:curl https://glide.sh/get | sh
orbrew install glide
orgo get -u github.com/Masterminds/glide
for development version (master
branch).
- Fetch dependencies:
glide install
. - Install agent and installer:
go install -v github.com/percona/qan-agent/bin/...
. Binaries will be created in$GOPATH/bin
.
If you find a bug in Percona QAN Agent or one of the related projects, you should submit a report to that project's JIRA issue tracker.
Your first step should be to search the existing set of open tickets for a similar report. If you find that someone else has already reported your problem, then you can upvote that report to increase its visibility.
If there is no existing report, submit a report following these steps:
- Sign in to Percona JIRA. You will need to create an account if you do not have one.
- Go to the Create Issue screen and select the relevant project.
- Fill in the fields of Summary, Description, Steps To Reproduce, and Affects Version to the best you can. If the bug corresponds to a crash, attach the stack trace from the logs.
An excellent resource is Elika Etemad's article on filing good bug reports..
As a general rule of thumb, please try to create bug reports that are:
- Reproducible. Include steps to reproduce the problem.
- Specific. Include as much detail as possible: which version, what environment, etc.
- Unique. Do not duplicate existing tickets.
- Scoped to a Single Bug. One bug per report.