Skip to content

Instantly share code, notes, and snippets.

@helena
Last active December 13, 2015 21:29
Show Gist options
  • Save helena/4977783 to your computer and use it in GitHub Desktop.
Save helena/4977783 to your computer and use it in GitHub Desktop.
akka {
cluster {
metrics {
# Enable or disable metrics collector for load-balancing nodes.
enabled = on
# FQCN of the metrics collector implementation.
# It must implement akka.cluster.cluster.MetricsCollector and
# have public constructor with akka.actor.ActorSystem parameter.
# The default SigarMetricsCollector uses JMX and Hyperic SIGAR,
# if SIGAR is on the classpath, otherwise only JMX.
collector-class = com.your.MetricsCollector
# How often metrics are sampled on a node.
# Shorter interval will collect the metrics more often.
collect-interval = 3s
# How often a node publishes metrics information.
gossip-interval = 3s
# How quickly the exponential weighting of past data is decayed
# compared to new data. Set lower to increase the bias toward
# newer values.
moving-average-half-life = 12s
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment