Save Money on AI: How to Track Token Usage with Spring Boot, Prometheus and Grafana

Save Money on AI: How to Track Token Usage with Spring Boot, Prometheus and Grafana

Dan Vega via YouTube Direct link

22:15 - Testing API Calls and Viewing Metrics

9 of 12

9 of 12

22:15 - Testing API Calls and Viewing Metrics

Class Central Classrooms beta

YouTube videos curated by Class Central.

Classroom Contents

Save Money on AI: How to Track Token Usage with Spring Boot, Prometheus and Grafana

Automatically move to the next video in the Classroom when playback concludes

  1. 1 00:00 - Introduction to the Token Usage Problem
  2. 2 02:35 - Observability Tools Overview Spring Boot Actuator, Prometheus, Grafana
  3. 3 05:49 - System Architecture Explanation
  4. 4 08:12 - Setting Up the Project with Start.Spring.io
  5. 5 11:04 - Docker Configuration for Prometheus and Grafana
  6. 6 14:30 - Spring Boot Application Properties Configuration
  7. 7 17:21 - Creating a Simple Chat Controller
  8. 8 19:32 - Running the Application and Checking Actuator Endpoints
  9. 9 22:15 - Testing API Calls and Viewing Metrics
  10. 10 25:48 - Exploring the Grafana Dashboard
  11. 11 29:10 - Customizing Your Own Dashboards
  12. 12 31:45 - Conclusion and Best Practices

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.