public class DefaultAppMonitoringMetricsService extends Object implements AppMonitoringMetricsService
Modifier and Type | Field and Description |
---|---|
static List<String> |
APP_MONITORING_METRIC_NAMES
All metrics which are added to this array will be able to be filtered via the Monitoring UI.
|
static String |
ITA_DENY_DARK_FEATURE |
Constructor and Description |
---|
DefaultAppMonitoringMetricsService(FeatureManager featureManager) |
Modifier and Type | Method and Description |
---|---|
boolean |
isAppMonitoringEnabled() |
void |
onFeatureEvent(FeatureEvent featureEvent) |
void |
setAppMonitoringEnabled(boolean isEnabled)
Set App monitoring should be enabled
|
public static final List<String> APP_MONITORING_METRIC_NAMES
public static final String ITA_DENY_DARK_FEATURE
public DefaultAppMonitoringMetricsService(@Nonnull FeatureManager featureManager)
public void setAppMonitoringEnabled(boolean isEnabled)
AppMonitoringMetricsService
setAppMonitoringEnabled
in interface AppMonitoringMetricsService
isEnabled
- the desired application monitoring statepublic boolean isAppMonitoringEnabled()
isAppMonitoringEnabled
in interface AppMonitoringMetricsService
@EventListener public void onFeatureEvent(FeatureEvent featureEvent)
Copyright © 2002-2022 Atlassian. All Rights Reserved.
View cookie preferences