# HAProxy Receiver

<!-- llms-txt-link: /llms.txt -->

> OpenTelemetry Collector receiver · contrib distribution

The HAProxy receiver generates metrics by polling periodically the HAProxy process through a dedicated socket or HTTP URL.

- **Component ID**: `contrib-haproxyreceiver`
- **Name**: `haproxyreceiver`
- **Type**: receiver
- **Distribution**: contrib
- **Repository**: `opentelemetry-collector-contrib`

## Stability

| Level | Signals |
| --- | --- |
| beta | metrics |

## Attributes

| Attribute | Type | Description |
| --- | --- | --- |
| `status_code` | string | Status code category, 1xx, 2xx, 3xx, 4xx, 5xx or other |

## Data

- **JSON**: [/data/collector/components/contrib-haproxyreceiver/contrib-haproxyreceiver-b25aadf39750.json](/data/collector/components/contrib-haproxyreceiver/contrib-haproxyreceiver-b25aadf39750.json)
- **Explore**: [/collector/components/contrib/haproxyreceiver](/collector/components/contrib/haproxyreceiver)
