Metrics¶
A service must expose enough run-time metadata to provide metrics about the health of the service, and to support public features. We recommend that you follow the Prometheus metrics format to collect metrics details about your services.
The service should follow these conventions:
- Expose metrics on a
/metrics
endpoint. - Support protobuf and plain text representations, based on the
Content-Type
that is passed in. - Follow the Prometheus best practices.