From 856993f1adbab9a413e2c66b468699257557903f Mon Sep 17 00:00:00 2001 From: Ivan Topolnjak Date: Wed, 14 Jun 2017 15:01:35 +0200 Subject: move filters to util package, expose them from Kamon --- kamon-core/src/main/resources/reference.conf | 28 +++++++++++++++------------- 1 file changed, 15 insertions(+), 13 deletions(-) (limited to 'kamon-core/src/main/resources/reference.conf') diff --git a/kamon-core/src/main/resources/reference.conf b/kamon-core/src/main/resources/reference.conf index 51a89a9e..125a1075 100644 --- a/kamon-core/src/main/resources/reference.conf +++ b/kamon-core/src/main/resources/reference.conf @@ -20,19 +20,6 @@ kamon { metric { tick-interval = 60 seconds - filters { - - # Determines whether entities from a category that doesn't have any filtering configuration should be tracked or - # not. E.g. If there are no filter sections for the "jdbc-datasource" category and `accept-unmatched-categories` - # is set to true, all entities for that category will be accepted, otherwise all will be rejected. - # - # NOTE: Using entity filters is a commodity for modules that might potentially track thousands of unnecessary - # entities, but not all modules are required to use filters, check the your module's documentation to - # determine whether setting up filters make sense or not. - accept-unmatched = true - - } - # Thread pool size used by the metrics refresh scheduler. This pool is only used to periodically sampling # min-max-counter values. refresh-scheduler-pool-size = 2 @@ -110,4 +97,19 @@ kamon { chance = 0.01 } } + + util { + filters { + + # Determines whether entities from a category that doesn't have any filtering configuration should be tracked or + # not. E.g. If there are no filter sections for the "jdbc-datasource" category and `accept-unmatched-categories` + # is set to true, all entities for that category will be accepted, otherwise all will be rejected. + # + # NOTE: Using entity filters is a commodity for modules that might potentially track thousands of unnecessary + # entities, but not all modules are required to use filters, check the your module's documentation to + # determine whether setting up filters make sense or not. + accept-unmatched = true + + } + } } \ No newline at end of file -- cgit v1.2.3