dataplaneapi
dataplaneapi copied to clipboard
http_fail_cnt and http_fail_rate are not supported so attempts to set or reference them via the API fails
It looks like these two options for stick tables were just overlooked and need added if possible. Thanks!
http_fail_cnt http_fail_rate
Looking at the embedded_spec.go file they're missing so I suspect they were simply never created but I'm not familiar enough with the code to add them myself.
https://raw.githubusercontent.com/haproxytech/dataplaneapi/refs/heads/master/embedded_spec.go
"stick_table": {
"description": "Stick Table Information",
"type": "object",
"title": "Stick Table",
"properties": {
"fields": {
"type": "array",
"items": {
"type": "object",
"properties": {
"field": {
"type": "string",
"enum": [
"bytes_in_cnt",
"bytes_in_rate",
"bytes_out_cnt",
"bytes_out_rate",
"conn_cnt",
"conn_cur",
"conn_rate",
"gpc0",
"gpc0_rate",
"gpc1",
"gpc1_rate",
"gpt0",
"http_req_cnt",
"http_req_rate",
"http_err_cnt",
"http_err_rate",
"server_id",
"sess_cnt",
"sess_rate",
"glitch_rate",
"glitch_cnt"
]
},