Open
Description
Hello!
According to the OpenAPI specification provided on this page, the status
and check_status
fields in the response from the GET /services/haproxy/stats/native
endpoint are expected to have the following values:
Field | Acceptable values |
---|---|
status |
UP, DOWN, NOLB, MAINT, no check |
check_status |
UNK, INI, SOCKERR, L4OK, L4TOUT, L4CON, L6OK, L6TOUT, L6RSP, L7OK, L7OKC, L7TOUT, L7RSP, L7STS |
However, in actuality, the Data Plane API returns values such as UP 1/2
, DOWN 1/5
, or * L4TOUT
, etc., which are valid according to HAProxy, but are not covered by the OpenAPI specification. I'm not entirely sure about other cases, but this could be one of many mismatches between the specification and the API behavior.
Thanks!
Metadata
Metadata
Assignees
Labels
No labels