Overview
Kindling-java
is an attach agent to collect Java CPU / LOCK for probe which relies on async-profiler
. Besides it also collect traceid generated by SkyWalking agent.
Features
- [Event] Collect datas by events specified by event argument[
cpu/lock/traceid]. - [Plugins] Enhance SkyWalking Agent and print traceId into
/dev/null.
How it works
- Jattach copy the
agent jarandlibasyncprofiler.sointo container. - Jattach attach agent into application.
- Agent start asyncProfiler by call asyncProfielr API.
- Load libasyncprofiler.so
- Execute star``t/stop command
- Execute print to collect CPU data at fixed rate
- Agent enhance Skywalking agent by asm and print traceid into /dev/null.
Begin / Endlife cycle of thetrace- When trace is dispatched into another thread,
begin / endlife cycle of therunnable execution.