Skip to content

Commit f8a8541

Browse files
author
Stanislav Volovik
committed
Auto report zero value
1 parent 697074b commit f8a8541

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

lib/stackify/metrics/metrics_client.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -173,6 +173,7 @@ def handle_zero_reports current_time
173173
end
174174
agg_key = agg.aggregate_key
175175
unless @aggregate_metrics.has_key? agg_key
176+
agg.occurred_utc = current_time - 60
176177
agg.name_key = aggregate.name_key
177178
Stackify.internal_log :debug, 'Creating 0 default value for ' + agg_key
178179
@aggregate_metrics[agg_key] = agg

0 commit comments

Comments
 (0)