Configure the HAProxy integration

Now that HAProxy is exposing metrics, configure the Grafana Cloud integration to collect them. The integration tells Alloy where to scrape HAProxy metrics and which metrics to forward.

Return to the HAProxy integration page in Grafana Cloud to complete the configuration.

  1. If you navigated away, return to the HAProxy integration page:

    a. Click Connections > Add new connection in the left-side menu

    b. Search for HAProxy and click the tile

    c. Click Proceed to install integration if you completed the Alloy installation step

  2. In the Configure your HAProxy integration section, enter the address of your HAProxy Prometheus endpoint.

    If you used the configuration from the previous step, enter:

    http://localhost:8405/metrics

    If your HAProxy server and Alloy are on different machines, replace localhost with the HAProxy server’s IP address or hostname.

  3. Review the configuration and click Test integration to verify that Alloy can reach the HAProxy metrics endpoint.

    If the test succeeds, click Save and apply.

The integration is now configured. Alloy begins collecting HAProxy frontend and backend metrics and forwarding them to your Grafana Cloud stack.


page 6 of 10