Package com.atlassian.jira.monitoring
Interface AppMonitoringMetricsService
- All Known Implementing Classes:
DefaultAppMonitoringMetricsService
@PublicApi
public interface AppMonitoringMetricsService
App (add-ons / plugins) metrics are newly added metrics which were introduced to Jira and various bundled apps to
help customers and us troubleshoot issues with third party apps. This service takes care of turning off this set of
metrics in e.g. the unlikely case they themselves cause performance issues.
The metrics are output via JMX and to a log file.
- Since:
- 9.1
-
Method Summary
Modifier and TypeMethodDescriptionbooleanvoidsetAppMonitoringEnabled(boolean isEnabled) Set App monitoring should be enabled.
-
Method Details
-
isAppMonitoringEnabled
boolean isAppMonitoringEnabled()- Returns:
- the current App monitoring state
-
setAppMonitoringEnabled
void setAppMonitoringEnabled(boolean isEnabled) Set App monitoring should be enabled. In the case of disabled JMX, it enables JMX as well.- Parameters:
isEnabled- the desired application monitoring state
-