Re: Question Concerning Custom Metrics and Timers

2017-07-10 Thread Jeremiah Adams
Thanks for the info Jagdish. Jeremiah Adams Software Engineer www.helixeducation.com Blog | Twitter | Facebook | LinkedIn From: Jagadish Venkatraman Sent: Friday, July 07, 2017 6:49 PM To: dev@samza.apache.org Subject: Re: Question Concerning Custom

Re: Question Concerning Custom Metrics and Timers

2017-07-07 Thread Jagadish Venkatraman
Hey Jeremiah, The "timer" metric in Samza maintains a sliding window of its data points. Each time you invoke timer.update(val), a data-point gets added to the sliding window. The reported value of a timer metric is the average of all data points in the window. In contrast, the "gauge" metric alw

Question Concerning Custom Metrics and Timers

2017-07-07 Thread Jeremiah Adams
I am making early attempts at gathering metrics around methods and sql calls. I am using the Snapshot Reporter to send metrics to a kafka topic. The docs state that metrics are sent to kafka every 60 seconds (https://samza.apache.org/learn/documentation/latest/container/metrics.html). When I