diff options
author | Ivan Topolnjak <ivantopo@gmail.com> | 2017-06-11 18:11:38 +0200 |
---|---|---|
committer | Ivan Topolnjak <ivantopo@gmail.com> | 2017-06-11 18:11:38 +0200 |
commit | c1553381e74b5ffaee1598fce8b3b5458d039b2b (patch) | |
tree | 1aa88c9d92674db687df7ed05ac29ae5e64bdb23 /kamon-core/src/main/resources | |
parent | e9d2636be0a75bffacf0e48fc1b26d54207b18e7 (diff) | |
download | Kamon-c1553381e74b5ffaee1598fce8b3b5458d039b2b.tar.gz Kamon-c1553381e74b5ffaee1598fce8b3b5458d039b2b.tar.bz2 Kamon-c1553381e74b5ffaee1598fce8b3b5458d039b2b.zip |
implement loading reporters from configuration
Diffstat (limited to 'kamon-core/src/main/resources')
-rw-r--r-- | kamon-core/src/main/resources/reference.conf | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/kamon-core/src/main/resources/reference.conf b/kamon-core/src/main/resources/reference.conf index 80da12a5..51a89a9e 100644 --- a/kamon-core/src/main/resources/reference.conf +++ b/kamon-core/src/main/resources/reference.conf @@ -12,9 +12,10 @@ kamon { instance = "auto" } - # FQCN of the reporter instances that should be loaded when calling `Kamon.reporters.loadFromConfig()`. + # FQCN of the reporter instances that should be loaded when calling `Kamon.reporters.loadFromConfig()`. All reporter + # classes must # Example: `reporters = ["kamon.statsd.StatsD", "kamon.zipkin.Zipkin"]`. - reporters = [] + reporters = [ ] metric { tick-interval = 60 seconds @@ -84,8 +85,12 @@ kamon { trace { + # Interval at which sampled finished spans will be flushed to SpanReporters. tick-interval = 10 seconds + # Size of the internal queue where sampled spans will stay until they get flushed. If the queue becomes full then + # sampled finished spans will be dropped in order to avoid consuming excessive amounts of memory. Each configured + # reporter has a separate queue. reporter-queue-size = 1024 |