diff --git a/spark-jobs/src/main/scala/filodb/downsampler/chunk/DownsamplerMain.scala b/spark-jobs/src/main/scala/filodb/downsampler/chunk/DownsamplerMain.scala index c648da37d0..4ab48bd498 100644 --- a/spark-jobs/src/main/scala/filodb/downsampler/chunk/DownsamplerMain.scala +++ b/spark-jobs/src/main/scala/filodb/downsampler/chunk/DownsamplerMain.scala @@ -76,10 +76,10 @@ object DownsamplerMain extends App { class Downsampler(settings: DownsamplerSettings) extends Serializable { - lazy val exportLatency = + @transient lazy val exportLatency = Kamon.histogram("export-latency", MeasurementUnit.time.milliseconds).withoutTags() - lazy val numRowsExported = Kamon.counter("num-rows-exported").withoutTags() + @transient lazy val numRowsExported = Kamon.counter("num-rows-exported").withoutTags() /** * Exports an RDD for a specific export key.