I think you're referring to
prometheus.io.
It appears to be a service for monitoring metrics about your web application. There are
Java libraries available that help you instrument your code:
https://github.com/prometheus/client_java
I don't know what you mean by "push a text message to Prometheus". It's not a general purpose database. Please explain what you're trying to achieve.