mackerel-plugin-haproxy

command
v0.71.0 Latest Latest
Warning

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

Go to latest
Published: Apr 21, 2022 License: Apache-2.0 Imports: 1 Imported by: 0

README

mackerel-plugin-haproxy

HAProxy custom metrics plugin for mackerel.io agent.

Synopsis

mackerel-plugin-haproxy [-host=<host>] [-port=<port>] [-path=<stats-path>] [-scheme=<http|https>] [-username=<username] [-password=<password>] [-tempfile=<tempfile>]
or
mackerel-plugin-haproxy [-uri=<uri>] [-username=<username] [-password=<password>] [-tempfile=<tempfile>]

For Basic Auth, set username.

Example of mackerel-agent.conf

[plugin.metrics.haproxy]
command = ["mackerel-plugin-haproxy", "-port=8088", "-path=/haproxy?hastats"]

Example of haproxy.cfg

This plugin requires to enable stats of haproxy. Example configuration is as follow.

listen hastats
    bind *:8088
    mode http
    maxconn 64
    timeout connect 5000
    timeout client 10000
    timeout server 10000
    stats enable
    stats show-legends
    stats uri /haproxy?hastats

    # basic auth
    stats auth admin:adminadmin

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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