RequestObserverFilter
The RequestObserverFilter facilitates the monitoring of slow or stuck requests.
The filter periodically runs in its own thread. It saves the transfer ID and the time of reception of every request. If the elapsed time after the reception of the request exceeds the configured notice time, the RequestObserverFilter will trace a notice with the request's transfer ID.
You set the notice time in the filter parameter NoticeTime - for a description of this parameter, see the following table with the filter configuration.
Currently the filter is only supported for testing purposes and should not be used in production.
Classname
ch::nevis::nevisproxy::filter::debug::RequestObserverFilter
Library
NPDebugFilters.so.1
Configuration
Name | Type, Usage Constraints, Defaults | Description |
---|---|---|
MaxSize | integer, default: 1000 | The maximum number of requests that the filter can observe at the same time. The filter will ignore all additional requests that also arrive at this time. |
Periodicity | integer, default: 1 sec | The time span in seconds for the periodical check of the requests. The default is 1 second, which means that the filter checks the requests every second. Note that a high value of the MaxSize parameter together with a low value of the Periodicity parameter may impact the performance negatively. |
NoticeTime | integer, default: 5 sec | Notice time in seconds. The filter will trace a notice, if the time that has elapsed after the reception of the request exceeds the time set in this parameter. |