Join PromCon EU 2026 , the Prometheus users conference, on October 7–8, 2026 in Munich. The Call for Speakers  is open until July 19, 2026.
PromCon EU 2026  — Oct 7–8, Munich. CFP  open until July 19.

Client libraries

Before you can monitor your services, you need to add instrumentation to their code via one of the Prometheus client libraries. These implement the Prometheus metric types.

Choose a Prometheus client library that matches the language in which your application is written. This lets you define and expose internal metrics via an HTTP endpoint on your application’s instance:

Unofficial third-party client libraries:

When Prometheus scrapes your instance's HTTP endpoint, the client library sends the current state of all tracked metrics to the server.

If no client library is available for your language, or you want to avoid dependencies, you may also implement one of the supported exposition formats yourself to expose metrics.

When implementing a new Prometheus client library, please follow the guidelines on writing client libraries. Note that this document is still a work in progress. Please also consider consulting the development mailing list . We are happy to give advice on how to make your library as useful and consistent as possible.

On this page