module
Version:
v0.0.0-...-242cc6e
Opens a new window with list of versions in this module.
Published: Sep 29, 2021
License: Apache-2.0
Opens a new window with license information.
README
¶
MaxScale Exporter
The Exporter exports the MaxScale metrics for Prometheus:
- Server connections
- Service session count
- MaxScale instance status
- Event statistics per started thread
MaxScale requirements
The exporter uses exclusively MaxScale REST API
Installation
- Install Golang
- Create a new folder in your $GOPATH:
mkdir -p $GOPATH/src/github.com/
- Navigate to that folder:
$GOPATH/src/github.com
- Clone the repository:
git clone https://github.com/pgporada/maxctrl_exporter.git
Build
Manually
- Change to the project root directory
- Run
go build to build the binary for your platform
- Build Linux binary:
GOOS=linux GOARCH=amd64 go build -o bin/linux/maxctrl_exporter
Click to show internal directories.
Click to hide internal directories.