# Metricbeat Prometheus and cAdvisor

**URL:** <https://discuss.elastic.co/t/metricbeat-prometheus-and-cadvisor/174786>\
**Category:** Beats\
**Tags:** metricbeat\
**Created:** [April 1, 2019, 1:04pm UTC](https://discuss.elastic.co/t/metricbeat-prometheus-and-cadvisor/174786 "2019-04-01T13:04:53Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![McElroy](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mcelroy/32/24639_2.png) [@McElroy](https://discuss.elastic.co/u/McElroy)\
**Post date:** [April 1, 2019, 1:04pm UTC](https://discuss.elastic.co/t/metricbeat-prometheus-and-cadvisor/174786/1 "2019-04-01T13:04:53Z")

</div>

Hi,

I let prometheus grab the data from cAdvisor and then I try to export the data to elasticsearch with metricbeat. I see some data but not everything, for example I am interested in the value container\_fs\_reads\_total but I fail to see it in Kibana.

heres my config:

```auto
metricbeat.config.modules:
  path: ${path.config}/modules.d/*.yml
  reload.enabled: false

processors:
- add_cloud_metadata: ~

output.elasticsearch:
  hosts: ["IP:9200"]

metricbeat.modules:
- module: prometheus
  metricsets: ["stats"]
  enabled: true
  period: 10s
  hosts: ["IP:9090"]

```

---

<div class="post-metadata">

**Author:** ![ruflin](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ruflin/32/3116_2.png) [@ruflin](https://discuss.elastic.co/u/ruflin)\
**Post date:** [April 8, 2019, 8:41am UTC](https://discuss.elastic.co/t/metricbeat-prometheus-and-cadvisor/174786/2 "2019-04-08T08:41:24Z")

</div>

Which Metricbeat version are you using? Could you share some of the events you are seeing?

---

<div class="post-metadata">

**Author:** ![McElroy](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mcelroy/32/24639_2.png) [@McElroy](https://discuss.elastic.co/u/McElroy)\
**Post date:** [April 8, 2019, 11:48am UTC](https://discuss.elastic.co/t/metricbeat-prometheus-and-cadvisor/174786/3 "2019-04-08T11:48:45Z")

</div>

i am using 6.7.0

I think I see the normal prometheus metrics, like everything starting with prometheus. Then some system fields, but I can't find any container metrics.

But it's very likely that I do something wrong.

---

<div class="post-metadata">

**Author:** ![ruflin](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ruflin/32/3116_2.png) [@ruflin](https://discuss.elastic.co/u/ruflin)\
**Post date:** [April 9, 2019, 8:33am UTC](https://discuss.elastic.co/t/metricbeat-prometheus-and-cadvisor/174786/4 "2019-04-09T08:33:02Z")

</div>

Ah, I think you are probably looking for the collector metricset and not the stats one: [https://www.elastic.co/guide/en/beats/metricbeat/current/metricbeat-metricset-prometheus-collector.html](https://www.elastic.co/guide/en/beats/metricbeat/current/metricbeat-metricset-prometheus-collector.html)

---

<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:** [May 7, 2019, 8:46am UTC](https://discuss.elastic.co/t/metricbeat-prometheus-and-cadvisor/174786/5 "2019-05-07T08:46:27Z")

</div>

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