Forum Discussion

LuisCR's avatar
LuisCR
Icon for Nimbostratus rankNimbostratus
Aug 24, 2023

Request statistics for HTTPS pool

Hello community

Thank you for any help you can give me with this query.

How could I record incoming requests in the statistics of a pool for https?

 

1 Reply

  • HTTP requests are not normally included in pool stats afaik. However, you can use iStats to assign a statistic to the pool

    when HTTP_REQUEST {
    set pool_name [LB::server pool]
    set pool_member_addr [LB::server addr]
    set pool_member_port [LB::server port]
    ISTATS::incr "ltm.pool $pool member $pool_member_addr:$pool_member_port counter requests" 1
    }

    . You can see these via the CLI with "tmsh show ltm pool"