[
https://issues.apache.org/jira/browse/FLINK-9187?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16443758#comment-16443758
]
ASF GitHub Bot commented on FLINK-9187:
---------------------------------------
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
> add prometheus pushgateway reporter
> -----------------------------------
>
> Key: FLINK-9187
> URL: https://issues.apache.org/jira/browse/FLINK-9187
> Project: Flink
> Issue Type: New Feature
> Components: Metrics
> Affects Versions: 1.4.2
> Reporter: lamber-ken
> Priority: Minor
> Labels: features
> Fix For: 1.5.0
>
>
> make flink system can send metrics to prometheus via pushgateway.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)