![JAR search and dependency download from the Maven repository](/logo.png)
n-system-metrics_akka-2.2_2.10.0.4.0.source-code.reference.conf Maven / Gradle / Ivy
The newest version!
# ============================================ #
# Kamon-System-Metrics Reference Configuration #
# ============================================ #
kamon {
system-metrics {
# Sigar provisioner native library extract location. Use per-application-instance scoped location, such as program
# working directory.
sigar-native-folder = ${user.dir}"/native"
# Frequency with which all Sigar-based metrics will be updated. Setting this value to less than 1 second
# might cause some Sigar metrics to behave incorrectly.
sigar-metrics-refresh-interval = 1 second
# Frequency with which context-switches metrics will be updated.
context-switches-refresh-interval = 1 second
# Dispatcher to be used by the SigarMetricsUpdater actor.
sigar-dispatcher {
executor = "thread-pool-executor"
type = PinnedDispatcher
}
# Dispatcher to be used by the ContextSwitchesUpdater actor.
context-switches-dispatcher {
executor = "thread-pool-executor"
type = PinnedDispatcher
}
}
metrics.instrument-settings {
system-metric {
#
# CPU
#
cpu-user {
highest-trackable-value = 100
}
cpu-system = ${kamon.metrics.instrument-settings.system-metric.cpu-user}
cpu-wait = ${kamon.metrics.instrument-settings.system-metric.cpu-user}
cpu-idle = ${kamon.metrics.instrument-settings.system-metric.cpu-user}
cpu-stolen = ${kamon.metrics.instrument-settings.system-metric.cpu-user}
#
# Process CPU
#
process-user-cpu = ${kamon.metrics.instrument-settings.system-metric.cpu-user}
process-system-cpu = ${kamon.metrics.instrument-settings.system-metric.cpu-user}
process-cpu = ${kamon.metrics.instrument-settings.system-metric.cpu-user}
#
# Garbage Collection
#
garbage-collection-count {
highest-trackable-value = 1000000
refresh-interval = 1 second
}
garbage-collection-time {
highest-trackable-value = 3600000
refresh-interval = 1 second
}
#
# Heap Memory
#
heap-used {
# 50 GB, which is way too much for a non-Zing JVM
highest-trackable-value = 5368709120
refresh-interval = 1 second
}
heap-max = ${kamon.metrics.instrument-settings.system-metric.heap-used}
heap-committed = ${kamon.metrics.instrument-settings.system-metric.heap-used}
#
# Non-Heap Memory
#
non-heap-used {
highest-trackable-value = 5368709120
refresh-interval = 1 second
}
non-heap-max = ${kamon.metrics.instrument-settings.system-metric.non-heap-used}
non-heap-committed = ${kamon.metrics.instrument-settings.system-metric.non-heap-used}
#
# JVM Threads
#
thread-count {
highest-trackable-value = 10000
refresh-interval = 1 second
}
daemon-thread-count = ${kamon.metrics.instrument-settings.system-metric.thread-count}
peak-thread-count = ${kamon.metrics.instrument-settings.system-metric.thread-count}
#
# Class Loading
#
classes-loaded {
highest-trackable-value = 10000000
refresh-interval = 1 second
}
classes-unloaded = ${kamon.metrics.instrument-settings.system-metric.classes-loaded}
classes-currently-loaded = ${kamon.metrics.instrument-settings.system-metric.classes-loaded}
#
# File System
#
file-system-reads {
highest-trackable-value = 107374182400
}
file-system-writes = ${kamon.metrics.instrument-settings.system-metric.file-system-reads}
#
# Load Average
#
one-minute {
highest-trackable-value = 10000
}
five-minutes = ${kamon.metrics.instrument-settings.system-metric.one-minute}
fifteen-minutes = ${kamon.metrics.instrument-settings.system-metric.one-minute}
#
# System Memory
#
memory-used {
highest-trackable-value = 5368709120
}
memory-free = ${kamon.metrics.instrument-settings.system-metric.memory-used}
swap-free = ${kamon.metrics.instrument-settings.system-metric.memory-used}
swap-used = ${kamon.metrics.instrument-settings.system-metric.memory-used}
#
# Network
#
tx-bytes {
highest-trackable-value = 107374182400
}
rx-bytes = ${kamon.metrics.instrument-settings.system-metric.tx-bytes}
tx-errors {
highest-trackable-value = 10000000
}
rx-errors = ${kamon.metrics.instrument-settings.system-metric.tx-errors}
tx-dropped = ${kamon.metrics.instrument-settings.system-metric.tx-errors}
rx-dropped = ${kamon.metrics.instrument-settings.system-metric.tx-errors}
#
# Context Switches
#
context-switches-process-voluntary {
highest-trackable-value = 10000000
}
context-switches-process-non-voluntary = ${kamon.metrics.instrument-settings.system-metric.context-switches-process-voluntary}
context-switches-global = ${kamon.metrics.instrument-settings.system-metric.context-switches-process-voluntary}
}
}
modules {
kamon-system-metrics {
auto-start = yes
requires-aspectj = no
extension-id = "kamon.system.SystemMetrics"
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy