flink-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sohimankotia <sohimanko...@gmail.com>
Subject Custom Gauge Metric is not getting updated on Job Dashboard
Date Tue, 20 Jun 2017 10:12:14 GMT
I was testing flink Gauge metric in my flat map function . I was just sending
a value (end time -start time ) of a DB Op in Flatmap . But on dashboard is
only showing first value instead of updated value .

I am using following code in my flat map .

getRuntimeContext()
    .getMetricGroup()
    .gauge("DBOpInSec", (Gauge<String>) () -> String.valueOf(
(endTime-startTime)/1000 )); 





--
View this message in context: http://apache-flink-user-mailing-list-archive.2336050.n4.nabble.com/Custom-Gauge-Metric-is-not-getting-updated-on-Job-Dashboard-tp13842.html
Sent from the Apache Flink User Mailing List archive. mailing list archive at Nabble.com.

Mime
View raw message