mirror of
https://github.com/spring-projects/spring-boot.git
synced 2024-09-03 03:13:21 +08:00
Add send count to Integration metrics
Fixed gh-3364
This commit is contained in:
parent
94e41b4190
commit
7ceb7ce6f6
@ -55,6 +55,8 @@ public class SpringIntegrationMetricReader implements MetricReader {
|
||||
String prefix = "integration.channel." + name;
|
||||
metrics.addAll(getStatistics(prefix + ".errorRate",
|
||||
exporter.getChannelErrorRate(name)));
|
||||
metrics.add(new Metric<Integer>(prefix + ".sendCount", exporter
|
||||
.getChannelSendCount(name)));
|
||||
metrics.addAll(getStatistics(prefix + ".sendRate",
|
||||
exporter.getChannelSendRate(name)));
|
||||
metrics.add(new Metric<Long>(prefix + ".receiveCount", exporter
|
||||
|
Loading…
Reference in New Issue
Block a user