Skip to content

Commit

Permalink
Minor refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
jtduffy committed Jun 28, 2024
1 parent 262bbbc commit 03fa992
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,6 @@ public void run() {
MetricAggregator metricAggregator = NewRelic.getAgent().getMetricAggregator();
metricAggregator.recordMetric(baseName + "Busy Count[connections]", hikariPool.getActiveConnections());
metricAggregator.recordMetric(baseName + "Idle Count[connections]", hikariPool.getIdleConnections());
NewRelic.getAgent().getMetricAggregator().recordMetric(baseName + "Max Pool Size[connections]", config.getMaximumPoolSize());
metricAggregator.recordMetric(baseName + "Max Pool Size[connections]", config.getMaximumPoolSize());
}
}

0 comments on commit 03fa992

Please sign in to comment.