hi *,

few days ago I opened [0] that is about adding JMX MBean for Sling Servlet 
Filter.
Now this is a fairly easy task. Before to dig into it though it would be nice 
to have some feedback of which are the statistic we should incorporate.
At the moment we also have a console plugin that looks like

Current Apache Sling Servlet Filter Configuration

Request Filters:
0 : class org.apache.sling.engine.impl.debug.RequestProgressTrackerLogFilter 
(id: 150, property: none); called: 14; time: 0ms; time/call: 0µs
0 : class org.apache.sling.launchpad.testservices.filters.SlingFilter (id: 298, 
property: none); called: 14; time: 1ms; time/call: 71µs
0 : class org.apache.sling.launchpad.testservices.filters.NoPropertyFilter (id: 
319, property: none); called: 14; time: 0ms; time/call: 0µs
0 : class 
org.apache.sling.launchpad.testservices.filters.SlingFilterWithPattern (id: 
320, property: none); called: 6; time: 1ms; time/call: 166µs
-700 : class org.apache.sling.i18n.impl.I18NFilter (id: 160, property: 
service.ranking=-700); called: 14; time: 0ms; time/call: 0µs

Error Filters:
-700 : class org.apache.sling.i18n.impl.I18NFilter (id: 160, property: 
service.ranking=-700); called: 2; time: 0ms; time/call: 0µs

Include Filters:

Forward Filters:

Component Filters:
This would be too much for a JMX MBean right :)?

WDYT?

regards

antonio

[0] https://issues.apache.org/jira/browse/SLING-4958

Reply via email to