A Prometheus client library records application metrics and exposes an HTTP endpoint that Prometheus can collect. Language-specific clients also export useful runtime data automatically. section 9.2
A client library can expose:
- Runtime-level metrics, such as active Go goroutines or Java virtual-machine memory usage. section 9.2
Inspecting application metrics
Start the image gallery stack with Docker Compose, use the application, and browse to its /metrics endpoint. Generate several requests, then inspect the endpoint again to see custom and runtime values.
