@Component public class DbLatencyLoggingService extends AbstractPerformanceDataLoggingService
Constructor and Description |
---|
DbLatencyLoggingService(FeatureManager featureManager) |
DbLatencyLoggingService(FeatureManager featureManager,
DatabaseLatencyMeter databaseLatencyMeter) |
Modifier and Type | Method and Description |
---|---|
protected String |
jsonLogMessage(String timestamp) |
protected void |
runOnce()
Runs one iteration of data logging including getting metrics and logging them.
|
protected void |
startUp() |
runOneIteration, scheduler, shutDown
@Autowired public DbLatencyLoggingService(FeatureManager featureManager)
public DbLatencyLoggingService(FeatureManager featureManager, DatabaseLatencyMeter databaseLatencyMeter)
protected void startUp()
startUp
in class AbstractPerformanceDataLoggingService
protected void runOnce()
AbstractPerformanceDataLoggingService
runOnce
in class AbstractPerformanceDataLoggingService
Copyright © 2002-2022 Atlassian. All Rights Reserved.