[jira] [Created] (FLINK-13496) Correct the documentation of Gauge metric initialization

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Created] (FLINK-13496) Correct the documentation of Gauge metric initialization

Shang Yuanchun (Jira)
Yun Tang created FLINK-13496:
--------------------------------

             Summary: Correct the documentation of Gauge metric initialization
                 Key: FLINK-13496
                 URL: https://issues.apache.org/jira/browse/FLINK-13496
             Project: Flink
          Issue Type: Bug
          Components: Documentation
            Reporter: Yun Tang
             Fix For: 1.9.0, 1.10


Current documentation of [Gauge|https://ci.apache.org/projects/flink/flink-docs-stable/monitoring/metrics.html#gauge] set the value to expose as {{transient}}. However, this would let the initialization value {{valueToExpose}} within {{MyGauge}} as null on task manager side. This would actually mislead users who want to add customized gauge.



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)