blob: 610725073e51c8326407952c69dd0f19c952dbca (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
|
kamon {
metric {
tick-interval = 1 second
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 {
}
}
}
}
|