[ 
https://issues.apache.org/jira/browse/NIFI-16298?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Alexander Bij updated NIFI-16298:
---------------------------------
    Priority: Minor  (was: Trivial)

> Expose Primary Node and Cluster Coordinator role as Prometheus metrics
> ----------------------------------------------------------------------
>
>                 Key: NIFI-16298
>                 URL: https://issues.apache.org/jira/browse/NIFI-16298
>             Project: Apache NiFi
>          Issue Type: Improvement
>          Components: Core Framework
>    Affects Versions: 2.11.0
>            Reporter: Alexander Bij
>            Priority: Minor
>              Labels: metric-collector, metrics, prometheus
>
> h2. Summary
> Improvement to be able to build a Grafana dashboard showing the Primary Node 
> and Cluster Coordinator based on the prometheus scrape.
> The Prometheus flow metrics endpoint 
> ({{{}/nifi-api/flow/metrics/prometheus{}}}) exposes cluster 
> membership/connectivity metrics, but nothing indicates which node currently 
> holds the Primary Node or Cluster Coordinator role. Building a "nodes in this 
> cluster" dashboard/table (one row per node, with its key stats) currently has 
> no way to mark which row is the Primary Node or the Cluster Coordinator 
> without querying NiFi's REST API separately and joining the data out-of-band.
> Suggestion to add:
>  * {{cluster_is_primary_node}}
>  * {{cluster_is_cluster_coordinator}}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to