Kotlin Client Library

37 views
Skip to first unread message

Rafael Nicolau

unread,
Jul 9, 2025, 12:10:20 PMJul 9
to Prometheus Developers
Hello everyone!


Just wanted to share with the Prometheus team that I co-wrote a Prometheus Client Library in Kotlin, which is available on GitHub here.

While the official client_java library serves the JVM ecosystem well, we saw an opportunity to create a Kotlin-first alternative that takes advantage of the language’s strengths, particularly around coroutines and DSLs for a more idiomatic developer experience.

Our primary goals with this library were:

  • To provide seamless integration with Kotlin-native frameworks like Ktor, where the use of client_java can sometimes feel cumbersome due to Java interoperability limitations.

  • To offer a lightweight and expressive API tailored to Kotlin developers, while remaining fully compatible with Prometheus exposition formats and scraping mechanisms.

We’d love for the Prometheus team to take a look. If you believe it meets the standards and fills a gap in the ecosystem, it would be a huge honor for us to have it listed on the Prometheus instrumentation libraries page.

If that’s not feasible at the moment, we’d still greatly appreciate any feedback or suggestions for improvement that could help us align more closely with the community's expectations.

Thank you all in advance for your time and for the amazing work you've been doing. 



Reply all
Reply to author
Forward
0 new messages