mirror of
https://github.com/spring-projects/spring-boot.git
synced 2024-09-03 04:26:12 +08:00
Drop min/max DataSourcePool metrics
This commit is contained in:
parent
a98c7613bf
commit
57a154520e
@ -78,8 +78,6 @@ public class DataSourcePublicMetrics implements PublicMetrics {
|
||||
String prefix = entry.getKey();
|
||||
prefix = (prefix.endsWith(".") ? prefix : prefix + ".");
|
||||
DataSourcePoolMetadata metadata = entry.getValue();
|
||||
addMetric(metrics, prefix + "max", metadata.getMax());
|
||||
addMetric(metrics, prefix + "min", metadata.getMin());
|
||||
addMetric(metrics, prefix + "active", metadata.getActive());
|
||||
addMetric(metrics, prefix + "usage", metadata.getUsage());
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user