Skip to main content
Version: 3.14.x.x LTS

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

NameType, Usage Constraints, DefaultsDescription
MaxSizeinteger, default: 1000The 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.
Periodicityinteger, default: 1 secThe 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.
NoticeTimeinteger, default: 5 secNotice 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.