Class MicrometerMetrics

java.lang.Object
com.atlassian.jira.instrumentation.MicrometerMetrics
All Implemented Interfaces:
Startable

public class MicrometerMetrics extends Object implements Startable
Provides Micrometer Metrics integration for Jira. Creates a metrics registry, integrates it with atlassian-profiling and makes it available over JMX.
Since:
8.21
  • Field Details

  • Constructor Details

    • MicrometerMetrics

      @Autowired public MicrometerMetrics(JmxMetricsExposer jmxMetricsExposer, com.atlassian.event.api.EventPublisher eventPublisher)
  • Method Details

    • start

      public void start() throws Exception
      Description copied from interface: Startable
      This method will be called after the plugin system is fully initialised and all components added to the dependency injection framework.
      Specified by:
      start in interface Startable
      Throws:
      Exception - Allows implementations to throw an Exception.
    • stop

      @PreDestroy public void stop()
    • onComponentManagerShutdownEvent

      @EventListener public void onComponentManagerShutdownEvent(ComponentManagerShutdownEvent event)
    • onJmxMetricsEvent

      @EventListener public void onJmxMetricsEvent(JmxConfigurationChangedEvent event)