JavaStandalone

Observability with Oracle AI Database

Trace a Spring Boot WebMVC request through Oracle JDBC and Oracle AI Database, with UCP metrics, database metrics, logs, Grafana LGTM, and generated TLS certificates.

SpringObservability#Java#Observability#SpringBoot
What this sample helps you learn

This lab connects a small Spring Boot app to Oracle AI Database Free using UCP and the JDBC observability provider. Grafana LGTM receives application/JDBC traces, correlated Logback logs, HTTP/JVM/UCP metrics, and database metrics. Database-native span export is configured through `DBMS_OBSERVABILITY` and an HTTPS proxy (The database spans require HTTPS, hence the proxy for local Grafana LGTM).

What this sample demonstrates

Spring

Spring framework samples for data access, messaging, configuration, and application wiring.

Use when Java applications need Spring-managed components backed by Oracle AI Database.

Observability

Tracing and client metadata samples for following application work into database sessions.

Use when teams need to correlate HTTP, JDBC, JMS, and database activity during operations.