Skip to content

Commit

Permalink
Add non-public constructor for PrometheusCollector
Browse files Browse the repository at this point in the history
Signed-off-by: Mickael Maison <[email protected]>
  • Loading branch information
mimaison committed Sep 20, 2024
1 parent c8be580 commit 79dd195
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,8 @@ public class PrometheusCollector implements MultiCollector {
private final Map<MetricName, MetricWrapper> kafkaMetrics = new ConcurrentHashMap<>();
private final Map<com.yammer.metrics.core.MetricName, MetricWrapper> yammerMetrics = new ConcurrentHashMap<>();

/* test */ PrometheusCollector() { }

/**
* Add a Kafka metric to be collected.
*
Expand Down

0 comments on commit 79dd195

Please sign in to comment.