diff options
author | Ivan Topolnjak <ivantopo@gmail.com> | 2017-06-14 15:01:35 +0200 |
---|---|---|
committer | Ivan Topolnjak <ivantopo@gmail.com> | 2017-06-14 15:01:35 +0200 |
commit | 856993f1adbab9a413e2c66b468699257557903f (patch) | |
tree | 9532f5dda9cc2fc899f88318ad4b9554b3a15627 /kamon-core/src/main/resources | |
parent | 8e6c6737f97314d1cacf6d6ad50a984ad21438ca (diff) | |
download | Kamon-856993f1adbab9a413e2c66b468699257557903f.tar.gz Kamon-856993f1adbab9a413e2c66b468699257557903f.tar.bz2 Kamon-856993f1adbab9a413e2c66b468699257557903f.zip |
move filters to util package, expose them from Kamon
Diffstat (limited to 'kamon-core/src/main/resources')
-rw-r--r-- | kamon-core/src/main/resources/reference.conf | 28 |
1 files changed, 15 insertions, 13 deletions
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 |