Package com.atlassian.util.profiling
Class ProfilingConstants
java.lang.Object
com.atlassian.util.profiling.ProfilingConstants
- Since:
- 3.0
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringSystem property that controls whether this memory usage details should be included in profiling or not.static final StringSystem property that specifies by default whether metrics should be used or not.static final StringSystem property that specifies by default whether this timer should be used or not.static final StringDefault value that is used ifACTIVATE_MEMORY_PROPERTYis not set.static final StringDefault value that is used ifACTIVATE_METRICS_PROPERTYis not set.static final StringDefault value that is used ifACTIVATE_PROPERTYis not set.static final intDefault value that is used ifMAX_FRAME_COUNTis not set.static final intDefault value that is used ifMAX_FRAME_LENGTHis not set.static final intDefault value that is used ifMIN_TIMEis not set.static final intDefault value that is used ifMIN_TOTAL_TIMEis not set.static final StringSystem property that controls the default maximum number of timer frames that can be reported per timer stack.static final StringSystem property that controls the default maximum length of timer frame names.static final StringSystem property that controls the default threshold time (in milliseconds) below which a profiled event should not be reported.static final StringSystem property that controls the default threshold time (in milliseconds) below which an entire stack of profiled events should not be reported.static final StringSystem property prefix for optional tags to be enabled. -
Method Summary
-
Field Details
-
OPTIONAL_TAG_PROPERTY_PREFIX
System property prefix for optional tags to be enabled. The value is a comma delimited list of optional tags to be enabled.Usage:
The above system property will enable `url` & `location` optional tags on the condition metricatlassian.metrics.optional.tags.condition=url,location- See Also:
-
ACTIVATE_MEMORY_PROPERTY
System property that controls whether this memory usage details should be included in profiling or not. Set to "true" to activate. Set to "false" to deactivate.- See Also:
-
ACTIVATE_METRICS_PROPERTY
System property that specifies by default whether metrics should be used or not. Set to "true" activates the timer. Set to "false" to deactivate.- See Also:
-
ACTIVATE_PROPERTY
System property that specifies by default whether this timer should be used or not. Set to "true" activates the timer. Set to "false" to deactivate.- See Also:
-
DEFAULT_ACTIVATE_PROPERTY
Default value that is used ifACTIVATE_PROPERTYis not set.- See Also:
-
DEFAULT_ACTIVATE_METRICS_PROPERTY
Default value that is used ifACTIVATE_METRICS_PROPERTYis not set.- See Also:
-
DEFAULT_ACTIVATE_MEMORY_PROPERTY
Default value that is used ifACTIVATE_MEMORY_PROPERTYis not set.- See Also:
-
DEFAULT_MAX_FRAME_COUNT
public static final int DEFAULT_MAX_FRAME_COUNTDefault value that is used ifMAX_FRAME_COUNTis not set.- See Also:
-
DEFAULT_MAX_FRAME_LENGTH
public static final int DEFAULT_MAX_FRAME_LENGTHDefault value that is used ifMAX_FRAME_LENGTHis not set.- See Also:
-
DEFAULT_MIN_TIME
public static final int DEFAULT_MIN_TIMEDefault value that is used ifMIN_TIMEis not set.- See Also:
-
DEFAULT_MIN_TOTAL_TIME
public static final int DEFAULT_MIN_TOTAL_TIMEDefault value that is used ifMIN_TOTAL_TIMEis not set.- See Also:
-
MAX_FRAME_COUNT
System property that controls the default maximum number of timer frames that can be reported per timer stack.- See Also:
-
MAX_FRAME_LENGTH
System property that controls the default maximum length of timer frame names.- See Also:
-
MIN_TIME
System property that controls the default threshold time (in milliseconds) below which a profiled event should not be reported.- See Also:
-
MIN_TOTAL_TIME
System property that controls the default threshold time (in milliseconds) below which an entire stack of profiled events should not be reported.- See Also:
-