toni-moreno / snmpcollector

A full featured Generic SNMP data collector with Web Administration Interface for InfluxDB
MIT License
286 stars 53 forks source link

[Feature Request ] Refactor old logrus logger to new more performant and structured logging framework #507

Open toni-moreno opened 2 years ago

toni-moreno commented 2 years ago

Could be nice if we can refactor all our old logging system based on logrus (already in maintenance mode) to new more performant logging framework like zerolog. ( https://github.com/rs/zerolog#benchmarks)

toni-moreno commented 2 years ago

This image suggests that the change would improve snmpcolllector global performance in time and memory usage (bytes allocated / objects allocations)

image