Prometheus Metrics data into ES via Metricbeats

Hi Team,

We are exporting Metrics data from Prometheus to ES via Metricbeat but when we see data in Kibana it's showing 1 minute interval data but scraping data time-frame is 10 seconds in Prometheus .

Is there any configuration in Metricbeat ?

Thanks & Regards,
Jalpesh

Hmmm, a couple of quick questions:

  1. What versions of Metricbeat, Elasticsearch, and Kibana are you running?

  2. Could you please post the results of the following query?

POST metricbeat-*/_search
{
  "query": {
    "bool": {
      "filter": {
        "term": {
          "event.module": "prometheus"
        }
      }
    }
  },
  "collapse": {
    "field": "event.dataset"
  },
  "sort": [
    {
      "@timestamp": {
        "order": "desc"
      }
    }
  ]
}

Hi Shaunak,

Issue got resolved , in Prometheus client changed metric scraping period from 10 seconds to 1 minute.

Thanks & Regards,
Jalpesh

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