Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(bug): Update logging for uninitialized VFP stats from warn to deb…
…ug (#958) # Description Add node level metric for no VFPCounters. Tested the new metric works by calling the metrics endpoint inside the node of the windows retina pod: ``` curl.exe http://10.224.0.9:10093/metrics ... # HELP networkobservability_windows_hns_stats Include many different metrics from packets sent/received to closed connections # TYPE networkobservability_windows_hns_stats gauge networkobservability_windows_hns_stats{direction="win_packets_recv_count"} 12 networkobservability_windows_hns_stats{direction="win_packets_sent_count"} 84 # HELP networkobservability_windows_vfp_stats Include many different metrics from packets sent/received to closed connections # TYPE networkobservability_windows_vfp_stats gauge networkobservability_windows_vfp_stats{state="uninitialized"} 36 ``` ## Related Issue #933 ## Checklist - [x] I have read the [contributing documentation](https://retina.sh/docs/contributing). - [x] I signed and signed-off the commits (`git commit -S -s ...`). See [this documentation](https://docs.github.com/en/authentication/managing-commit-signature-verification/about-commit-signature-verification) on signing commits. - [x] I have correctly attributed the author(s) of the code. - [x] I have tested the changes locally. - [x] I have followed the project's style guidelines. - [x] I have updated the documentation, if necessary. - [x] I have added tests, if applicable. ## Screenshots (if applicable) or Testing Completed Please add any relevant screenshots or GIFs to showcase the changes made. ## Additional Notes The metric was generated as it brought outside the conditional statement for testing purposes only, i.e. metric can be compiled and incremented. --- Please refer to the [CONTRIBUTING.md](../CONTRIBUTING.md) file for more information on how to contribute to this project.
- Loading branch information