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
libNPDebugFilters.so.1
Configuration
MaxSize
- Type: Integer
- Usage Constraint: optional
- 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
- Type: Integer
- Usage Constraint: optional
- Default:
1
- 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 theMaxSize
parameter together with a low value of thePeriodicity
parameter may impact the performance negatively.
NoticeTime
- Type: Integer
- Usage Constraint: optional
- Default:
5
- 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.