HAProxy chart elements to alert

Does anyone have any guide on how to filter on specific chart elements in the health.d alarm or template configs?

Specifically we are trying to get alarms on specific backends in the HAProxy python.d collector and charts.

Thanks.