Steven Huypens created FELIX-6789:
-------------------------------------
Summary: Jetty Connection stats not available through JMX
Key: FELIX-6789
URL: https://issues.apache.org/jira/browse/FELIX-6789
Project: Felix
Issue Type: Bug
Components: HTTP Service
Affects Versions: http.jetty-5.1.34
Reporter: Steven Huypens
*Summary:*
Jetty Connection Statistics (org.eclipse.jetty.io) not exposed via JMX.
*Description:*
The Jetty {{ConnectionStatistics}} (from {{{}org.eclipse.jetty.io{}}}) are
currently not exposed via JMX, even though they appear to be added in the code
when MBeans are registered:
However, these statistics only become available through JMX when I also
explicitly add the {{ConnectionStatistics}} bean to the
{{{}ServletContextHandler{}}}.
This suggests that the statistics bean is not being properly registered or
exposed unless manually added to the context. It seems like a straightforward
fix that could make valuable connection metrics more readily accessible via JMX.
*Expected Behavior:*
{{ConnectionStatistics}} should be available via JMX when MBeans are enabled.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)