Automatic Microservices Observability with Programming Language: Ballerina
summary
Builds a Ballerina HTTP location service that calls Google Geolocation and Geocoding APIs, adds an in‑memory cache then a MySQL-backed cache, and shows that the runtime automatically emits metrics and traces without extra code. Exposes a Prometheus endpoint for metrics, sends OpenTelemetry/Jaeger traces that include client and DB spans, and surfaces SQL queries and latency. Visualizes flows as a Choreo sequence diagram. Observed success rate jumps from 67% to 75% after cache warmup, and everything works end to end.
AI-written summary · about
chapters (11)
- 0:00Introduction
- 0:51Agenda
- 5:05Services
- 8:15Observability
- 11:30Data Source Dashboard
- 18:08Main Scenario
- 20:05Location
- 25:20Cache
- 33:00Observability Provider
- 33:35Observability Cloud
- 40:35Additional Resources
related talks
25mAutomatic Microservices Observability with Open-Source Progr
31mIntroducing Ballerina: A Pragmatic Programming Language
28mMonitoring Microservices w. Prometheus & Tracing Apps w. OpenTracing
33mEffective observability in microservice architectures
04mObservability in micro-service architectures
48mPerformance testing of microservices in action
01h 05mModern Observability and Event Driven Architectures
32mUsing OpenTelemetry in a polyglot environment
