Just a correction, the data stream would be something like metrics-prometheus.remote_write-default , do you have anything like this?
If not, can prometheus reach the elastic agent port? Also, if I'm not wrong on the Host configuration of the integration you should use the IP address it will listen, normally you just use 0.0.0.0 to listen on all IP availables.
I figured it out, with both the kubernetes and prometheus integrations, the agent pods where hitting their memory limits and in went into a cycle of OOMKilled and restarts.
Had to limit them to 1.5G and they are using most of that.
Now the only issue I have is dropped data on the prometheus side but this is not an elastic issue.
msg="Error on ingesting samples with different value but same timestamp" component="scrape manager" scrape_pool=serviceMonitor/default/gitlab-webservice/0 target=http://172.32.1.6:8083/metrics num_dropped=1
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.