INT-4034: Channel Metrics Javadocs
JIRA: https://jira.spring.io/browse/INT-4034 Incorrectly showed time since last send was seconds instead of milliseconds.
This commit is contained in:
committed by
Artem Bilan
parent
8f89535329
commit
954e93ebb6
@@ -182,7 +182,7 @@ public class ExponentialMovingAverageRate {
|
||||
}
|
||||
|
||||
/**
|
||||
* @return the time in seconds since the last measurement
|
||||
* @return the time in milliseconds since the last measurement
|
||||
*/
|
||||
public double getTimeSinceLastMeasurement() {
|
||||
double t0 = lastTime();
|
||||
|
||||
@@ -56,9 +56,9 @@ public interface MessageChannelMetrics extends IntegrationStatsManagement {
|
||||
long getSendErrorCountLong();
|
||||
|
||||
/**
|
||||
* @return the time in seconds since the last send
|
||||
* @return the time in milliseconds since the last send
|
||||
*/
|
||||
@ManagedMetric(metricType = MetricType.GAUGE, displayName = "Channel Time Since Last Send in Seconds")
|
||||
@ManagedMetric(metricType = MetricType.GAUGE, displayName = "Channel Time Since Last Send in Milliseconds")
|
||||
double getTimeSinceLastSend();
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user