# Prometheus module remote\_write metricset

**URL:** <https://discuss.elastic.co/t/prometheus-module-remote-write-metricset/317114>\
**Category:** Elastic Agent\
**Created:** [October 20, 2022, 1:02pm UTC](https://discuss.elastic.co/t/prometheus-module-remote-write-metricset/317114 "2022-10-20T13:02:24Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![ChristianOelsner](https://avatars.discourse-cdn.com/v4/letter/c/d9b06d/32.png) [@ChristianOelsner](https://discuss.elastic.co/u/ChristianOelsner)\
**Post date:** [October 20, 2022, 1:02pm UTC](https://discuss.elastic.co/t/prometheus-module-remote-write-metricset/317114/1 "2022-10-20T13:02:24Z")

</div>

Hello,  
We are scraping metrics from some 30+ Kafka clusters running in Confluent Cloud.  
We are scraping the metrics api using prometheus.  
Prometheus is configured to remote\_write to an elastic agent running among others, the prometheus integration with remote\_write enabled.  
Metrics are comming in, and we can visualize them in Kibana. But there is a consistent delay of around 5 mins.  
In both Prometheus and Grafana there are no delays, so i am thinking it has to do with my remote write config in prometheus.  
The queue config is mortly set to the default settings as described in the prometheus docs.  
Is there something I can tweak on either the agent or in prometheus to eliminate this delay?

Best regards

Christian Oelsner

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [November 17, 2022, 1:02pm UTC](https://discuss.elastic.co/t/prometheus-module-remote-write-metricset/317114/2 "2022-11-17T13:02:51Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
