Skip to content

Commit

Permalink
Add ability to filter metrics in DropwizardExports
Browse files Browse the repository at this point in the history
Code review fixes

Fix prometheus#573

Signed-off-by: Vasily Vasilkov <[email protected]>
  • Loading branch information
vgv committed Oct 14, 2020
1 parent caeb938 commit 708975e
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ public DropwizardExports(MetricRegistry registry) {
/**
* Creates a new DropwizardExports with a {@link DefaultSampleBuilder} and custom {@link MetricFilter}.
*
* @param registry a metric registry to export in prometheus.
* @param registry a metric registry to export in prometheus.
* @param metricFilter a custom metric filter.
*/
public DropwizardExports(MetricRegistry registry, MetricFilter metricFilter) {
Expand All @@ -66,7 +66,7 @@ public DropwizardExports(MetricRegistry registry, SampleBuilder sampleBuilder) {

/**
* @param registry a metric registry to export in prometheus.
* @param metricFilter a custom metric filter.
* @param metricFilter a custom metric filter.
* @param sampleBuilder sampleBuilder to use to create prometheus samples.
*/
public DropwizardExports(MetricRegistry registry, MetricFilter metricFilter, SampleBuilder sampleBuilder) {
Expand Down

0 comments on commit 708975e

Please sign in to comment.