NVIDIA / gpu-monitoring-tools

Tools for monitoring NVIDIA GPUs on Linux
Apache License 2.0
1.02k stars 301 forks source link

FR: Expose option to use JSON logs #128

Open etherandrius opened 3 years ago

etherandrius commented 3 years ago

logrus allows JSON logs log.SetFormatter(&log.JSONFormatter{}) https://github.com/sirupsen/logrus. Would be nice if dcgm-exporter had a flag to expose JSON logs.