I am currently making a POC with Metricbeat. My goal is to scrape Pormetheus metrics and send them over to the ELK Stack.
Currently I am running into an Error, which I can not solve, namely "Unable to decode response from prometheus endpoint"
Basically I have a Prometheus Server in the Cloud. I try to access the Prometheus metrics via Metricbeat, which is running local in a docker container
( docker run --net=host -v ~/Metricbeat/metricbeat.yml:/usr/share/metricbeat/metricbeat.yml docker.elastic.co/beats/metricbeat:7.2.0)
with a custom YML which sends the data then to elasticsearch and Kibana.
what gets to elasticsearch
Here are some meticbeat logs
Do you guys maybe have an Idea, how i can solve this problem or is it bug from Prometheus/ Metricbeat side?