Can we restrict Prometheus Metrics at Metricbeat?

Hi Team,

Currently we have configured Metricbeat to integrate Prometheus with ElasticSearch .We are getting around 1,50,000 metrics per minute frequency .

Currently we don't need all metrics so can we restrict Prometheus Metrics at Metricbeat ? or can filter metrics at Metricbeat level?

Regards,
Jalpesh

Hi!

For remote_write metricset it should be doable by defining a processor to drop metrics: https://www.elastic.co/guide/en/beats/metricbeat/current/drop-event.html

For collector metricset we have filtering configuration available: https://www.elastic.co/guide/en/beats/metricbeat/current/metricbeat-metricset-prometheus-collector.html#_filtering_metrics_2

C.

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