haproxy: fix some status definitions (#8631)
haproxy: fix some status definitions (#8631)

* haproxy: frontend/backend/server status changed meaning

since v2.4 the status now has a label with the state value. The gauge is
simply here to show whether the mentioned is activae or not.
e.g:
  haproxy_server_status{proxy="be_foo",server="srv0",state="DOWN"} 0
  haproxy_server_status{proxy="be_foo",server="srv0",state="UP"} 0
  haproxy_server_status{proxy="be_foo",server="srv0",state="MAINT"} 1
  haproxy_server_status{proxy="be_foo",server="srv0",state="DRAIN"} 0
  haproxy_server_status{proxy="be_foo",server="srv0",state="NOLB"} 0

Signed-off-by: William Dauchy <fc2d3c19d5344b6d04072534fc9e83fba38704c3@datadoghq.com>

* haproxy: add server health check definition

the server health check was missing in the csv. Since 2.4 the format is
as follow:

haproxy_server_check_status{proxy="be_foo",server="srv0",state="HANA"} 0
haproxy_server_check_status{proxy="be_foo",server="srv0",state="SOCKERR"} 0
haproxy_server_check_status{proxy="be_foo",server="srv0",state="L4OK"} 0
haproxy_server_check_status{proxy="be_foo",server="srv0",state="L4TOUT"} 0
haproxy_server_check_status{proxy="be_foo",server="srv0",state="L4CON"} 1
haproxy_server_check_status{proxy="be_foo",server="srv0",state="L6OK"} 0
haproxy_server_check_status{proxy="be_foo",server="srv0",state="L6TOUT"} 0
haproxy_server_check_status{proxy="be_foo",server="srv0",state="L6RSP"} 0
haproxy_server_check_status{proxy="be_foo",server="srv0",state="L7TOUT"} 0
haproxy_server_check_status{proxy="be_foo",server="srv0",state="L7RSP"} 0
haproxy_server_check_status{proxy="be_foo",server="srv0",state="L7OK"} 0
haproxy_server_check_status{proxy="be_foo",server="srv0",state="L7OKC"} 0
haproxy_server_check_status{proxy="be_foo",server="srv0",state="L7STS"} 0
haproxy_server_check_status{proxy="be_foo",server="srv0",state="PROCERR"} 0
haproxy_server_check_status{proxy="be_foo",server="srv0",state="PROCTOUT"} 0
haproxy_server_check_status{proxy="be_foo",server="srv0",state="PROCOK"} 0

so it is now possible to easily group by state even though the metric
was already available.

Also fixup some wrong version which were put for checks. Those are
available since 2.0

Signed-off-by: William Dauchy <fc2d3c19d5344b6d04072534fc9e83fba38704c3@datadoghq.com>
DataDog/integrations-core,DataDog/integrations-core,DataDog/integrations-core,DataDog/integrations-core,DataDog/integrations-core,DataDog/integrations-core,DataDog/integrations-core,DataDog/integrations-core,DataDog/integrations-core,DataDog/integrations-core