getsentry / getsentry/sentry-java

Spring AI MCP Integration

未關閉
#5,233 2 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
Feature Java Platform: Java Traces
主要語言
Kotlin
星號
1.4k
分支
478
平均合併
2 天 22 小時
30 天內合併 PR
69

描述

### Problem Statement

We want to create an integration (or rather extend our Spring Boot integration) to instrument Spring Boot MCP servers (`spring-ai`).

### Solution Brainstorm

Likely we can use `BeanPostProcessor` to wrap `SyncToolSpecification`/`AsyncToolSpecification` beans and create spans in a wrapper.

Some parts will have to be restricted via `sendDefaultPii` option and maybe an additional `capturePromps` option.

More details tbd.

貢獻指南

開啟貢獻指南

研究方向

首先檢視現有的 Spring Boot 整合,以及用於包裝 SyncToolSpecification 和 AsyncToolSpecification Bean 的 BeanPostProcessor 方法。釐清 spans、sendDefaultPii 以及可能的 capturePromps 選項應如何運作;完成的條件是 Spring AI MCP 伺服器工具呼叫已依照議定的隱私控制進行插桩。

由索引模型根據 Issue 內容生成。

評估

技術堆疊
java, spring-boot
領域
backend, observability-sre
Issue 類型
功能
難度
4/5
預估耗時
3-5 天
活躍度
冷清
描述清晰度
需要釐清
新手友好度
35/100

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。