# Drop of some of the Prometheus based metrics at metric beat end

**URL:** <https://discuss.elastic.co/t/drop-of-some-of-the-prometheus-based-metrics-at-metric-beat-end/306846>\
**Category:** Metrics\
**Created:** [June 10, 2022, 5:22am UTC](https://discuss.elastic.co/t/drop-of-some-of-the-prometheus-based-metrics-at-metric-beat-end/306846 "2022-06-10T05:22:16Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sagar\_Parmar](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/sagar_parmar/32/106862_2.png) [@Sagar\_Parmar](https://discuss.elastic.co/u/Sagar_Parmar)\
**Post date:** [June 10, 2022, 5:22am UTC](https://discuss.elastic.co/t/drop-of-some-of-the-prometheus-based-metrics-at-metric-beat-end/306846/1 "2022-06-10T05:22:16Z")

</div>

Hi Team,

I followed your document to get prometheus metrics in elasticsearch using metricbeat. But metricbeat is not showing all metrics on kibana dashboard.

Below is Prometheus metrics

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/0/c/0ce59045bc3a00833fb0339046c70aaf592f6f7d.png)

On a metricbeat side It is only showing one metrics not its subset.

Metric Beat is showing only one metric. Below is the screenshot.

 ![image (1)](https://us1.discourse-cdn.com/elastic/original/3X/7/1/71716b20447ca816337effb47b76255c34038733.png)

Below is the module which I am using to fetch the prometheus metric.

Module is

```auto
  prometheus.yml: |-
    - module: prometheus
      period: 10s
      metricsets: ["collector"]
      hosts: ["ingress-kong.kong:8100"]
      metrics_path: /metrics
      headers:
        accept: "text/plain"

```

---

<div class="post-metadata">

**Author:** ![matschaffer](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/matschaffer/32/95396_2.png) [@matschaffer](https://discuss.elastic.co/u/matschaffer)\
**Post date:** [July 4, 2022, 6:51am UTC](https://discuss.elastic.co/t/drop-of-some-of-the-prometheus-based-metrics-at-metric-beat-end/306846/2 "2022-07-04T06:51:29Z")

</div>

Hi Sagar,

Just a couple ideas:

Have you checked the metricbeat logs for errors?

Any chance something is setting [`metrics_filters`](https://www.elastic.co/guide/en/beats/metricbeat/current/metricbeat-metricset-prometheus-collector.html#_filtering_metrics_2) causing only certain fields to get included?

I haven't had any trouble using the prometheus integration via elastic agent to ingest multiple metrics, but if there was some problem I would expect it to show up in the collector logs (agent in my case, metricbeat in yours).

---

<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:** [August 1, 2022, 6:52am UTC](https://discuss.elastic.co/t/drop-of-some-of-the-prometheus-based-metrics-at-metric-beat-end/306846/3 "2022-08-01T06:52:17Z")

</div>

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