Skip to content

Commit

Permalink
fix(sparkJobs): make DS-job metrics serializable (#1736)
Browse files Browse the repository at this point in the history
  • Loading branch information
alextheimer authored Mar 7, 2024
1 parent 969589b commit e8dde1c
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit e8dde1c

Please sign in to comment.