Grokking the Model Context Protocol (MCP)
Vote

0% completed

​

Observability: Traces, Metrics, and Hidden Errors

Suppose the Costbook dashboard shows this line for the last hour.

costbook-mcp POST /mcp requests 48,210 2xx 100.0% 5xx 0.0% p95 310 ms

During that hour, every call to export_report failed. Here is one of the responses that the dashboard counted as a success.

HTTP/1.1 200 OK content-type: application/json {"jsonrpc":"2.0","id":7,"result":{"content":[{"text":"Error executing tool export_report: Export failed: the reports service is unavailable. Try again later.","type":"text"}],"isError":true,"resultType":"complete"}}

.....

.....

.....

Like the course? Get enrolled and start learning!

Reading Progress

0%


Vote for new content