You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using UserMetricsSystem.counter("my-counter") for recording bad payloads. I can see that the metrics are being pushed every 10 seconds to InfluxDB.
I'm incrementing the counter continuously, after 10 sec the values are pushed to Influx without being reset for the next batch. With this behavior, I'm losing control over raw values which can be aggregated as per specified interval.
I'm initializing the metrics as follows - UserMetricsSystem.initialize(sparkSession.sparkContext(), Metrics.METRICS_NAMESPACE);
Any configs or add so that MetricsReporter resets the counters?
The text was updated successfully, but these errors were encountered:
I'm using
UserMetricsSystem.counter("my-counter")
for recording bad payloads. I can see that the metrics are being pushed every10 seconds
to InfluxDB.I'm incrementing the counter continuously, after 10 sec the values are pushed to Influx without being reset for the next batch. With this behavior, I'm losing control over raw values which can be aggregated as per specified interval.
I'm initializing the metrics as follows -
UserMetricsSystem.initialize(sparkSession.sparkContext(), Metrics.METRICS_NAMESPACE);
Any configs or add so that
MetricsReporter
resets the counters?The text was updated successfully, but these errors were encountered: