Metric endpoint
A metric endpoint is a network-accessible interface that exposes machine-readable measurements of an application or system for collection by clients or monitoring systems.
Machine Learning Platform Engineering
A metrics endpoint is an HTTP endpoint that exposes an application's operational measurements for collection by a monitoring system.
- How it is used
- Connects application instrumentation to Prometheus collection, Grafana dashboards, and Alertmanager-based operational alerting.
- How deep it goes
- Explains endpoint exposure, exporter integration, scraping configuration, and querying, but stops short of detailed metric design.
- Examples
- Uses FastAPI with Starlette Exporter and shows BentoML's automatically generated request-rate and latency metrics.
- What you can do after
- Operate/configure Prometheus observability by exposing, scraping, querying, and visualizing application metrics.
Read how Machine Learning Platform Engineering explains metric endpoint →
ScyllaDB in Action
A metrics endpoint is an API access point that exposes a system's measurable operational data for collection.
- How it is used
- Supports Prometheus collection of Scylla node metrics for monitoring database behavior.
- How deep it goes
- Explains scraping, ingestion, and querying, but stops short of detailing endpoint implementation.
- Examples
- Uses read latency, reads in progress, compactions, and labeled cache-insertion counters.
- What you can do after
- Operate Prometheus collection by configuring hosts and verifying that monitoring targets are online.
Spring AI in Action
A metrics endpoint is an HTTP endpoint that exposes named application measurements and their associated statistics and tags.
- How it is used
- Enables operational visibility into generative AI calls, vector-store activity, token usage, counts, and timing.
- How deep it goes
- Explains dependency setup, endpoint exposure, HTTP inspection, measurements, and tag filtering, but defers dashboard construction and tracing.
- Examples
- Uses Board Game Buddy, /ask, vector-store operations, OpenAI chat and embedding calls, HTTPie requests, and JSON metric responses.
- What you can do after
- Operate and diagnose AI applications by enabling Actuator metrics, querying named endpoints, and filtering measurements with tags.
Learn Docker in a Month of Lunches, Second Edition
A metrics endpoint is an interface that exposes the current measurements of a system or application in a machine-readable format.
- How it is used
- Connects applications and infrastructure to Prometheus-based monitoring by exposing measurements for scheduled collection.
- How deep it goes
- Explains endpoint configuration, scraping, target verification, and querying, but does not require source-code changes.
- Examples
- Uses Docker's /metrics endpoint, an application's /metrics URL, Prometheus queries, and a to-do list dashboard.
- What you can do after
- Operate Prometheus and Grafana to collect, inspect, query, and dashboard application or infrastructure measurements.
Read how Learn Docker in a Month of Lunches, Second Edition explains metric endpoint →
Related concepts
- Prometheusused by · Prometheus is an open-source monitoring and alerting system that collects, stores, and queries time-series metrics.
- Spring Boot Actuatorused by · Spring Boot Actuator is a Spring Boot module that provides production-oriented monitoring, management, operational, and application-metric endpoints.
- application propertiesconfigured by · Application properties are named configuration settings that provide values used to configure an application's behavior.
- HTTP GETuses · HTTP GET is a request method for retrieving a representation of a resource identified by the request target, without requesting a state change.
- Actuator endpointkind of · An Actuator endpoint is a Spring Boot Actuator management interface that exposes operational data or operations through supported communication mechanisms.
- Spring Boot Adminused by · Spring Boot Admin is a web application for monitoring and managing Spring Boot applications through their Actuator endpoints.
These guides are generated from the text of Manning books by Manning's knowledge graph and link to the sections they draw on. The full books are available on liveBook and at manning.com.



