maxctrl_exporter

module
v0.0.0-...-242cc6e Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 29, 2021 License: Apache-2.0

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

  1. Install Golang
  2. Create a new folder in your $GOPATH: mkdir -p $GOPATH/src/github.com/
  3. Navigate to that folder: $GOPATH/src/github.com
  4. Clone the repository: git clone https://github.com/pgporada/maxctrl_exporter.git

Build

Manually
  1. Change to the project root directory
  2. Run go build to build the binary for your platform
  3. Build Linux binary: GOOS=linux GOARCH=amd64 go build -o bin/linux/maxctrl_exporter

Directories

Path Synopsis
cmd
pkg

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL