containerpope / nifi-prometheus-reporter

A reporting task in Nifi which is capable of sending monitoring statistics as prometheus metrics to a prometheus pushgateway.
Apache License 2.0
52 stars 32 forks source link

Pushgateway notification aware of cluster node id #2

Closed mikus closed 6 years ago

mikus commented 6 years ago

Current implementation does not allows to push metrics from multiple cluster nodes to the same pushgateway instance or rather allows but each nifi instance overrides data sent by others. This patch fixes this issue by using instance grouping key as it is recommended in pushgateway documentation.