Plugin registering a Filter that encompass the HTTP authentication requests?

11 views
Skip to first unread message

Cyrille Le Clerc

unread,
Mar 21, 2022, 12:25:11 PM3/21/22
to Jenkins Developers
Dear community,

The Jenkins OpenTelemetry Plugin is now instrumenting the Jenkins Controller HTTP Requests to help monitor and troubleshoot performance problems (see code here).

We register our servlet using the `PluginServletFilter#addFilter(filter)` API but it unfortunately hooks the register filter after the `hudson.security.HudsonFilter` so we can't instrument the security request reducing both troubleshooting and auditing benefits.

Is there a way for a plugin to hook a servlet filter that would also encompass the `hudson.security.HudsonFilter`?

Cyrille
Reply all
Reply to author
Forward
0 new messages