Knowledge Base | Observability

Logging with the HAProxy Kubernetes Ingress Controller
The HAProxy Kubernetes Ingress Controller publishes two sets of logs: the ingress controller logs and the HAProxy access logs. After you install the HAProxy Kubernetes Ingress Controller, logging jumps to mind as one of the first features to configure. Logs...
![Using HAProxy as an API Gateway, Part 4 [Metrics]](https://cdn.haproxy.com/wp-content/uploads/2021/02/API-Gateway-4-Metrics-1000x500.png)
Using HAProxy as an API Gateway, Part 4 [Metrics]
HAProxy publishes more than 100 metrics about the traffic flowing through it. When you use HAProxy as an API gateway, these give you insight into how clients are accessing your APIs. Several metrics come to mind as particularly useful, since they can help you...

HAProxy Log Sampling
Log Sampling is a powerful feature introduced in HAProxy 2.0 that lets you define a percentage of your logs to create a representative view of your data allowing you to minimize your costs. Log files are the key to observability. They can provide helpful information...

Tracing Requests Through HAProxy with AWS X-Ray
HAProxy integrates with AWS X-Ray to give you the best observability across your Amazon Web Services (AWS) resources, including your load balancer. Read on to learn how. There is a trend to move away from monolithic applications towards microservices. Microservices...

HAProxy Exposes a Prometheus Metrics Endpoint
HAProxy has added native support for Prometheus, allowing you to export metrics directly. Read on to learn more. Metrics are a key aspect of observability, along with logging and tracing. They contain the data that inform you about the state of your systems,...

Binary Health Check with HAProxy 1.5: PHP-fpm/fastcgi Probe Example
Application Layer Health Checking Health checking is the ability to probe a server to ensure the service is up and running. This is one of the root feature of any load-balancer. One can probe servers and services at different layer of the OSI model: * ARP check (not...

HAProxy Advanced Redis Health Check
Introduction Redis is an opensource nosql database working on a key/value model. One interesting feature in Redis is that it is able to write data to disk as well as a master can synchronize many slaves. HAProxy can load-balance Redis servers with no issues at all....