A runtime statistic measures what an application runtime is doing and how hard it is working. Prometheus client libraries collect and expose these measurements through HTTP endpoints. section 9.2
Runtime statistics can reveal:
- Active goroutines in a Go application. section 9.2
- Memory used by the Java Virtual Machine in a Java application. section 9.2
- Whether containers are running hot through resource signals such as CPU time, memory, or processor threads. section 9.2
Inspecting runtime statistics
Start the image gallery application with Docker Compose, use the application, then browse to http://localhost:8010/metrics. Java metrics are available at http://localhost:8011/actuator/prometheus. section 9.2
