Skip to main content
Loading navigation

Integrate OpenTelemetry for Observability

Prompt source

implementation1 lines1 sectionsNo variables0 checklist items
Instrument your Kong Gateway, MCP processing service, and Gemini API calls with OpenTelemetry. Ensure that traces capture the full request lifecycle, including distinct spans for each stage (gateway, MCP parsing, Gemini inference, MCP response serialization). Verify that relevant attributes (e.g., user_id, session_id, model_name) are attached to spans. Demonstrate this with the 'ObservabilityTrace' task.