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:
@@ -0,0 +1,7 @@
|
||||
global:
|
||||
scrape_interval: 2s
|
||||
scrape_configs:
|
||||
- job_name: spring-ai-observability
|
||||
metrics_path: /actuator/prometheus
|
||||
static_configs:
|
||||
- targets: ["127.0.0.1:8080"]
|
||||
Reference in New Issue
Block a user