Skip to content

michaelcoburn/proxysql_exporter

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Percona ProxySQL Exporter

Build Status Go Report Card CLA assistant

Prometheus exporter for ProxySQL performance data.

Collectors

  • Global status metrics from SHOW MYSQL STATUS
  • Connection pool usage statistics from stats_mysql_connection_pool

Build

GOOS=linux go build proxysql_exporter.go

Usage

export DATA_SOURCE_NAME="stats:stats@tcp(localhost:6032)/"
./proxysql_exporter

To enable HTTP basic authentication, set environment variable HTTP_AUTH to user:password pair. For example: export HTTP_AUTH="user:password"

Note, using stats user requires ProxySQL 1.2.4 or higher. Otherwise, use admin user.

Visualize

There is a Grafana dashboard for ProxySQL available as a part of PMM project, you can see the demo here.

Submit Bug Report

If you find a bug in Percona ProxySQL Exporter 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:

  1. Sign in to Percona JIRA. You will need to create an account if you do not have one.
  2. Go to the Create Issue screen and select the relevant project.
  3. 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.

About

Prometheus exporter for ProxySQL performance data

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 100.0%