diff options
author | Shingo Omura <everpeace@gmail.com> | 2015-10-03 22:32:09 +0900 |
---|---|---|
committer | Shingo Omura <everpeace@gmail.com> | 2015-10-25 18:32:24 +0900 |
commit | 30ac538a0c859739f0fb038896ce6dde8a2d11a2 (patch) | |
tree | 051ccb17a2d4d94b71175e865faf11e81013e615 /kamon-fluentd/src/main/resources/reference.conf | |
parent | f3eefdb687358401965fdd793c3a68507e27aa12 (diff) | |
download | Kamon-30ac538a0c859739f0fb038896ce6dde8a2d11a2.tar.gz Kamon-30ac538a0c859739f0fb038896ce6dde8a2d11a2.tar.bz2 Kamon-30ac538a0c859739f0fb038896ce6dde8a2d11a2.zip |
+ add Fluentd module
- introduced kamon-fluentd module.
- added kamon-fluentd-example project, which can report various metrics to stdoutputs via fluentd.
Diffstat (limited to 'kamon-fluentd/src/main/resources/reference.conf')
-rw-r--r-- | kamon-fluentd/src/main/resources/reference.conf | 59 |
1 files changed, 59 insertions, 0 deletions
diff --git a/kamon-fluentd/src/main/resources/reference.conf b/kamon-fluentd/src/main/resources/reference.conf new file mode 100644 index 00000000..7490cb44 --- /dev/null +++ b/kamon-fluentd/src/main/resources/reference.conf @@ -0,0 +1,59 @@ +# ===================================== # +# Kamon-Fluentd Reference Configuration # +# ===================================== # + +kamon { + fluentd { + # Hostname and port of fluentd server to which kamon fluentd sends metrics. + hostname = "localhost" + port = 24224 + + # tag prefix of metrics data which is sent to fluentd server + tag = "kamon.fluentd" + + # Interval between metrics data flushes to fluentd server. + # It's value must be equal or greater than the kamon.metric.tick-interval setting. + flush-interval = 10 seconds + + # Your app name + application-name = "my-app" + + # Subscription patterns used to select which metrics will be pushed to Fluentd. Note that first, metrics + # collection for your desired entities must be activated under the kamon.metrics.filters settings. + subscriptions { + histogram = [ "**" ] + min-max-counter = [ "**" ] + gauge = [ "**" ] + counter = [ "**" ] + trace = [ "**" ] + trace-segment = [ "**" ] + akka-actor = [ "**" ] + akka-dispatcher = [ "**" ] + akka-router = [ "**" ] + system-metric = [ "**" ] + http-server = [ "**" ] + } + + # statistic values to be reported for histogram type metrics + # (i.e. Histogram, MinMaxCounter, Gauge). + histogram-stats { + # stats values: + # "count", "min", "max", "average", "percentiles" are supported. + # you can use "*" for wildcards. + subscription = [ "count", "min", "max", "average", "percentiles" ], + + # percentile points: + # this will be used when you set "percentiles" in "subscription" above. + # In this example, kamon-fluentd reports 50th 90th, 99th and 99.9th percentiles. + percentiles = [50.0, 90.0, 99.0, 99.9] + } + } + + modules { + kamon-fluentd { + auto-start = yes + requires-aspectj = no + extension-id = "kamon.fluentd.Fluentd" + } + } +} |