getsentry / getsentry/sentry-javascript
MCP Server - Trace propagation
Đang mở
Feature
javascript
- Ngôn ngữ chính
- TypeScript
- Star
- 8.7k
- Fork
- 1.8k
- Merge trung bình
- 1 ngày 17 giờ
- Pull request đã merge (30 ngày)
- 515
Mô tả
Use the `_meta` field in JSON-RPC messages for it. more on that in the [OTEL MCP draft spec](https://github.com/open-telemetry/semantic-conventions/blob/3097fb0af5b9492b0e3f55dc5f6c21a3dc2be8df/docs/gen-ai/mcp.md#context-propagation).
```
{
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"name": "get-weather",
"_meta": {
"traceparent": "00-4bf92f3577b34da6a3ce929d0e0e4736-00f067aa0ba902b7-01",
"tracestate": "rojo=00f067aa0ba902b7,congo=t61rcWkgMzE"
}
},
"id": 1,
}
```
Hướng dẫn đóng góp
Đánh giá
Issue này chưa được đánh giá.