Skip to content

http_fail_cnt and http_fail_rate are not supported so attempts to set or reference them via the API fails #388

@nwehrman

Description

@nwehrman

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"
                ]
              },

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions