[jira] [Created] (FLINK-4920) Add a Scala Function Gauge

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

[jira] [Created] (FLINK-4920) Add a Scala Function Gauge

Shang Yuanchun (Jira)
Stephan Ewen created FLINK-4920:
-----------------------------------

             Summary: Add a Scala Function Gauge
                 Key: FLINK-4920
                 URL: https://issues.apache.org/jira/browse/FLINK-4920
             Project: Flink
          Issue Type: Improvement
          Components: Metrics, Scala API
            Reporter: Stephan Ewen


A useful metrics utility for the Scala API would be to add a Gauge that obtains its value by calling a Scala Function0.

That way, one can add Gauges in Scala programs using Scala lambda notation or function references.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)