diff --git a/embed/etcd.go b/embed/etcd.go index f59b9640be83..ddbbd4123b23 100644 --- a/embed/etcd.go +++ b/embed/etcd.go @@ -765,6 +765,12 @@ func (e *Etcd) serveMetrics() (err error) { tlsInfo := &e.cfg.ClientTLSInfo if !e.cfg.MetricsTLSInfo.Empty() { tlsInfo = &e.cfg.MetricsTLSInfo + msg := "ignoring client certificates for additional metrics and health endpoints since metrics certificates given" + if e.cfg.logger != nil { + e.cfg.logger.Warn(msg) + } else { + plog.Warningf(msg) + } } if murl.Scheme == "http" { tlsInfo = nil