Project

General

Profile

Actions

Feature #10500

closed

Build HAProxy Package with buildin Prometheus exporter

Added by DRago_Angel [InV@DER] about 4 years ago. Updated about 1 year ago.

Status:
Resolved
Priority:
Normal
Category:
haproxy
Target version:
-
Start date:
04/26/2020
Due date:
% Done:

100%

Estimated time:
Plus Target Version:

Description

Now if you try use in fronend:

http-request use-service prometheus-exporter if { path /metrics }
    stats enable
    stats uri /stats
    stats refresh 10s

you will get error: error detected in frontend 'http-stats' while parsing 'http-request use-service' rule : 'prometheus-exporter' unknown service name.
Prometheus exporter is must have. For example Telegraf HAProxy exporter not give even half of info that Prometheus provide. Official post https://www.haproxy.com/blog/haproxy-exposes-a-prometheus-metrics-endpoint/ with explanation and build instructions.

Actions

Also available in: Atom PDF