24-Aug-2023 08:13
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?
24-Aug-2023 08:27
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"