Revert "switch from warning to debug when upstream labels are empty (#724)" by lucacome · Pull Request #781 · nginx/nginx-prometheus-exporter (original) (raw)
Proposed changes
This reverts commit d3f9f94.
The commit changed the level for all labels and not just upstream, but in any case, we don't want to suppress the warnings, we want to notify the user of the library that the labels are not configured correctly.
If for some reason the warning wants to be ignored, it's always possible to set the level on the client side.
Checklist
Before creating a PR, run through this checklist and mark each as complete.
- I have read the CONTRIBUTING guide
- I have proven my fix is effective or that my feature works
- I have checked that all unit tests pass after adding my changes
- I have ensured the README is up to date
- I have rebased my branch onto main
- I will ensure my PR is targeting the main branch and pulling from my branch on my own fork