Add metrics for log events #3150
Labels
enhancement
New feature or request
good first issue
Good for newcomers
lifecycle/frozen
monitoring
This primarily focuses on logs, metrics, and/or tracing
Different log levels are frequently not enabled when running in production due to processing costs. However, significant changes in the frequency of logs is unexpected. To enable monitoring of disabled logs, it would be nice to add a metric that records how frequently different log levels would be logged.
This interface defines the different log levels:
avalanchego/utils/logging/logger.go
Lines 21 to 41 in 318da00
It would be nice to add metrics here:
avalanchego/utils/logging/log.go
Lines 82 to 87 in 318da00
The text was updated successfully, but these errors were encountered: