Skip to content

Instantly share code, notes, and snippets.

@sammyrulez
Created August 27, 2015 13:59
Show Gist options
  • Save sammyrulez/70385559f39c4d7ea560 to your computer and use it in GitHub Desktop.
Save sammyrulez/70385559f39c4d7ea560 to your computer and use it in GitHub Desktop.
kamon config
akka {
loglevel = INFO
}
# Kamon Metrics
# ~~~~~~~~~~~~~~
kamon {
metric {
filters = [
{
actor {
includes = [ "user/*", "user/worker-*" ]
excludes = [ "system/*" ]
}
},
{
trace {
includes = [ "**" ]
excludes = []
}
}
]
}
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
statsd {
# Hostname and port in which your StatsD is running. Remember that StatsD packets are sent using UDP and
# setting unreachable hosts and/or not open ports wont be warned by the Kamon, your data wont go anywhere.
hostname = "192.168.29.126"
port = 8125
subscriptions {
histogram = [ "**" ]
min-max-counter = [ "**" ]
gauge = [ "**" ]
counter = [ "**" ]
trace = [ "**" ]
trace-segment = [ "**" ]
akka-actor = [ "**" ]
akka-dispatcher = [ "**" ]
akka-router = [ "**" ]
system-metric = [ "**" ]
http-server = [ "**" ]
}
simple-metric-key-generator {
# Application prefix for all metrics pushed to StatsD. The default namespacing scheme for metrics follows
# this pattern:
# application.host.entity.entity-name.metric-name
application = "yourapp"
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment