Skip to content

Commit 24e5cea

Browse files
committed
update changeset. Use empty string instead of none
1 parent 3cc27e3 commit 24e5cea

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
### feat: Add mcp-session-id header to HTTP request trace attributes
1+
### feat: Add mcp-session-id header to HTTP request trace attributes - @swcollard PR #421
22

33
Includes the value of the [Mcp-Session-Id](https://modelcontextprotocol.io/specification/2025-06-18/basic/transports#session-management) HTTP header as an attribute of the trace for HTTP requests to the MCP Server

crates/apollo-mcp-server/src/server/states/starting.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,7 @@ impl Starting {
222222
"mcp_server",
223223
method = %request.method(),
224224
uri = %request.uri(),
225-
session_id = %request.headers().get("mcp-session-id").and_then(|v| v.to_str().ok()).unwrap_or("none"),
225+
session_id = %request.headers().get("mcp-session-id").and_then(|v| v.to_str().ok()).unwrap_or(""),
226226
status_code = tracing::field::Empty,
227227
)
228228
})

0 commit comments

Comments
 (0)