public interface IndexSnapshotOperatorStats extends ManagedStats
Example: { "_statsName":"IndexSnapshotOperatorStats", "_statsType":"total", "_time":"2023-02-02T19:00:00.268Z", "_timestamp":1675364400268, "_duration":"PT2H46M28.21S", "_invocations":1, "_statsOverhead":"n/a", "numberOfCreationAttempts":{"count":1, "min":1, "max":1, "sum":1, "avg":1, "distributionCounter":{"1":1, "2":0, "5":0, "10":0, "20":0, "50":0, "100":0, "200":0}}, "numberOfSuccessfulAttempts":{"value":0}, "numberOfErrorAttempts":{"value":0}, "numberOfPollingAttempts":{"value":0}, "waitingTimeInSeconds":{"count":0, "min":0, "max":0, "sum":0, "avg":0, "distributionCounter":{"60":0, "120":0, "300":0, "600":0, "1800":0, "3600":0, "7200":0}}, "numberOfCreationAttemptsByThread":{}, "numberOfPollingAttemptsByThread":{} }
Modifier and Type | Interface and Description |
---|---|
static class |
IndexSnapshotOperatorStats.Data |
STATS_NAME_REGEX
Modifier and Type | Method and Description |
---|---|
void |
totalNumberOfCreationAttempts(int creationAttempts) |
void |
totalNumberOfErrorAttempts()
number of times snapshot creation was completed with error.
|
void |
totalNumberOfPollingAttempts(int pollingAttempts) |
void |
totalNumberOfSuccessfulAttempts()
number of times snapshot creation was completed with success.
|
void |
totalWaitingTimeInSeconds(long waitingTimeInSeconds) |
addJiraStatsListener, close, getMinInterval, getStatsName, getTotalMeasuredOperationsForStatsOverheadInMillis, removeJiraStatsListener
void totalNumberOfCreationAttempts(int creationAttempts)
creationAttempts
- number of times snapshot creation was attempted.void totalNumberOfSuccessfulAttempts()
void totalNumberOfErrorAttempts()
void totalNumberOfPollingAttempts(int pollingAttempts)
pollingAttempts
- number of times status of snapshot creation was polled to check if we can proceed with another creation attempt.void totalWaitingTimeInSeconds(long waitingTimeInSeconds)
waitingTimeInSeconds
- total time in seconds we were waiting for another process(es) to complete snapshot creation.Copyright © 2002-2023 Atlassian. All Rights Reserved.