thanks If relabel_configs is designed to be exposed, then the prohibition of setting authentication by relabel is a reasonable limitation. But in use, it would be nice to have a private_relabel_configs mechanism in the future
在2021年8月9日星期一 UTC+8 下午9:54:52<Brian Candler> 写道: > Note that you *can* use labels __metrics_path__, __scheme__ and > __param_XXX to override those parts of the scrape config per target, as > described here > <https://prometheus.io/docs/prometheus/latest/configuration/configuration/#relabel_config>. > > But not the authentication settings. -- You received this message because you are subscribed to the Google Groups "Prometheus Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/prometheus-users/9ae63219-c437-4207-b6f6-768e1caa5af1n%40googlegroups.com.

