aboutsummaryrefslogtreecommitdiff
path: root/kamon-core/src/main/resources/reference.conf
diff options
context:
space:
mode:
authorIvan Topolnjak <ivantopo@gmail.com>2017-04-24 14:10:46 +0200
committerIvan Topolnjak <ivantopo@gmail.com>2017-04-24 14:17:10 +0200
commitbbd52dcca66caa3cbd78478a1d075ff54da4f65a (patch)
treed121b293a21a14e5d4d19946b44e6008257f8db3 /kamon-core/src/main/resources/reference.conf
parent4d828e1a3195e55365c865aa3a78af9668742643 (diff)
downloadKamon-bbd52dcca66caa3cbd78478a1d075ff54da4f65a.tar.gz
Kamon-bbd52dcca66caa3cbd78478a1d075ff54da4f65a.tar.bz2
Kamon-bbd52dcca66caa3cbd78478a1d075ff54da4f65a.zip
bring the new skeleton into place
Diffstat (limited to 'kamon-core/src/main/resources/reference.conf')
-rw-r--r--kamon-core/src/main/resources/reference.conf54
1 files changed, 54 insertions, 0 deletions
diff --git a/kamon-core/src/main/resources/reference.conf b/kamon-core/src/main/resources/reference.conf
new file mode 100644
index 00000000..9de2247b
--- /dev/null
+++ b/kamon-core/src/main/resources/reference.conf
@@ -0,0 +1,54 @@
+kamon {
+ metric {
+
+
+ instrument-factory {
+
+ # Default instrument settings for histograms and min max counters. The actual settings to be used when creating
+ # instruments is determined by merging the default settings, code settings and custom-settings using the following
+ # priorities (top wins):
+ #
+ # - any setting in the `custom-settings` section for the given category/instrument.
+ # - code settings provided when creating the instrument.
+ # - `default-settings` bellow.
+ #
+ default-settings {
+ histogram {
+ lowest-discernible-value = 0
+ highest-trackable-value = 3600000000000
+ significant-value-digits = 2
+ }
+
+ min-max-counter {
+ lowest-discernible-value = 0
+ highest-trackable-value = 3600000000000
+ significant-value-digits = 2
+ sample-interval = 200 millis
+ }
+ }
+
+ # Custom settings for instruments of a given category. The settings provided in this section override the default
+ # and manually provided settings when creating instruments. All settings are optional in this section and default
+ # values from the `kamon.metric.instrument-factory.default-settings` will be used in case of any setting being
+ # missing.
+ #
+ # Example:
+ # If you wish to change the highest trackable value setting of the `elapsed-time` instrument in the `span`
+ # category, you should include the following configuration in your application.conf file:
+ #
+ # kamon.metric.instrument-factory.custom-settings.span {
+ # elapsed-time {
+ # highest-trackable-value = 5000
+ # }
+ # }
+ #
+ # After including that configuration, every time a new histogram called `elapsed-time` for a entity with category
+ # `span`, the highest-trackable-value will be 5000, but lowest-discernible-value and significant-value-digits will
+ # remain with default values.
+ #
+ custom-settings {
+
+ }
+ }
+ }
+} \ No newline at end of file