This label is set to 'true' on all master-eligible nodes and it gets the 
metrics for just the master nodes, not for other nodes. 

On Sunday, September 12, 2021 at 8:50:01 PM UTC-4 
[email protected] wrote:

>
>
> On 10.09.21 21:01, Johny wrote:
> > I am planning to run metric exporter on all master-eligible nodes in 
> > Elastic Search (3) for resiliency and also because masters have low 
> > footprint. The exporter fetches stats from local process and exports 
> > metrics for Prometheus to scrape.
>
> If you are using the most popular elasticsearch_exporter, I believe 
> filtering your metrics using something like this for any ES metrics, 
> should give you the current master metrics.
>
> {job="elasticsearch", es_master_node="true"}
>
> HTH,
> Sandip
>

-- 
You received this message because you are subscribed to the Google Groups 
"Prometheus Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/prometheus-users/41e17d8c-ad8b-4939-ae0c-23e82121c2fan%40googlegroups.com.

Reply via email to