Kamon Netty
Getting Started
The kamon-netty
module ships with bytecode instrumentation that brings automatic traces and metrics to your
Netty based applications and libraries.
The kamon-netty module requires you to start your application using the AspectJ Weaver Agent. Kamon will warn you
at startup if you failed to do so.
Kamon Netty is currently available for Scala 2.11 and 2.12.
Supported releases and dependencies are shown below., kamon, status, jdk, scala, :------:, :------:, :----:, ------------------, 1.0.0, experimental, 1.8+, 2.11, 2.12
To get started with SBT, simply add the following to your build.sbt
or pom.xml
file:
libraryDependencies += "io.kamon" %% "kamon-netty" % "1.0.0"
<dependency>
<groupId>io.kamon</groupId>
<artifactId>kamon-netty_2.12</artifactId>
<version>1.0.0</version>
</dependency>
Documentation
Event Loop Metrics
The metrics that you will get for an EventLoop are:
- registered-channels: The number of registered Channels.
- task-processing-time: A histogram that tracks the nanoseconds the last processing of all tasks took.
- task-queue-size: The number of tasks that are pending for processing.
- task-waiting-time: A histogram that tracks the waiting time in the queue.