WM

wb04307201/methodtracelog

Developer tools

이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기

48 stars 1 forks 품질 73 트렌드 37Apache-2.0

Non-intrusive AOP 방법 추적 + 추적 트리 + 스프링 부팅 경고. 독립 MCP 서버(`methodTraceLog-mcp`])를 포함하여, AI 에이전트에 동일한 기능을 stdio에 노출합니다.

개요

Non-intrusive AOP 방법 추적 + 추적 트리 + 스프링 부팅 경고. 독립 MCP 서버 (methodTraceLog-mcp)를 포함하여, 동일한 기능을 AI 에이전트에 노출시킵니다. http://localhost:8080/methodTraceLog/panel - 4개의 탭을 가진 단 하나 페이지: over(overview) / ☸(trace search + export) / 日星件(file viewer + 실시간 꼬리) / (CFR decompile). 모든 경로는 security.api-key가 비empty, /methodTraceLog/panel (HTML)일 때 X-Api-Key (또는 MTRACE SESSION Cookies)가 필요합니다. LogAspect는 SLF4J MDC에 traceid/spanid/pspanid를 둡니다. 로그백 패턴에서 호출 체인의 로그를 correlate: HTTP 경계를 위해, TraceContextFilter는 길에 traceparent를 읽습니다, 그리고 나머지 클라이언트 interceptor는 밖으로 방법에 그것을 씁니다 — 상류 및 하류 traceids는 자동적으로 결합합니다. 보안 때.

개요(AI 번역)

Korean | 한국어

Non-intrusive AOP 방법 추적 + 추적 트리 + 스프링 부팅 경고. 독립 MCP 서버(methodTraceLog-mcp])를 포함하여, AI 에이전트에 동일한 기능을 stdio에 노출합니다.


특징

인포메이션 |—||| |Method tracing | AOP 기반, traceid / spanid] / pspanid; 샘플링; @AspectLog] 디스플레이 이름을 과도하게 하려면 | |Metrics | Micrometer Timer 방식 + 부모/아이 [T6]] 트리에 노출 [T7] | |로그 파일 뷰어 | 읽기 / 필터 / 다운로드 로그 파일; WebSocket live tail; path-traversal safe | |CFR decompile | 클래스의 HTTP 엔드포인트(app / 3rd-party / fat-jar 배열), annotations stripped | |OTel Export | Auto-bridges 추적 이벤트 OpenTelemetry OTLP/HTTP when opentelemetry-sdk]은 classpath에 있습니다 | |W3C traceparent | 자동 주입 / 추출 traceparent HTTP 인바운드 및 [T10] 인바운드 인바운드 인바운드 인바운드 인바운드 인바운드 인바운드 인바운드 인바운드 인바운드 인바운드 인바운드 인바운드 인바운드 인바운드 인바운드 인바운드 인바운드 인바운드 인바운드 인바운드 인바운드 인바운드 인바운드 인바운드 인바운드 인바운드 인바운드 인바운드 인바운드 인바운드 인바운드 인바운드 인바운드 인바운드 인바운드 인바운드 인바운드 인바운드 인바운드 인바운드 인바운드 인바운드 인바운드 인바운드 인바운드 인바운드 인바운드 인바운드 인바운드 인바운드 인바운드 인바운드 인바운드 인바운드 인바운드 인바운 |쿠키 세션 | 브라우저 로그인 POST /methodTraceLog/login, HTTP X-Api-Key] CLI / MCP | | **MCP 서버 ** | 독립형 스트로디 프로세스; 15 도구, 멀티 호스트, HTTP를 통해 시작자에게 전달 |

이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요.

README

원문 README의 일부입니다. 원문 보기.

Method Trace Log

Non-intrusive AOP method tracing + trace tree + alerting for Spring Boot. Includes a standalone MCP server (methodTraceLog-mcp) that exposes the same capabilities to AI agents over stdio.


Features

Method tracing AOP-based, full call chain with traceid / spanid / pspanid; sampling; @AspectLog to override the display name
Metrics Micrometer Timer per method + parent/child MethodTraceInfo tree; exposed via actuator/methodtrace
Log file viewer Read / filter / download log files; WebSocket live tail; path-traversal safe
CFR decompile HTTP endpoint for any class on the classpath (app / 3rd-party / fat-jar nested), annotations stripped
OTel export Auto-bridges trace events to OpenTelemetry OTLP/HTTP when opentelemetry-sdk is on the classpath
W3C traceparent Auto-injects / extracts traceparent header for HTTP inbound and RestClient outbound
Cookie session Browser login via POST /methodTraceLog/login, HTTP X-Api-Key for CLI / MCP
MCP server Standalone stdio process; 15 tools, multi-host, forwards to your starter over HTTP

Quick Start

Add the dependency


    io.github.wb04307201
    methodTraceLog-spring-boot-starter
    1.1.0

Minimal configuration

method-trace-log:
  log:
    enable: true
  file:
    enable: true
    path: ./logs
  security:
    api-key: change-me-in-production   # required in production; empty disables auth (dev only)

management:
  endpoints:
    web:
      exposure:
        include: methodtrace           # for the /actuator/methodtrace panel data

Open the panel

http://localhost:8080/methodTraceLog/panel — single page with 4 tabs: 概览 (overview) / 调用记录 (trace search + export) / 日志文件 (file viewer + real-time tail) / 反编译 (CFR decompile).


Configuration Reference

method-trace-log:
  log:
GitHub에서 전체 README 보기

설치

This server does not publish a one-line install command.

Open the repository installation guide MCP 초보자라면? mcpskill.org 가이드부터 시작하세요 →

설정

{ "mcpServers": { "sql-forge-mcp": { "command": "jbang.cmd", "args": [ "io.github.wb04307201:methodTraceLog-mcp:1.1.0", "--method-trace-log.mcp.hosts[0].name=local-dev", "--method-trace-log.mcp.hosts[0].url=http://localhost:8080", "--method-trace-log.mcp.hosts[0].description=Local dev", "--method-trace-log.mcp.hosts[0].api-key=change-me-in-production" ] } } }