项目作者: abargnesi

项目描述 :
Java agent for method call tracing (Java 11+).
高级语言: Java
项目地址: git://github.com/abargnesi/java-tracer.git
创建时间: 2020-12-28T02:24:44Z
项目社区:https://github.com/abargnesi/java-tracer

开源协议:

下载


java-tracer

Java agent for method call tracing (Java 11+).

ideas

Script argument (JSR223) that

  1. Filters classes/methods
  2. Maps runtime match
  3. Executes action

Maybe bundle Groovy JSR223 with agent?

Provide a CLI to write out Groovy script template.

Log agent filter, map, action with different levels for debugging script.

Glossary

  • Filter

    • Define types and methods to trace.
  • Map

    • Define which part of the match to yield.
  • Action

    • Define what to do with Trace Execution Data.
    • Examples:
      • log to slf4j, out/err, or file
  • Trace Execution Data

    • Data for a runtime trace that results from the Map.