Prometheus Client Libraries must be used to add instrumentation code for monitoring applications.The official Prometheus libraries support different metric types that Prometheus understands.The primary metric types exposed by these libraries are Counter, Gauge, Summary, and Histogram.Each metric type has specific use cases and methods for tracking and monitoring different aspects of an application.