Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

style: improving Debug Log Clarity and Reducing Noise #2795

Merged
merged 2 commits into from
Apr 1, 2024
Merged

Conversation

rahulguptajss
Copy link
Contributor

Based on the logs shared by Tony earlier, found that the following logs are being generated frequently and do not seem useful at the debug level.

2516825 nabox-harvest2 | 2024-03-12T08:17:11Z DBG disk/disk.go:901 > failed to parse value error="strconv.ParseFloat: parsing "-": invalid syntax" Poller=metricKey=fan-rpm object=Disk plugin=ZapiPerf:Disk value=-
569724 nabox-harvest2 | --- DBG --- > --- --- data --- --- --- --- ---
417831 nabox-harvest2 | 2024-03-12T08:15:57Z DBG zapiperf/zapiperf.go:1669 > instances Poller=collector=ZapiPerf:FCVI new=0 removed=0 total=0
261276 nabox-harvest2 | --- DBG --- > --- --- --- --- --- ---
131129 nabox-harvest2 | 2024-03-12T08:15:59Z DBG collector/collector.go:509 > skipped non-exportable data Poller=UUID=Rest collector=Rest:Health object=health
102820 nabox-harvest2 | 2024-03-12T08:15:56Z DBG poller/poller.go:493 > exporter (nabox-prometheus) status: (0 - up) initialized Poller=
101148 nabox-harvest2 | 2024-03-12T08:16:57Z DBG volume/volume.go:129 > extracted 0 flexgroup volumes Poller=object=Volume plugin=ZapiPerf:Volume
47628 nabox-harvest2 | 2024-03-12T08:15:56Z DBG svm/svm.go:128 > Failed to collect audit protocols error="no instances => no records found" Poller=object=SVM plugin=Zapi:SVM
35907 nabox-harvest2 | 2024-03-12T08:15:56Z DBG zapiperf/zapiperf.go:1194 > Adding missing base counter Poller=collector=ZapiPerf:HeadroomAggr name=current_utilization_total
33806 nabox-harvest2 | 2024-03-12T08:15:56Z DBG aggregate/aggregate.go:54 > Failed to collect cloud store data error="no instances => no records found" Poller=object=Aggregate plugin=Zapi:Aggregate
33565 nabox-harvest2 | 2024-03-12T08:15:57Z DBG qtree/qtree.go:203 > no quota instances found Poller=object=Qtree plugin=Zapi:Qtree
23354 nabox-harvest2 | --- DBG --- > --- --- --- --- --- ---
20639 nabox-harvest2 | 2024-03-12T08:15:56Z DBG collector/collector.go:354 > handling error during [data] poll... Poller=collector=Zapi:CloudTarget
17414 nabox-harvest2 | 2024-03-12T08:15:50Z DBG zapiperf/zapiperf.go:344 > using batch_size = [500] (default) Poller=collector=ZapiPerf:NFSv4
16898 nabox-harvest2 | 2024-03-12T08:16:00Z DBG ems/ems.go:363 > starting data poll Poller=collector=Ems:Ems

@cgrinds cgrinds merged commit c8c7eb7 into main Apr 1, 2024
10 checks passed
@cgrinds cgrinds deleted the rg2-debug branch April 1, 2024 11:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants