I am looking for a way to decouple Prometheus from applications by putting a Kafka in between to achieve something like this:
+-------------+ +----------+ +--------------+
| Application +--metrics--->+ Kafka +------>+ Prometheus |
+-------------+ +----------+ +--------------+
In order to solve this problem I have two questions:
- Are there any Java libraries that abstract metrics representation so my app will not depend on Prometheus in any ways?
- Are there any reliable Kafka reporter?
Any comments or suggestions are welcome.