Improved log message about metrics too old to be used
This commit is contained in:
parent
506a765889
commit
bad27cf318
@ -174,8 +174,8 @@ public class MetricAggregationBolt extends BaseRichBolt {
|
||||
LOG.trace("Aggregated value {} at {} for {}. Updated {}", metric.value, metric.timestamp,
|
||||
metricDefinitionAndTenantId, stats.getStats());
|
||||
else
|
||||
LOG.warn("Invalid metric timestamp {} for {}, {}", metric.timestamp, metricDefinitionAndTenantId,
|
||||
stats.getStats());
|
||||
LOG.warn("Metric is too old, age {} seconds: timestamp {} for {}, {}", currentTimeSeconds() - metric.timestamp,
|
||||
metric.timestamp, metricDefinitionAndTenantId, stats.getStats());
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user