Relabel config and change __honor_labels__

Hi, how hard would it be to be able to also relabel the honor_labels just like the __metrics_path__?

Welcome to the community.

This is currently not possible, and I think we should not support it as it would enable targets to unexpectedly override any label, even if you do not want them to do so. Setting the parameter at the job level should be enough.

What is your usecase?

Hey, thanks for the quick answer.

As we’ve got one big scrape job coming from Consul, we are looking forward to abuse the relabel feature from the Consul metadata. It kind of made sense to not have that sensitive flag exposed for changes but I felt like asking didn’t hurt. We can totally live without that :slight_smile:

Cheers,