@@ -48,7 +48,6 @@ describe('MCP Server Semantic Conventions', () => {
4848 expect ( startInactiveSpanSpy ) . toHaveBeenCalledWith ( {
4949 name : 'tools/call get-weather' ,
5050 op : 'mcp.server' ,
51- forceTransaction : true ,
5251 attributes : {
5352 'mcp.method.name' : 'tools/call' ,
5453 'mcp.tool.name' : 'get-weather' ,
@@ -82,7 +81,6 @@ describe('MCP Server Semantic Conventions', () => {
8281 expect ( startInactiveSpanSpy ) . toHaveBeenCalledWith ( {
8382 name : 'resources/read file:///docs/api.md' ,
8483 op : 'mcp.server' ,
85- forceTransaction : true ,
8684 attributes : {
8785 'mcp.method.name' : 'resources/read' ,
8886 'mcp.resource.uri' : 'file:///docs/api.md' ,
@@ -114,7 +112,6 @@ describe('MCP Server Semantic Conventions', () => {
114112 expect ( startInactiveSpanSpy ) . toHaveBeenCalledWith ( {
115113 name : 'prompts/get analyze-code' ,
116114 op : 'mcp.server' ,
117- forceTransaction : true ,
118115 attributes : {
119116 'mcp.method.name' : 'prompts/get' ,
120117 'mcp.prompt.name' : 'analyze-code' ,
@@ -145,7 +142,6 @@ describe('MCP Server Semantic Conventions', () => {
145142 expect ( startSpanSpy ) . toHaveBeenCalledWith (
146143 {
147144 name : 'notifications/tools/list_changed' ,
148- forceTransaction : true ,
149145 attributes : {
150146 'mcp.method.name' : 'notifications/tools/list_changed' ,
151147 'mcp.session.id' : 'test-session-123' ,
@@ -182,7 +178,6 @@ describe('MCP Server Semantic Conventions', () => {
182178 expect ( startInactiveSpanSpy ) . toHaveBeenCalledWith (
183179 expect . objectContaining ( {
184180 name : 'tools/list' ,
185- forceTransaction : true ,
186181 attributes : expect . objectContaining ( {
187182 'mcp.method.name' : 'tools/list' ,
188183 'mcp.request.id' : 'req-4' ,
@@ -218,7 +213,6 @@ describe('MCP Server Semantic Conventions', () => {
218213 expect ( startSpanSpy ) . toHaveBeenCalledWith (
219214 {
220215 name : 'notifications/message' ,
221- forceTransaction : true ,
222216 attributes : {
223217 'mcp.method.name' : 'notifications/message' ,
224218 'mcp.session.id' : 'test-session-123' ,
@@ -420,7 +414,6 @@ describe('MCP Server Semantic Conventions', () => {
420414 expect . objectContaining ( {
421415 name : 'tools/call weather-lookup' ,
422416 op : 'mcp.server' ,
423- forceTransaction : true ,
424417 attributes : expect . objectContaining ( {
425418 'mcp.method.name' : 'tools/call' ,
426419 'mcp.tool.name' : 'weather-lookup' ,
@@ -493,7 +486,6 @@ describe('MCP Server Semantic Conventions', () => {
493486 expect . objectContaining ( {
494487 name : 'prompts/get code-review' ,
495488 op : 'mcp.server' ,
496- forceTransaction : true ,
497489 attributes : expect . objectContaining ( {
498490 'mcp.method.name' : 'prompts/get' ,
499491 'mcp.prompt.name' : 'code-review' ,
0 commit comments