Prometheus exposition format
The Prometheus exposition format is a text-based standard for representing metrics, labels, values, and metadata for collection by monitoring systems.
Cloud Observability in Action
The Prometheus exposition format is a text-based format for representing metrics and their labels for collection by monitoring systems.
- How it is used
- Uses a standardized wire representation for exposing metrics that agents can scrape for dashboards, alerts, and operational assessment.
- How deep it goes
- Explains representation and scrape flow, but stops short of a complete exposition grammar or detailed label-handling rules.
- Examples
- Shows front-end service output and Kubernetes API-server metrics, including counters, histograms, help text, types, and labels.
- What you can do after
- Operate/configure metric collection by inspecting /metrics endpoints, querying Kubernetes raw metrics, and selecting useful signals for retention.
Read how Cloud Observability in Action explains Prometheus exposition format →
Learn Docker in a Month of Lunches, Second Edition
Prometheus format is a text-based exposition format in which named metrics are represented with values, help text, and data types.
- How it is used
- Supports exposing Docker and container metrics for Prometheus-based monitoring.
- How deep it goes
- Defines the text structure and collection workflow but stops short of specifying the complete format grammar.
- Examples
- Uses Docker’s port 9323 endpoint, the metrics-addr setting, and sample metrics exposed through the HTTP API.
- What you can do after
- Operate Docker metrics export and verify the resulting endpoint before connecting Prometheus.
Read how Learn Docker in a Month of Lunches, Second Edition explains Prometheus exposition format →
Related concepts
- Dockerproduced by · Docker is a platform and ecosystem for building, distributing, and running applications in containers.
- OpenMetricsalternative to · OpenMetrics is an open standard defining a text-based format for exposing metrics and associated metadata such as exemplars.
- Kubernetesused by · Kubernetes is an open-source platform for orchestrating and automating the deployment, scaling, and management of containerized workloads across computing clusters.
- Prometheusproduced by · Prometheus is an open-source monitoring and alerting system that collects, stores, and queries time-series metrics.
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.

