I use Prometheus to gather k8s' resources. The resource data pipeline is as follows. k8s -> Prometheus -> Java app -> Elasticsearch -> (search) Java app
Here I have a question. Why use Prometheus? Wouldn't Prometheus not be necessary if it was stored in DB like me?
What is the most reasonable way to send k8s' resources directly to Elasticsearch?
One thing I will say is, currently the way Elasticsearch stores data compared to Prometheus, you'll see more data usage in Elasticsearch than you will in Prometheus. I believe Elastic is working on a TSDB implementation, which in theory should help close this gap though.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.