Let's Generate Art and Traces!
summary
A Spring Boot application stores prompts in Postgres, calls OpenAI via Spring AI to generate images, and saves results for display; the system uses three components (launcher, job workers, image DB) and runs on Kubernetes with Kubernetes batch jobs and RBAC roles for job creation. Observability uses auto and manual instrumentation via OpenTelemetry Java agent (buildpacks for image build) and exports traces to Grafana Tempo with Grafana/Loki/Mimir for visualization; demos show image storage working but tracing is intermittently missing and some pods crash.
AI-written summary · about
chapters (15)
- 0:00Introduction
- 0:20Demo app setup
- 3:09Observability pillars
- 4:33OpenTelemetry role
- 6:17Distributed tracing explained
- 7:24Grafana Tempo tools
- 8:07Demo repo branches
- 10:17Cloud Native Build Packs
- 12:23Manual instrumentation
- 14:56Demo issues
- 17:20Grafana tracing setup
- 20:29Exploring traces
- 21:54Troubleshooting permissions
- 23:06Generating traces
- 24:11Demo challenges
related talks
42mBootiful Spring AI
55mSpring into the AI Era: A Practical Exploration for Developers
01h 00mSpring AI
45mThe Overwhelmed Spring Developer's Guide To AI
50mModular RAG Architectures with Java and Spring AI
51mSupercharging Spring AI: Scalable AI Agents with Koog + Spring AI + Spring Boot
51mIntelligent Applications with Spring AI
40mRolling out Enterprise AI: Tools, Insights, & Team Empowerment
