Metricbeat Prometheus and cAdvisor


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:

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

- add_cloud_metadata: ~

  hosts: ["IP:9200"]

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

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

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.

Ah, I think you are probably looking for the collector metricset and not the stats one:

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