Github user lamber-ken commented on the issue:
https://github.com/apache/flink/pull/5857
for example,
#### Environment
- deploy flink job on hadoop yarn using `yarn-cluster` model
- prometheus collect metrics
because we use prometheus in production, so don't want to use graphite or
ganglia currently etc
#### if not use pushgateway
because using yarn-cluster model, so we can't know where the jobmanager on
which machine and
we can't to define the prometheus targets.

#### use pushgateway

#### prometheus pushgateway
although pushgateway has some
[limits](https://prometheus.io/docs/practices/pushing/) currently,
but it will meet our needs in the future
---