Interface ConfluenceMonitoring
- All Known Implementing Classes:
- AtlassianInstrumentationConfluenceMonitoring
@Internal
@ParametersAreNonnullByDefault
public interface ConfluenceMonitoring
- 
Method SummaryModifier and TypeMethodDescriptiondefault @NonNull StringcreateName(String name, String... optional) Creates a legal name from the supplied mandatory suggestion, and optional extra parts.default @NonNull CounterfetchCounter(String name) Fetches the counter associated with the supplied name details.@NonNull CounterfetchCounter(String name, String... optional) Deprecated.@NonNull CounterfetchCounter(String name, Map<String, String> tags) Fetches the counter associated with the supplied name details.default @NonNull SplitstartSplit(String name) Creates and starts a split timer associated with the supplied name details.@NonNull SplitstartSplit(String name, String... optional) Deprecated.since 7.1 UsestartSplit(String, Map)@NonNull SplitstartSplit(String name, Map<String, String> tags) Creates and starts a split timer associated with the supplied name details.
- 
Method Details- 
fetchCounterDeprecated.since 7.1 UsefetchCounter(String, Map)Fetches the counter associated with the supplied name details. The name is constructed callingcreateName(String, String...).- Parameters:
- name- the mandatory suggested name
- optional- the optional parts to concatenate with the- mandatorysuggestion
- Returns:
- the counter associated with the name.
 
- 
fetchCounterFetches the counter associated with the supplied name details.- Parameters:
- name- the mandatory suggested name
- Returns:
- the counter associated with the name.
- Since:
- 7.1
 
- 
fetchCounterFetches the counter associated with the supplied name details.- Parameters:
- name- the mandatory suggested name
- tags- the name-value tags to apply
- Returns:
- the counter associated with the name.
- Since:
- 7.1
 
- 
startSplitDeprecated.since 7.1 UsestartSplit(String, Map)Creates and starts a split timer associated with the supplied name details. The name is constructed callingcreateName(String, String...).The typical usage is: try (Split split = instance.startSplit("name")) { // code to execute }- Parameters:
- name- the mandatory suggested name
- optional- the optional parts to concatenate with the- mandatorysuggestion
- Returns:
- the running split timer
 
- 
startSplitCreates and starts a split timer associated with the supplied name details.The typical usage is: try (Split split = instance.startSplit("name")) { // code to execute }- Parameters:
- name- the mandatory suggested name
- Returns:
- the running split timer
- Since:
- 7.1
 
- 
startSplitCreates and starts a split timer associated with the supplied name details.The typical usage is: try (Split split = instance.startSplit("name", singletonMap("tagname", "tagvalue"))) { // code to execute }- Parameters:
- name- the mandatory suggested name
- tags- the name-value tags to apply
- Returns:
- the running split timer
- Since:
- 7.1
 
- 
createNameCreates a legal name from the supplied mandatory suggestion, and optional extra parts.- Parameters:
- name- the mandatory suggested name
- optional- the optional parts to concatenate with the- mandatorysuggestion
- Returns:
- a legal name based on the inputs
 
 
- 
fetchCounter(String, Map)