Class PrometheusMetricsServlet
Object
GenericServlet
HttpServlet
PrometheusMetricsServlet
- All Implemented Interfaces:
Servlet
,ServletConfig
,Serializable
Initial example exporter so that we can try the new metrics library out.
We'll add a Jakarta servlet, the built-in HTTPServer, etc. soon, and likely move common code into a common module.
- See Also:
-
Field Summary
Fields inherited from class HttpServlet
LEGACY_DO_HEAD
-
Constructor Summary
ConstructorDescriptionPrometheusMetricsServlet
(PrometheusProperties config, PrometheusRegistry registry) PrometheusMetricsServlet
(PrometheusRegistry registry) -
Method Summary
Methods inherited from class HttpServlet
init, service
Methods inherited from class GenericServlet
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, log, log
-
Constructor Details
-
PrometheusMetricsServlet
public PrometheusMetricsServlet() -
PrometheusMetricsServlet
-
PrometheusMetricsServlet
-
PrometheusMetricsServlet
-