{"ref":"content:zero-code-tracing-in-sap-cap-java-with-the-opentelemetry-java-agent","page":"/content/zero-code-tracing-in-sap-cap-java-with-the-opentelemetry-java-agent","json":"/content/zero-code-tracing-in-sap-cap-java-with-the-opentelemetry-java-agent.json","generated":"2026-11-09","drafted_with_ai":true,"entity":{"id":"zero-code-tracing-in-sap-cap-java-with-the-opentelemetry-java-agent","title":"Zero-Code Tracing in SAP CAP Java with the OpenTelemetry Java Agent","url":"https://community.sap.com/t5/technology-blog-posts-by-sap/zero-code-tracing-in-sap-cap-java-with-the-opentelemetry-java-agent/ba-p/14457557","content_type":"blog","published_on":"source:sap-community","explains":["capability:telemetry"],"summary":"Walks through attaching the OpenTelemetry Java Agent to an unmodified SAP CAP Java bookshop service at startup, with no dependency or code change, and shows the resulting trace for a POST to the Books entity: one Trace ID correlating spans across the HTTP layer, a CAP-level CQN INSERT span, and the underlying JDBC INSERT, each with its Span ID and captured attributes. The agent is configured to export only traces (metrics and logs disabled) via JVM arguments, demonstrating that distributed tracing can be added to a CAP Java application purely through runtime instrumentation.","author":"Anjali_Pathak","published":"2026-08-10","provenance":{"discovered_via":[{"source":"source:sap-community","channel":"cap-tag"}],"first_seen":"2026-11-01"},"drafted_with_ai":true},"readings":{"liveness":[{"label":"Checked against the source","tier":"unknown","evidence":"nobody has checked it"},{"label":"Source reachable","tier":"unknown","evidence":"not crawled"},{"label":"Age","tier":"good","evidence":"published 3 months ago"}],"compatibility":[{"label":"Version","tier":"unknown","evidence":"no version declared"},{"label":"Moved since?","tier":"good","evidence":"no recorded change after 2026-08-10"},{"label":"Findings","tier":"good","evidence":"none flagged"}],"reach":[{"value":null,"unit":"views"},{"value":null,"unit":"comments"},{"value":null,"unit":"likes"}]},"signals":null,"series":null,"edges":{"authors":[]}}