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.