[
https://issues.apache.org/jira/browse/BEAM-7438?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16861906#comment-16861906
]
Maximilian Michels commented on BEAM-7438:
------------------------------------------
Thanks for reporting [~rjbordon]. It looks to me that the metrics are correctly
reported but the Beam metric type for Gauge/Distribution is used which does not
allow the reported objects to be displayed correctly by the Flink web UI. From
the images it looks like the "text" representation works correctly but the plot
does not?
If this is what you want, there are two ways to go about this:
1) Set a {{toString()}} method for the Beam metric objects
2) Map the Beam concepts of Gauge/Distribution to Flink's equivalent.
> Distribution and Gauge metrics are not being exported to Flink dashboard
> neither Prometheus IO
> ----------------------------------------------------------------------------------------------
>
> Key: BEAM-7438
> URL: https://issues.apache.org/jira/browse/BEAM-7438
> Project: Beam
> Issue Type: Bug
> Components: runner-flink
> Affects Versions: 2.12.0
> Reporter: Ricardo Bordon
> Priority: Major
> Attachments: image-2019-05-29-11-24-36-911.png,
> image-2019-05-29-11-26-49-685.png
>
>
> Distributions and gauge metrics are not visible at Flink dashboard neither
> Prometheus IO.
> I was able to debug the runner code and see that these metrics are being
> update over *FlinkMetricContainer#updateDistributions()* andÂ
> *FlinkMetricContainer#updateGauges()* (meaning they are treated as "attempted
> metrics") but these are not visible when looking them over the Flink
> Dashboard or Prometheus. In the other hand, *Counter* metrics work as
> expected.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)