Skip to content

Commit

Permalink
Merge pull request #12679 from chaochn47/backport_3.4_#12677
Browse files Browse the repository at this point in the history
[Backport-3.4] etcdserver/api/etcdhttp: log successful etcd server side health check in debug level
  • Loading branch information
gyuho authored Feb 9, 2021
2 parents a1c5f59 + f27ef4d commit 3be9460
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion etcdserver/api/etcdhttp/metrics.go
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ func checkHealth(srv etcdserver.ServerV2) Health {

if h.Health == "true" {
healthSuccess.Inc()
plog.Infof("/health OK (status code %d)", http.StatusOK)
plog.Debugf("/health OK (status code %d)", http.StatusOK)
} else {
healthFailed.Inc()
}
Expand Down

0 comments on commit 3be9460

Please sign in to comment.