Add observability module: Spring AI built-in meters and spans, cost per endpoint from token usage, Prometheus and Grafana dashboard

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01JXVi2GMQ7bR5EmbUFdDj7N
This commit is contained in:
Claude
2026-10-09 06:39:21 +00:00
parent 65f580c5bc
commit cc2a1b8bcb
45 changed files with 1731 additions and 0 deletions
@@ -0,0 +1,7 @@
# Where does the prompt text "ticket-4711-card-ending-0042" appear in telemetry?
setting log lines with it / span attributes with it / span events with it
defaults 0 / 0 / 0
spring.ai.chat.observations.log-prompt=true (+ client) 1 / 0 / 0
span attributes carrying the text when enabled: []