Class MicrometerSetup
java.lang.Object
com.vaadin.observability.tests.micrometer.MicrometerSetup
- All Implemented Interfaces:
jakarta.servlet.ServletContextListener,EventListener
@WebListener
public class MicrometerSetup
extends Object
implements jakarta.servlet.ServletContextListener
Boots observability-kit-micrometer at servlet-context startup so the
SPI-loaded
MetricsServiceInitListener can pick up the registry when
Vaadin's service initializes.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcontextInitialized(jakarta.servlet.ServletContextEvent sce) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface jakarta.servlet.ServletContextListener
contextDestroyed
-
Constructor Details
-
MicrometerSetup
public MicrometerSetup()
-
-
Method Details
-
contextInitialized
public void contextInitialized(jakarta.servlet.ServletContextEvent sce) - Specified by:
contextInitializedin interfacejakarta.servlet.ServletContextListener
-