Add the option to suppress 0 metrics from the logs

Description

Should be an option to suppress zero metrics. It should also possibly be an option for the metric. Needed to prevent the default esp metric logging from being overwhelming.

Conclusion

None

Activity

Show:

Gavin Halliday November 21, 2023 at 9:07 AM

Implementing the second one would be harder because you would need to record the previous value(s) for all metrics and compare them before outputting.  I am not sure how useful it would be, and should be considered/implemented separately because of the extra complication.

 

Ken Rowland November 20, 2023 at 5:36 PM

I was thinking of an option like this to reduce the output to the log files. I was considering two options:

First, as stated in this Jira, don't log any metrics that have yet to record a value.

Second, don't log metrics that have not changed since the last time logged. This would also reduce the output. Thoughts on this one?

Fixed
Pinned fields
Click on the next to a field label to start pinning.

Details

Components

Assignee

Reporter

Priority

Fix versions

Pull Request URL

Created November 13, 2023 at 12:11 PM
Updated December 7, 2023 at 3:58 PM
Resolved December 7, 2023 at 3:58 PM